Set up callbacks for dynamically created buttons
I'm creating some buttons using: buttons = g_new(GtkWidget*, n); for (i = 0; i < n; i++) { buttons[i] = gtk_button_new... gtk_button_whatever(GTK_BUTTON(buttons[i])... ... gtk_box_pack_start(GTK_BOX(some_box), buttons[i]... } how would I set these buttons up with call backs once they're created? -- View this message in context: http://www.nabble.com/Set-up-callbacks-for-dynamically-created-buttons-t1490320.html#a4038183 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GTK+ 2.8.17 and background colours
On Fri, 2006-04-21 at 20:36 +0200, Francesco Montorsi wrote: > Hi, > I'm struggling with my GTK+ (2.8.17 - coming with ubuntu dapper) to > be able to set the background colour of a button. > > I've googled and searched the archives of this mailing list and I have > found exactly same questions with attached test programs. > > I'm attaching two short, simple test programs which *should* be able to > set the background colour of a button to a different colour from the > standard one. > > Unfortunately running them I don't see any difference with a standard > GtkButton: i.e. the calls to gtk_widget_modify_bg and > gtk_widget_modify_fg seems not to have any effect ! > > Could anyone more expert try to compile those files and run them to see > if they get standard colours or not ? > (to compile them I usually place them in the gtk\examples\helloworld > folder and rename them to helloworld.c ;)) > > This seems like a GTK+ bug to me... > > Thanks a lot, > Francesco The biggest tip I can share is "If the desired widget does not have a GtkWindow of its own, it draws on its parent's window!". Now the parent window may not be the one you expect or think you've coded. Use this sequence to change of the color of a widget without its own GtkWindow. GdkColor color; ... gdk_color_parse ("blue", &color); ... button = gtk_button_new_from_stock (GTK_STOCK_CLOSE); .. gtk_widget_modify_bg ( gtk_widget_get_parent(button), GTK_STATE_NORMAL, &color); gtk_widget_get_parent() is the magic api to permit changing colors of widgets reliably. James, > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: GtkTreeView PixBuf cell to display 2 images
Van H Tran wrote: Hi! I want to implement some kind of FOLDER browser window using GtkTreeView. This tree has 2 columns, first column for some icon, and the second for the folder name I have 4 icons 1. icon of a Folder open 2. icon of a Folder closed 3. icon of a small + sign 4. icon of a small - sign If icon 1 is placed on top of the icon 4 in one cell, it would look perfect as in icon 4, the - sign is located right at the bottom left, whereas in icon 1, the Folder icon is located little to the right of the pic. Similarly for icon 2 and 3. Now, due to the limitation that these icons cannot be edited to be combined, I now need a way to display two icons, one on top of the other, in one cell. Is it possible to do this? Thanks in advance, TV Hoang, ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list You can use gdk_pixbuf_composite function. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GtkTreeView PixBuf cell to display 2 images
Hi! I want to implement some kind of FOLDER browser window using GtkTreeView. This tree has 2 columns, first column for some icon, and the second for the folder name I have 4 icons 1. icon of a Folder open 2. icon of a Folder closed 3. icon of a small + sign 4. icon of a small - sign If icon 1 is placed on top of the icon 4 in one cell, it would look perfect as in icon 4, the - sign is located right at the bottom left, whereas in icon 1, the Folder icon is located little to the right of the pic. Similarly for icon 2 and 3. Now, due to the limitation that these icons cannot be edited to be combined, I now need a way to display two icons, one on top of the other, in one cell. Is it possible to do this? Thanks in advance, TV Hoang, ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GTK+ 2.8.17 and background colours
Hi, I'm struggling with my GTK+ (2.8.17 - coming with ubuntu dapper) to be able to set the background colour of a button. I've googled and searched the archives of this mailing list and I have found exactly same questions with attached test programs. I'm attaching two short, simple test programs which *should* be able to set the background colour of a button to a different colour from the standard one. Unfortunately running them I don't see any difference with a standard GtkButton: i.e. the calls to gtk_widget_modify_bg and gtk_widget_modify_fg seems not to have any effect ! Could anyone more expert try to compile those files and run them to see if they get standard colours or not ? (to compile them I usually place them in the gtk\examples\helloworld folder and rename them to helloworld.c ;)) This seems like a GTK+ bug to me... Thanks a lot, Francesco ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: Refreshing the progressbar
> Hello all, I am using the probress bar to show the progress of some > event. Initially i have some text in theprogress bar. After the > event is complete, i change the text on the progress bar.. But it > is not getting changed... But once i minimise the window and then > maximise it, the text on the progress bar is changed... Is there > any way i can change the text on the progress bar automatically? If you cover part of the progress bar with another window, and then uncover it again, does that part get updated? After the event (or even during), are you giving the main loop a chance to run? Would threading have anything what so ever to do with this? Are you running a permanent idler or timeout with an extreamly small interval? Sounds bizzare... I'll be curious to know the answer. Are expose-by-uncovering's at a higher priority to expose-to-reveal-update's, perhaps? Fredderic ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
re:re:Re: can't ercieve data passed to g_signal_connect
thanks guys i was mistaken in my assumption about omitting the arguments well thanks anyways that solved the probs Send instant messages to your online friends http://uk.messenger.yahoo.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Random Number of Buttons
On Thu, 2006-04-20 at 18:40 -0700, 3saul wrote: > OK what I'm trying to do is this: > > 1. Read a directory full of images (the images in the directory will change) > 2. Create a table with the correct number of cells. > 3. Put a button in each cell with an image on it from the directory > 4. In the cell below the image put the name of the file on a label > > I've seen GTKIconView but that seems complicated to me (I'm a beginner) Using an GtkIconView will be easier than anything else I can think of. Take the challenge and use the treeview. Here is my favorite tutorial for treeview in general: http://scentric.net/tutorial/treeview-tutorial.html Here is a link to an complete example using the full GtkTreeView: http://scentric.net/tutorial/sec-treeview-col-pixbufs.html James, > -- > View this message in context: > http://www.nabble.com/Random-Number-of-Buttons-t1480088.html#a4019004 > Sent from the Gtk+ - Apps Dev forum at Nabble.com. > > ___ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?
Hi, Thank you all for your kind answers. -- Colossus Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GTK+ 2.8.17 runtime and package
Hi everybody, GTK+ 2.8.17 runtime for windows and package for Dev-Cpp are released. There are available at : http://gtk.alkia.org Regards, Benoît Carpentier, "GTKool" - Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Cliquez ici. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Scrollable windows (page-size).
Hi, I wonder if there is if there is a gtk-signal emitted when the widget inside a scrollable window is equal to the "page-size" of the scrollable window. I also wonder if you somehow can get the "page-size" ? /Magnus ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: can't ercieve data passed to g_signal_connect
On Fri, Apr 21, 2006 at 12:45:35PM +0100, rachit goel wrote: > > g_signal_connect ((gpointer)eventt[iter],"leave_notify_event", > G_CALLBACK (mouse_leave1),data1); > g_signal_connect ((gpointer)eventt[iter],"button_press_event", > G_CALLBACK (tab_click1), data1); > g_signal_connect ((gpointer)eventt[iter],"enter_notify_event", > G_CALLBACK (tab_mouse_enter1) , data1); > > ... > > > void tab_click1(GtkWidget *widget,gchar* data1) > ... Have a look at the prototypes of "*-event" callbacks. The second argument is the event, user_data is always the last argument. Yeti -- That's enough. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: can't ercieve data passed to g_signal_connect
On 4/21/06, rachit goel <[EMAIL PROTECTED]> wrote: > g_signal_connect ((gpointer)eventt[iter],"button_press_event", > G_CALLBACK (tab_click1), data1); > void tab_click1(GtkWidget *widget,gchar* data1) You have the type of your callback wrong: http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-button-press-event Try gboolean user_function(GtkWidget *widget, GdkEventButton *event, gpointer user_data) Also you probably have a memory leak there, though maybe it's not important. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: can't ercieve data passed to g_signal_connect
interface.h . . . GtkEventBox **eventt; . . . . interface.c GtkWidget* create_window1 (void) { . . . . . eventt = g_new0 (GtkWidget * , tab_count); . . . for (iter = 1 ; iter <= tab_count ; iter++) { . . . . eventt[iter]=GTK_EVENT_BOX(gtk_event_box_new());// create the event box . . . . . data1 = g_strdup_printf(" %d ",iter) ; g_print("\n at signal connect string --> %s ",data1); g_signal_connect ((gpointer)eventt[iter],"leave_notify_event", G_CALLBACK (mouse_leave1),data1); g_signal_connect ((gpointer)eventt[iter],"button_press_event", G_CALLBACK (tab_click1), data1); g_signal_connect ((gpointer)eventt[iter],"enter_notify_event", G_CALLBACK (tab_mouse_enter1) , data1); ... } } void tab_click1(GtkWidget *widget,gchar* data1) { gchar *data_1 = (gchar*)data1; unsigned long int val = strtol(data1,NULL,10) ; g_print("%s data1\n",data1); g_print("%d val1\n",val); tab_modifier(1) ; } actually what i am doing is this: i have declared an array of GtkWidget for Eventboxes since i get the number at run time from a database in tab_count (using sqlite3 as database) now i want to connect their signals to the same function as i don't know the number at the design time so can't give that many functions and respective statements the data passe through the signal handler will diferentiate the id of the event box that generated the event. also same function can handle the multiple connect from various controls as it works well in case of first connect here which is used to change the mouse over cursor i never recieve the argument that i send. - Switch an email account to Yahoo! Mail, you could win FIFA World Cup tickets. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Howto really debug gdk_x_error?
On 4/21/06, Wojciech Kromer <[EMAIL PROTECTED]> wrote: > Where is your code called? > -mine is from fimer function added by g_timeout_add > > Are You using timers, pthreads, gthreads? > - i'm using pthreads, but there are no gtk call from there > > How often are made changes to markupLabel? > -my theread is reading data from external usb device, > and timer function every 50ms displays them > > My question to ALL is: are there any tools or methods to find what's wrong? I have a largish gtk2 application which uses g_thread and does a lot of painting in idle handlers and I've not seen this problem. It sounds like a horrible race condition :-( I've found problems like this in the past by making the smallest example I can that shows the problem, then using valgrind (or efence perhaps) and lots of printf()s. A good log file can often reveal timing issues. Perhaps you could update every 10ms and get a crash sooner? Sorry not to be more helpful. John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?
On Fri, 21 Apr 2006 13:01:10 +0200, Colossus <[EMAIL PROTECTED]> wrote: > Enrico Tröger wrote: > > No, it is a simple decimal value. I appended the l to emphasise > > that it is a long int. I'm not completely sure, but I think you can > > safely omit it. > > This is my code: > original = g_strndup ( start , end - start); > unsigned long long int *_original = g_malloc(sizeof(unsigned long > long int)); > *_original = atoll (original); > g_free (original); > > later I fill the GList: > archive->row = g_list_prepend (archive->row , _original) ; > > Then in another file.c I have to fill the liststore by retrieving the > values from the GList: > > gtk_list_store_set(GTK_LIST_STORE(list_store), &iter, i, > fields->data, -1); > > And in this line I get the segfault ! Obviously I declared that > column as G_TYPE_UINT64; > > It's related to the allocated u long long int pointer because if I > use GUINT_TO_POINTER with G_TYPE_UINT it works. Do you have any idea > about the crash ? Not really, but perhaps a type cast helps? I found that http://developer.gnome.org/doc/API/2.0/glib/glib-Type-Conversion-Macros.html#desc says something similar as in my first post. regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.key Geany, a lightweight IDE using GTK2 - http://geany.uvena.de ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?
Am Freitag, den 21.04.2006, 13:01 +0200 schrieb Colossus: > Enrico Tröger wrote: > > No, it is a simple decimal value. I appended the l to emphasise that it > > is a long int. I'm not completely sure, but I think you can safely omit > > it. Why don't you use two lists instead of one? Same number of mallocs, just one pointer more to pass around. GList *nbr; GList *str; nbr = str = NULL; for (i = 0; mydatasource[i] != NULL; i++) { nbr = g_list_prepend (nbr, GUINT_TO_POINTER (mydatasource[i].myint)); str = g_list_prepend (str, g_strdup (mydatasource[i].mystr)); } nbr = g_list_reverse (nbr); str = g_list_reverse (str); fill_store (nbr, str); Another alternative for encapsulating two data types would be typedef struct { enum { LIST_DATA_STRING, LIST_DATA_NUMBER } data_type; union { char *mystr; guint64 mynum; } data; } MyListData; You'd do list_data = g_new (MyListData, 1); if (isstr) { list_data->data_type = LIST_DATA_STRING; list_data->data.mystr = g_strdup (mystr); } else { list_data->data_type = LIST_DATA_NUMBER; list_data->data.mynum = myint; } list = g_list_prepend (list, list_data); Note that this may cause some malloc overhead for many entries. It would be simpler if you described what you want to achieve with these two data types. There is definitly a better solution than stuffing everything into one single GList. > This is my code: > original = g_strndup ( start , end - start); > unsigned long long int *_original = g_malloc(sizeof(unsigned long long > int)); > *_original = atoll (original); > g_free (original); > > later I fill the GList: > archive->row = g_list_prepend (archive->row , _original) ; > > Then in another file.c I have to fill the liststore by retrieving the > values from the GList: > > gtk_list_store_set(GTK_LIST_STORE(list_store), &iter, i, fields->data, > -1); > > And in this line I get the segfault ! Obviously I declared that column > as G_TYPE_UINT64; > > It's related to the allocated u long long int pointer because if I use > GUINT_TO_POINTER with G_TYPE_UINT it works. Do you have any idea about > the crash ? Shouldn't you use GPOINTER_TO_UINT(fields->data)? I'm also curious why you use i, i.e. a running variable. How does your list store look? -- Christian Neumair <[EMAIL PROTECTED]> ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Howto really debug gdk_x_error?
Dnia 2006-04-20 13:30, Użytkownik Faria, Sydney C napisał: I used the following code to update a Pango string with no problems: char *markup = g_strconcat(s1, standdata.Stand, s2, standdata.Engine, s3, standdata.jobnumber, s4, standdata.Package, s5, txs_used, s6, standdata.passedFilename, s7, NULL); gtk_label_set_markup(GTK_LABEL(markupLabel), markup); g_free(markup); where s1 - s7 are strings containing the labels and the standdata struct can change from time to time. Sydney I'm using g_strdup_printf, but it's not the problem (i hope so) Where is your code called? -mine is from fimer function added by g_timeout_add Are You using timers, pthreads, gthreads? - i'm using pthreads, but there are no gtk call from there How often are made changes to markupLabel? -my theread is reading data from external usb device, and timer function every 50ms displays them My question to ALL is: are there any tools or methods to find what's wrong? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?
Enrico Tröger wrote: No, it is a simple decimal value. I appended the l to emphasise that it is a long int. I'm not completely sure, but I think you can safely omit it. This is my code: original = g_strndup ( start , end - start); unsigned long long int *_original = g_malloc(sizeof(unsigned long long int)); *_original = atoll (original); g_free (original); later I fill the GList: archive->row = g_list_prepend (archive->row , _original) ; Then in another file.c I have to fill the liststore by retrieving the values from the GList: gtk_list_store_set(GTK_LIST_STORE(list_store), &iter, i, fields->data, -1); And in this line I get the segfault ! Obviously I declared that column as G_TYPE_UINT64; It's related to the allocated u long long int pointer because if I use GUINT_TO_POINTER with G_TYPE_UINT it works. Do you have any idea about the crash ? -- Colossus Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?
On Fri, 21 Apr 2006 12:44:48 +0200, Colossus <[EMAIL PROTECTED]> wrote: > Enrico Tröger wrote: > > > give it some value > > *iptr = 100l; > > thanks for replying. Which value is the above ? Hexadecimal one ?? Or > what else ? No, it is a simple decimal value. I appended the l to emphasise that it is a long int. I'm not completely sure, but I think you can safely omit it. regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.key Geany, a lightweight IDE using GTK2 - http://geany.uvena.de ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?
Enrico Tröger wrote: give it some value *iptr = 100l; Hi Enrico, thanks for replying. Which value is the above ? Hexadecimal one ?? Or what else ? -- Colossus Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?
On Fri, 21 Apr 2006 12:11:48 +0200, Colossus <[EMAIL PROTECTED]> wrote: Hi Colossus, > I have to fill a GList with strings and unsigned long int. > The content of the GList is not always the same so I don't > know wich element is a string to free or a GUINT_TO_POINTER don't use GUINT_TO_POINTER. Instead create manually a pointer to an unsigned long int and allocate memory for it unsigned long int *iptr = g_malloc(sizeof(unsigned long int)); give it some value *iptr = 100l; and fill the list with this value and freeing should work without problems(but I haven't tested it). regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.key Geany, a lightweight IDE using GTK2 - http://geany.uvena.de ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
How to detect if a glist->data is a GUINT_TO_POINTER for not freeing it ?
Hi, I have to fill a GList with strings and unsigned long int. The content of the GList is not always the same so I don't know wich element is a string to free or a GUINT_TO_POINTER that I don't have to free. Is there a trick to do so ? Thanks, -- Colossus Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: Scroll WIndow with GtkTreeView
Thanks, it worked. -Original Message- From: David Necas (Yeti) [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 1:15 PM To: Sailaxmi korada Cc: gtk-app-devel-list@gnome.org Subject: Re: Scroll WIndow with GtkTreeView On Fri, Apr 21, 2006 at 01:00:10PM +0530, Sailaxmi korada wrote: > abnormal way. Is there any other way that I can make them move in sync... > and be scrolled together. Without Viewport, the table is behaving in an > My application requires Tree Widget and Table to be placed in same container Since you have to fake the headers above the table anyway, fake them above the treeview too and disable the real column headers. Yeti -- That's enough. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Scroll WIndow with GtkTreeView
On Fri, Apr 21, 2006 at 01:00:10PM +0530, Sailaxmi korada wrote: > abnormal way. Is there any other way that I can make them move in sync... > and be scrolled together. Without Viewport, the table is behaving in an > My application requires Tree Widget and Table to be placed in same container Since you have to fake the headers above the table anyway, fake them above the treeview too and disable the real column headers. Yeti -- That's enough. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: Scroll WIndow with GtkTreeView
My application requires Tree Widget and Table to be placed in same container and be scrolled together. Without Viewport, the table is behaving in an abnormal way. Is there any other way that I can make them move in sync... laxmi -Original Message- From: David Necas (Yeti) [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 12:48 PM To: Sailaxmi korada Cc: 'gtk-app-devel-list' Subject: Re: Scroll WIndow with GtkTreeView On Fri, Apr 21, 2006 at 10:47:24AM +0530, Sailaxmi korada wrote: > In my application, I'm placing my TreeView widget in a scrolled window. > When I'm scrolling down the list, my headers are getting scrolled up, so > they are no more visible. Is there any way to retain the headers in the > visible area of the window. Thanks in advance http://www.gtk.org/faq/#AEN747 The answer is the same for treeviews. Yeti -- That's enough. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Scroll WIndow with GtkTreeView
On Fri, Apr 21, 2006 at 10:47:24AM +0530, Sailaxmi korada wrote: > In my application, I'm placing my TreeView widget in a scrolled window. > When I'm scrolling down the list, my headers are getting scrolled up, so > they are no more visible. Is there any way to retain the headers in the > visible area of the window. Thanks in advance http://www.gtk.org/faq/#AEN747 The answer is the same for treeviews. Yeti -- That's enough. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list