diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-12-05 00:43:00 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-12-05 00:43:00 +0000 |
commit | 40ca2718134111fb6c2e9c21c5a0375f47d64175 (patch) | |
tree | 1142d10d64806b516922b508499e7ccb654a94af /gtk/prefs_dlg.h | |
parent | f6bdcf2251bb453be523f16eec172cd2f49b978f (diff) |
From Giorgio Tino: Add a "static text" protocol preference type. This
can be used to add descriptive text inline with other preference items.
The "preference" contents are not written to disk.
Fixup whitespace.
svn path=/trunk/; revision=20037
Diffstat (limited to 'gtk/prefs_dlg.h')
-rw-r--r-- | gtk/prefs_dlg.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/prefs_dlg.h b/gtk/prefs_dlg.h index e37d696aa0..a1353c0724 100644 --- a/gtk/prefs_dlg.h +++ b/gtk/prefs_dlg.h @@ -147,4 +147,16 @@ extern gint fetch_preference_option_menu_val(GtkWidget *optmenu, const enum_val_ extern GtkWidget *create_preference_entry(GtkWidget *main_tb, int table_row, const gchar *label_text, const gchar *tooltip_text, char *value); +/** Create a static text for a preferences page. + * + * @param main_tb the table to put this entry into + * @param table_row row in the table + * @param label_text the label text + * @param tooltip_text the tooltip for this text (not neded at all...) + * @return the new static text label + */ +GtkWidget * +create_preference_static_text(GtkWidget *main_tb, int table_position, + const gchar *label_text, const gchar *tooltip_text); + #endif |