diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2018-04-13 00:46:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-13 00:46:18 -0400 |
commit | a22bf0142f842fd7efe27acf7a0d906dab501517 (patch) | |
tree | 1d4c1faf790128d2fcbaa16574423db8c142612d /widget/gtk/gtkdrawing.h | |
parent | ff362dd20098bb3b2122fb7c7daf1d057b29c570 (diff) | |
parent | a0a79a9aa3af02ece6d18b5ee91bab9989941a41 (diff) | |
download | UXP-a22bf0142f842fd7efe27acf7a0d906dab501517.tar UXP-a22bf0142f842fd7efe27acf7a0d906dab501517.tar.gz UXP-a22bf0142f842fd7efe27acf7a0d906dab501517.tar.lz UXP-a22bf0142f842fd7efe27acf7a0d906dab501517.tar.xz UXP-a22bf0142f842fd7efe27acf7a0d906dab501517.zip |
Merge pull request #136 from trav90/gtk-work
Improve GTK3 support
Diffstat (limited to 'widget/gtk/gtkdrawing.h')
-rw-r--r-- | widget/gtk/gtkdrawing.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/widget/gtk/gtkdrawing.h b/widget/gtk/gtkdrawing.h index 9bbfdefe9..7db5db043 100644 --- a/widget/gtk/gtkdrawing.h +++ b/widget/gtk/gtkdrawing.h @@ -145,8 +145,11 @@ typedef enum { MOZ_GTK_ENTRY, /* Paints a GtkExpander. */ MOZ_GTK_EXPANDER, - /* Paints a GtkTextView. */ + /* Paints a GtkTextView or gets the style context corresponding to the + root node of a GtkTextView. */ MOZ_GTK_TEXT_VIEW, + /* The "text" window or node of a GtkTextView */ + MOZ_GTK_TEXT_VIEW_TEXT, /* Paints a GtkOptionMenu. */ MOZ_GTK_DROPDOWN, /* Paints a dropdown arrow (a GtkButton containing a down GtkArrow). */ @@ -160,11 +163,15 @@ typedef enum { MOZ_GTK_TOOLBAR_SEPARATOR, /* Paints a GtkToolTip */ MOZ_GTK_TOOLTIP, + /* Paints a GtkBox from GtkToolTip */ + MOZ_GTK_TOOLTIP_BOX, + /* Paints a GtkLabel of GtkToolTip */ + MOZ_GTK_TOOLTIP_BOX_LABEL, /* Paints a GtkFrame (e.g. a status bar panel). */ MOZ_GTK_FRAME, /* Paints the border of a GtkFrame */ MOZ_GTK_FRAME_BORDER, - /* Paints a resize grip for a GtkWindow */ + /* Paints a resize grip for a GtkTextView */ MOZ_GTK_RESIZER, /* Paints a GtkProgressBar. */ MOZ_GTK_PROGRESSBAR, @@ -211,10 +218,13 @@ typedef enum { /* Paints items of popup menus. */ MOZ_GTK_MENUITEM, MOZ_GTK_IMAGEMENUITEM, - MOZ_GTK_CHECKMENUITEM_CONTAINER, - MOZ_GTK_RADIOMENUITEM_CONTAINER, + /* Paints a menuitem with check indicator, or the gets the style context for + a menuitem that contains a checkbox. */ MOZ_GTK_CHECKMENUITEM, + /* Gets the style context for a checkbox in a check menuitem. */ + MOZ_GTK_CHECKMENUITEM_INDICATOR, MOZ_GTK_RADIOMENUITEM, + MOZ_GTK_RADIOMENUITEM_INDICATOR, MOZ_GTK_MENUSEPARATOR, /* GtkVPaned base class */ MOZ_GTK_SPLITTER_HORIZONTAL, |