Scrollbar widget

2008-02-21 Thread Ajax John
Hi all, Can anyone give me a small example how a scrollbar widget is used .Suppose with text box widget or list widget. Regards, Ajax ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-l

Re: Scrollbar widget

2008-02-21 Thread Damien Caliste
Hello, Le 21/02/2008, "Ajax John" <[EMAIL PROTECTED]> a écrit : > Can anyone give me a small example how a scrollbar widget is > used .Suppose with text box widget or list widget. You have to use a scrolledWindow windget, see http://library.gnome.org/devel/gtk/stable/GtkScrolledWindow.html . The t

has anyone used the gtk_menu_tool_button ?

2008-02-21 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For the life of me I cannot get the label to display. I have tried gtk_menu_tool_button_new(tools_icon, "Tools"); setting the label manually (with gtk_tool_button_set_label(), which I just found out is exactly when gtk_menu_to

Signal prototypes

2008-02-21 Thread Gabriele Greco
Given that different signals may have different prototypes: "clicked": void (*)(GtkWidget *, void *) "keypress": gboolean (*)(GtkWidget *, GdkEvent *, void *) "delete_event": gboolean (*)(GtkWidget *, void *) [...] There is a way, from the signal name, to find in ADVANCE what kind of prototype t

Re: has anyone used the gtk_menu_tool_button ?

2008-02-21 Thread Claudio Saavedra
El jue, 21-02-2008 a las 21:27 +0800, Gregory Hosler escribió: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > For the life of me I cannot get the label to display. > > I have tried > gtk_menu_tool_button_new(tools_icon, "Tools"); > > setting the label manually (with gtk_tool_

Re: Signal prototypes

2008-02-21 Thread Lance Dillon
- Original Message From: Gabriele Greco <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Thursday, February 21, 2008 8:40:05 AM Subject: Signal prototypes Given that different signals may have different prototypes: "clicked": void (*)(GtkWidget *, void *) "keypre

Button in Gtk

2008-02-21 Thread Ajax John
Hi All, I want to know what is the difference does it make when a Button is decleared as GtkWidget *button; GtkButton *button; I'm confused which one to used in my program. In simple words when should I declare my button as Gtkwidget * and as GtkButton *. Regards, Ajax.

Re: Button in Gtk

2008-02-21 Thread Brian J. Tarricone
Ajax John wrote: > > I want to know what is the difference does it make when a Button is > decleared as > GtkWidget *button; > GtkButton *button; > > I'm confused which one to used in my program. > In simple words when should I declare my button as Gtkwidget * and as > GtkButton *. There's no di