diff options
author | Cody Russell <crussell@canonical.com> | 2010-02-01 18:22:16 -0600 |
---|---|---|
committer | Cody Russell <crussell@canonical.com> | 2010-02-01 18:22:16 -0600 |
commit | 0dc1eba6a2bf092a5c847d8f9f5220b7f3f7719a (patch) | |
tree | 5cf5fcdfe8fe728a11db65fbfed7b6b6f3ec4708 /example | |
parent | c9b34c900dcd1b11ce0251e0faa812b7bc5b8c4d (diff) | |
download | ayatana-ido-0dc1eba6a2bf092a5c847d8f9f5220b7f3f7719a.tar.gz ayatana-ido-0dc1eba6a2bf092a5c847d8f9f5220b7f3f7719a.tar.bz2 ayatana-ido-0dc1eba6a2bf092a5c847d8f9f5220b7f3f7719a.zip |
Entry menu items
Diffstat (limited to 'example')
-rw-r--r-- | example/menus.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/example/menus.c b/example/menus.c index c27fc14..6cf0c75 100644 --- a/example/menus.c +++ b/example/menus.c @@ -1,6 +1,7 @@ #include <gtk/gtk.h> #include "idoscalemenuitem.h" +#include "idoentrymenuitem.h" int main (int argc, char *argv[]) @@ -37,7 +38,10 @@ main (int argc, char *argv[]) menuitem = gtk_menu_item_new_with_label ("Open"); gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem); - menuitem = ido_scale_menu_item_new_with_range ("Volume", 0, 100, 1); + //menuitem = ido_scale_menu_item_new_with_range ("Volume", 0, 100, 1); + //gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem); + + menuitem = ido_entry_menu_item_new (); gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem); /* Add the menubar */ |