mouse wheel scroll in scroll window

2007-02-24 Thread Richard Gipps
I wish to use the wheel on the mouse to zoom in and out on my application. This application involves a scroll window, so I want normal scrolling action when the wheel is used on it's own or a zooming action when you press control and use the wheel. The problem is the scroll window seems to 'tak

gtk+ display image

2007-02-24 Thread lucks
hi...am a student and am building an interface using gtk for my project...but am having a problem in displaying an image...if someone could help me i would be much grateful...below is the code which i`ve used. please help me..thanks void on_bt_test_clicked (GtkButton *bu

How to emit the 'confirm-overwrite' to show the overwrite dialog?

2007-02-24 Thread Harm Hilvers
Hello everyone, Lately, I have been working on a patch for totem to improve the 'Save Playlist' dialog. A few hours ago, I posted this patch: http://bugzilla.gnome.org/attachment.cgi?id=83199. Since then I have been doing some cleanups, so my curr

manage a list

2007-02-24 Thread Jerome Le Saux
Hi all, I would like to use a list in a scrolling windows in a gtk2 application. My items are the following : int Item number | string name | string extension | int length I saw int he API website I can use GtkItem and GtkListStore. How can I store each item in a GtkItem and feed my GtkListStore

question about tabs on notebook

2007-02-24 Thread shawn bright
Hello there all, i am using GTK and glade to create a front end to our data engine. The thing is, it uses a notebook with 4 tabs. Is there any way I can change the order of tabs ? i would really like tab 2 to show up first when the program is run. thanks for any tips. shawn _

Re: gtk+ display image

2007-02-24 Thread Luka Napotnik
You have to pack the image widget to a box with gtk_box_pack_* or a container with gtk_container_add(). On pet, 2007-02-23 at 09:08 -0800, lucks wrote: > hi...am a student and am building an interface using gtk for my project...but > am having a problem in displaying an image...if someone could he