Re: Menubars with new api
- From: Russell Shaw <rjshaw netspace net au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Menubars with new api
- Date: Thu, 02 Sep 2004 16:34:38 +1000
Russell Shaw wrote:
Hi,
I'm trying to make a menubar widget with the first menu named "File", which
contains a menu item named "Open":
GtkUIManager *manager=gtk_ui_manager_new();
guint mid=gtk_ui_manager_new_merge_id(manager);
gtk_ui_manager_add_ui(
manager,
mid,
"/menubar",
NULL,
<action>, // what do i use for <action> ?
GTK_UI_MANAGER_MENUBAR,
TRUE
);
What do i do now? I've looked at testaction.c, but it's still not so clear.
Found answers here:
http://developer.gnome.org/doc/API/2.2/gtk/migrating-gnomeuiinfo.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]