diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-03-20 22:41:51 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-03-20 22:41:51 +0000 |
commit | a8e0c855486f76b75cc2b2d0a3ec9c313cf854c6 (patch) | |
tree | 30503e72ef2c56fe911d763c83f60248e54e0c62 /ui/gtk/gui_utils.h | |
parent | e704aaa14b5ac9a4ab0635fb7ed8f5dedce820f2 (diff) |
Add frame_new, which creates a frame that best conforms to the GNOME,
Windows, and OS X HIGs. Use it in the capture options dialog. The
capture options dialog is a bit taller now and could probably use a bit
more tweaking.
In the capture options, conversation, and endpoint dialogs use our
best-guess dialog spacing and pad out some areas.
svn path=/trunk/; revision=48445
Diffstat (limited to 'ui/gtk/gui_utils.h')
-rw-r--r-- | ui/gtk/gui_utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/gtk/gui_utils.h b/ui/gtk/gui_utils.h index 5a4d7c5c91..ad276fe597 100644 --- a/ui/gtk/gui_utils.h +++ b/ui/gtk/gui_utils.h @@ -540,6 +540,13 @@ GtkWidget * gtk_separator_new (GtkOrientation orientation); void gdk_cairo_set_source_rgba(cairo_t *cr, const GdkRGBA *rgba); #endif /* GTK_CHECK_VERSION(3,0,0) */ +/** Create a new frame with no border and a bold title on appropriate platforms. + * + * @param title The title for the new frame + * @return The newly created window + */ +extern GtkWidget *frame_new(const gchar *title); + /* GtkTable is deprecated in Gtk3 ... * |