Re: About GtkToolItem



Le jeu 12/02/2004 Ã 23:16, Harring Figueiredo a Ãcrit :
 I have a label and a GtkSpin on my toolbar.

 GtkWidget*  gtk_toolbar_prepend_item     

gtk_toolbar_prepend_item will be deprecated in gtk+-2.4, this is why I
do not want to use this function and related ones.

--- Jody Goldberg <jody gnome org> wrote:
On Thu, Feb 12, 2004 at 05:19:52PM +0100, Jean Brefort wrote:
Hi,

I would like to know if there some plan exist to add widgets other than
buttons in GtkToolBar with the new API in gtk+-2.3.
I need various items such as a GtkComboBox in tool bars for GChemPaint.
I'll probably have to derive a new object from GtkToolItem to do that,
am I wrong?

Also, I used right clicking on buttons to open option boxed fo my the
tools. With the GtkToolButton object, using signals such as
"button-press-event" do not work. Why?

Have a look in gnumeric/src/cut-n-paste-code/goffice/gui-utils

There are custom ToolItems and GtkAction wrappers for them
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]