GtkToolItem ?
- From: Daniel Pekelharing <legendstar gmail com>
- To: Gtk-App-Devel-List <gtk-app-devel-list gnome org>
- Subject: GtkToolItem ?
- Date: Thu, 08 Dec 2005 16:38:25 +0200
Hi all,
Anyone know if there's any particular reason why the gtk_tool_item
functions (e.g gtk_tool_item_new()) explicitly return a GtkToolItem
instead of a GtkWidget?
It seems (IMHO) a bit inconsistent in relation to all other widget
creation routines..
Another question:
How can I use accelerator paths on a GtkToolItem?
I tried:
gtk_widget_set_accel_path(GTK_WIDGET(tool_item), "<toolbar>/itemx",
accel_group);
On app startup Gtk reports:
Gtk-CRITICAL **: gtk_widget_set_accel_path: assertion
`GTK_WIDGET_GET_CLASS (widget)->activate_signal != 0' failed
Thanks!
--
Daniel Pekelharing
<legendstar gmail com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]