Re: How to inserts a widget in the toolbar at the given position
- From: Micah Carrick <email micahcarrick com>
- To: sphurti durgade <sphurti study yahoo com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to inserts a widget in the toolbar at the given position
- Date: Fri, 16 Nov 2007 12:01:00 -0800
I answered this in your post here: http://www.gtkforums.com/about876.html
From the GtkToolItem API:
"GtkToolItems are widgets that can appear on a toolbar. To create a
toolbar item that contain something else than a button, use
gtk_tool_item_new(). Use gtk_container_add() to add a child widget to
the tool item."
- Micah Carrick
Developer - http://www.micahcarrick.com
GTK+ Forums - http://www.gtkforums.com
sphurti durgade wrote:
hello,
how to inserts a widget in the toolbar at the given position.
because gtk_toolbar_insert_widget is deprecated
i tried with gtk_tool_button_new (GtkWidget *icon_widget, const gchar *label);
instead of icon_widget i used other widget (e.g GtkHScale) it is able to show hscale in its default size ,
but not getting the control of scale , it acts like a button.
how i can get control of hscale ?
is it a right way to insert a widget in the toolbar ?
can anybody help me?
Thank you
sphurti
Get the freedom to save as many mails as you wish. To know how, go to
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]