diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-01-18 18:48:09 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-01-18 18:48:09 +0000 |
commit | e260fd6a2b1f36fc7cff90f9b7c21cf6f5a4cfa7 (patch) | |
tree | ab179daddaff1b111d2d8473ef7a8f609a6861fb /gtk/gtkmenu.h | |
parent | deb20a3cd07adf8b249d32296befa524b956adb2 (diff) | |
download | gtk+-e260fd6a2b1f36fc7cff90f9b7c21cf6f5a4cfa7.tar.gz |
Added gtk_menu_set_title() to set the title of a menu in the torn-off
Mon Jan 18 13:25:14 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.[ch]: Added gtk_menu_set_title() to
set the title of a menu in the torn-off state.
* gtk/gtkthemes.c (gtk_theme_engine_get): When loading
of theme engine fails, just warn and do without -
don't error out.
* gtk/gtkmain.c (gtk_check_version): s/to/too/.
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r-- | gtk/gtkmenu.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h index 5b046403ec..ecf3cebd1d 100644 --- a/gtk/gtkmenu.h +++ b/gtk/gtkmenu.h @@ -128,8 +128,14 @@ void gtk_menu_detach (GtkMenu *menu); GtkWidget* gtk_menu_get_attach_widget (GtkMenu *menu); void gtk_menu_detach (GtkMenu *menu); -void gtk_menu_set_tearoff_state (GtkMenu *menu, - gboolean torn_off); +void gtk_menu_set_tearoff_state (GtkMenu *menu, + gboolean torn_off); + +/* This sets the window manager title for the window that + * appears when a menu is torn off + */ +void gtk_menu_set_title (GtkMenu *menu, + const gchar *title); #ifdef __cplusplus } |