summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-03-22 06:45:57 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-03-22 06:45:57 +0000
commit6e58fd1ee3fe8916a89480fb3454f3f02397aab6 (patch)
tree1a5b7f863cf4c03d627990f40c83be2d87393f12 /gtk/gtklabel.h
parente042310560b745ffc33cbbef1de240283941d35a (diff)
downloadgtk+-6e58fd1ee3fe8916a89480fb3454f3f02397aab6.tar.gz
handle mnemonics in the stock item label
2001-03-22 Havoc Pennington <hp@pobox.com> * gtk/gtktoolbar.c (gtk_toolbar_insert_stock): handle mnemonics in the stock item label * gtk/gtklabel.c: s/@gtk_func/gtk_func()/ in docs * gtk/gtkstock.c (builtin_items): add mnemonics where missing * demos/gtk-demo/*.c: Add mnemonics all over the place * gtk/gtklabel.h: mark parse_uline deprecated
Diffstat (limited to 'gtk/gtklabel.h')
-rw-r--r--gtk/gtklabel.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h
index 49a1626e2a..3e3d783e4a 100644
--- a/gtk/gtklabel.h
+++ b/gtk/gtklabel.h
@@ -102,12 +102,7 @@ void gtk_label_set_pattern (GtkLabel *label,
const gchar *pattern);
void gtk_label_set_line_wrap (GtkLabel *label,
gboolean wrap);
-/* Convenience function to set the name and pattern by parsing
- * a string with embedded underscores, and return the appropriate
- * key symbol for the accelerator.
- */
-guint gtk_label_parse_uline (GtkLabel *label,
- const gchar *string);
+
void gtk_label_set_text_with_mnemonic (GtkLabel *label,
const gchar *string);
void gtk_label_set_mnemonic_widget (GtkLabel *label,
@@ -133,6 +128,14 @@ void gtk_label_get_layout_offsets (GtkLabel *label,
/* Deprecated */
void gtk_label_get (GtkLabel *label,
char **str);
+
+/* Convenience function to set the name and pattern by parsing
+ * a string with embedded underscores, and return the appropriate
+ * key symbol for the accelerator.
+ */
+guint gtk_label_parse_uline (GtkLabel *label,
+ const gchar *string);
+
#endif /* GTK_DISABLE_DEPRECATED */
#ifdef __cplusplus