![]() |
![]() |
![]() |
WebKitClutter Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Known Implementations |
WebKitIRenderTheme; enum WebKitIRenderThemePlatformColor; WebKitIRenderThemeScrollbarMetrics; WebKitIRenderThemeWidgetMetrics; WebKitIRenderThemeWidgetState; enum WebKitIRenderThemeWidgetType; cairo_rectangle_int_t; GType webkit_irender_theme_get_type (void
); guint32 webkit_irender_theme_get_platform_color (WebKitIRenderTheme *Param1
,WebKitIRenderThemePlatformColor Param2
); guint32 webkit_irender_theme_get_system_color (WebKitIRenderTheme *Param1
,int Param2
); gboolean webkit_irender_theme_get_widget_metrics (WebKitIRenderTheme *Param1
,WebKitIRenderThemeWidgetMetrics *Param2
); gboolean webkit_irender_theme_get_scrollbar_metrics (WebKitIRenderTheme *Param1
,WebKitIRenderThemeScrollbarMetrics *Param2
); gboolean webkit_irender_theme_paint_widget (WebKitIRenderTheme *Param1
,WebKitIRenderThemeWidgetType Param2
,WebKitIRenderThemeWidgetState *Param3
,gint flags
,cairo_t *Param5
,cairo_rectangle_int_t *Param6
); WebKitIRenderTheme * webkit_irender_theme_get_default (void
); void webkit_irender_theme_set_default (WebKitIRenderTheme *Param1
);
WebKitIRenderTheme is implemented by MxRenderTheme and WebKitDefaultRenderTheme.
typedef enum { /* Text selection colors */ platformColorActiveSelectionBackground, platformColorInactiveSelectionBackground, platformColorActiveSelectionForeground, platformColorInactiveSelectionForeground, /* List box selection colors */ platformColorActiveListBoxSelectionBackground, platformColorActiveListBoxSelectionForeground, platformColorInactiveListBoxSelectionBackground, platformColorInactiveListBoxSelectionForeground, /* Highlighting colors for TextMatches */ platformColorActiveTextSearchHighlightColor, platformColorInactiveTextSearchHighlightColor, platformColorFocusRingColor } WebKitIRenderThemePlatformColor;
Platform colors.
Text selection colors | |
Text selection colors | |
Text selection colors | |
Text selection colors | |
List box selection colors | |
List box selection colors | |
List box selection colors | |
List box selection colors | |
Highlighting colors for TextMatches | |
Highlighting colors for TextMatches | |
update description |
typedef struct { gint slider_width; gint trough_border; gint stepper_size; gint stepper_spacing; gint min_slider_size; gboolean trough_under_steppers; gboolean has_secondary_forward_stepper; gboolean has_secondary_backward_stepper; gboolean has_buttons; } WebKitIRenderThemeScrollbarMetrics;
Description | |
Description | |
Description | |
Description | |
Description | |
Description | |
Description | |
Description | |
Description |
typedef struct { gfloat blinkInterval; /* Checkbox buttons */ gint checkboxIndicatorSize; gint checkboxIndicatorSpacing; /* Radio buttons */ gint radioIndicatorSize; gint radioIndicatorSpacing; /* Button inner borders */ gint buttonInnerLeft; gint buttonInnerRight; gint buttonInnerTop; gint buttonInnerBottom; /* Focus metrics for a treeheadercell, button, checkbox, or radio button. */ gboolean focusInterior; gint focusWidth; gint focusPad; /* Scale thumbs */ gint scalethumbLenght; gint scalethumbHeigth; /* Dropdown arrow button */ gint menulistButtonWidth; gint menulistButtonHeight; /* Size of a scroll arrow widget; */ gint scrollarrowWidth; gint scrollarrowHeight; /* Toolbar button dropdown arrow */ gint downarrowWidth; gint downarrowHeight; /* Toolbar separator width */ gint toolbarSeparatorWidth; /* Expander size */ gint expanderWidth; gint expanderHeight; /* Menu separator height; */ gint menuSeparatorHeight; /* Splitter size */ gint splitterHorizontalHeight; gint splitterVerticalWidth; /* Notebook tab thickness */ gint notebookTabThickness; /* Images in menus? */ gboolean menuImages; } WebKitIRenderThemeWidgetMetrics;
Description.
blink interval | |
Checkbox buttons | |
Checkbox buttons | |
Radio buttons | |
Radio buttons | |
Button inner borders | |
Button inner borders | |
Button inner borders | |
Button inner borders | |
Focus metrics for a treeheadercell, button, checkbox, or radio button. | |
Focus metrics for a treeheadercell, button, checkbox, or radio button. | |
Focus metrics for a treeheadercell, button, checkbox, or radio button. | |
Scale thumbs | |
Scale thumbs | |
Dropdown arrow button | |
Dropdown arrow button | |
Size of a scroll arrow widget | |
Size of a scroll arrow widget | |
Toolbar button dropdown arrow | |
Toolbar button dropdown arrow | |
Toolbar separator width | |
Expander size | |
Expander size | |
Menu separator height | |
Splitter size | |
Splitter size | |
Notebook tab thickness | |
Image in menus? |
typedef struct { guint8 active; guint8 focused; guint8 inHover; guint8 disabled; guint8 isDefault; guint8 canDefault; /* The depressed state is for buttons which remain active for a longer period: * activated toggle buttons or buttons showing a popup menu. */ guint8 depressed; gint32 curpos; /* curpos and maxpos are used for scrollbars */ gint32 maxpos; } WebKitIRenderThemeWidgetState;
The depressed state is for buttons which remain active for a longer period: activated toggle buttons or buttons showing a popup menu.
update discription | |
update discription | |
update discription | |
update discription | |
update discription | |
update discription | |
update discription | |
curpos and maxpos are used for scrollbars | |
update discription |
typedef enum { /* Paints a button. */ widgetButton, /* Paints a check button. flags is a boolean, 1=checked, 0=not checked. */ widgetCheckButton, /* Paints a radio button. flags is a boolean, 1=checked, 0=not checked. */ widgetRadioButton, /* Paints the button of a scrollbar. flags is a WebKitIRenderThemeArrowType giving the arrow direction. */ widgetScrollbarButton, /* Paints the trough (track) of a scrollbar. */ widgetScrollbarTrackHorizontal, widgetScrollbarTrackVertical, /* Paints the slider (thumb) of a scrollbar. */ widgetScrollbarThumbHorizontal, widgetScrollbarThumbVertical, /* Paints the background of a scrolled window */ widgetScrolledWindow, /* Paints a scale. */ widgetScaleHorizontal, widgetScaleVertical, /* Paints a scale thumb. */ widgetScaleThumbHorizontal, widgetScaleThumbVertical, /* Paints a spin button */ widgetSpinButton, widgetSpinButtonUp, widgetSpinButtonDown, widgetSpinButtonEntry, /* Paints the decoration on search fields */ widgetSearchFieldDecoration, /* Paints the results button in search fields */ widgetSearchFieldResultsButton, /* Paints the button to clear the search field */ widgetSearchFieldCancelButton, /* Paints the gripper of a handle box. */ widgetGripper, /* Paints an entry. */ widgetEntry, /* Paints the native caret (or in GTK-speak: insertion cursor) */ widgetCaret, /* Paints a drop-down menu. */ widgetDropDown, /* Paints a dropdown arrow (a button containing a down arrow). */ widgetDropDownArrow, /* Paints an entry in an editable option menu */ widgetDropDownEntry, /* Paints the container part of a check button. */ widgetCheckButtonContainer, /* Paints the container part of a radio button. */ widgetRadioButtonContainer, /* Paints the label of a check button (focus outline) */ widgetCheckButtonLabel, /* Paints the label of a radio button (focus outline) */ widgetRadioButtonLabel, /* Paints the background of a handle box. */ widgetToolbar, /* Paints a toolbar separator */ widgetToolbarSeparator, /* Paints a tooltip */ widgetTooltip, /* Paints a frame (e.g. a status bar panel). */ widgetFrame, /* Paints a resize grip for a window */ widgetResizer, /* Paints a progress bar. */ widgetProgressBar, /* Paints a progress chunk of a progress bar. */ widgetProgressChunk, /* Paints a tab of a notebook. flags is a WebKitIRenderThemeTabFlags, defined above. */ widgetTab, /* Paints the background and border of a notebook. */ widgetTabPanels, /* Paints an arrow for a notebook. flags is a WebKitIRenderThemeArrowType. */ widgetTabScrollArrow, /* Paints the background and border of a tree view */ widgetTreeView, /* Paints treeheader cells */ widgetTreeHeaderCell, /* Paints sort arrows in treeheader cells */ widgetTreeHeaderSortArrow, /* Paints an expander for a tree view */ widgetTreeViewExpander, /* Paints an expander */ widgetExpander, /* Paints the background of the menu bar. */ widgetMenuBar, /* Paints the background of menus, context menus. */ widgetMenuPopup, /* Paints the arrow of menuitems that contain submenus */ widgetMenuArroe, /* Paints an arrow that points down */ widgetToolbarButtonArrow, /* Paints items of menubar and popups. */ widgetMenuItem, widgetCheckMenuItem, widgetRadioMenuItem, widgetMenuSeparator, /* Paints a vertical panel separator */ widgetSplitterHorizontal, /* Paints a horizontal panel separator */ widgetSplitterVertical, /* Media-related */ widgetMediaFullscreenButton, widgetMediaMuteButton, widgetMediaPlayButton, widgetMediaSeekBackButton, widgetMediaSeekForwardButton, widgetMediaSliderTrack, widgetMediaSliderThumb, /* Paints the background of a window, dialog or page. */ widgetWindow } WebKitIRenderThemeWidgetType;
Update dscription.
Paints a button. | |
Paints a check button. flags is a boolean, 1=checked, 0=not checked. | |
Paints a radio button. flags is a boolean, 1=checked, 0=not checked. | |
Paints the button of a scrollbar. flags is a WebKitIRenderThemeArrowType giving the arrow direction. | |
Paints the trough (track) of a scrollbar. | |
Paints the trough (track) of a scrollbar | |
Paints the slider (thumb) of a scrollbar. | |
Paints the slider (thumb) of a scrollbar. | |
Paints the background of a scrolled window | |
Paints a scale. | |
Paints a scale. | |
Paints a scale thumb. | |
Paints a scale thumb. | |
Paints a spin button | |
Paints a spin button | |
Paints a spin button | |
Paints a spin button | |
Paints the decoration on search fields | |
Paints the results button in search fields | |
Paints the button to clear the search field | |
Paints the gripper of a handle box. | |
Paints an entry. | |
Paints the native caret (or in GTK-speak: insertion cursor) | |
Paints a drop-down menu. | |
Paints a dropdown arrow (a button containing a down arrow). | |
Paints an entry in an editable option menu | |
Paints the container part of a check button | |
Paints the container part of a radio button. | |
Paints the label of a check button (focus outline) | |
Paints the label of a radio button (focus outline) | |
Paints the background of a handle box. | |
Paints a toolbar separator | |
Paints a tooltip | |
Paints a frame (e.g. a status bar panel). | |
Paints a resize grip for a window | |
Paints a progress bar. | |
Paints a progress chunk of a progress bar. | |
Paints a tab of a notebook. flags is a WebKitIRenderThemeTabFlags, defined above. | |
Paints the background and border of a notebook. | |
Paints an arrow for a notebook. flags is a WebKitIRenderThemeArrowType. | |
Paints the background and border of a tree view | |
Paints treeheader cells | |
Paints sort arrows in treeheader cells | |
Paints an expander for a tree view | |
Paints an expander | |
Paints the background of the menu bar. | |
Paints the background of menus, context menus. | |
Paints the arrow of menuitems that contain submenus | |
Paints an arrow that points down | |
Paints items of menubar and popups. | |
Paints items of menubar and popups. | |
Paints items of menubar and popups. | |
Paints items of menubar and popups. | |
Paints a vertical panel separator | |
Paints a horizontal panel separator | |
Media-related | |
Media-related | |
Media-related | |
Media-related | |
Media-related | |
Media-related | |
Media-related | |
Paints the background of a window, dialog or page. |
guint32 webkit_irender_theme_get_platform_color (WebKitIRenderTheme *Param1
,WebKitIRenderThemePlatformColor Param2
);
guint32 webkit_irender_theme_get_system_color (WebKitIRenderTheme *Param1
,int Param2
);
gboolean webkit_irender_theme_get_widget_metrics (WebKitIRenderTheme *Param1
,WebKitIRenderThemeWidgetMetrics *Param2
);
gboolean webkit_irender_theme_get_scrollbar_metrics (WebKitIRenderTheme *Param1
,WebKitIRenderThemeScrollbarMetrics *Param2
);
gboolean webkit_irender_theme_paint_widget (WebKitIRenderTheme *Param1
,WebKitIRenderThemeWidgetType Param2
,WebKitIRenderThemeWidgetState *Param3
,gint flags
,cairo_t *Param5
,cairo_rectangle_int_t *Param6
);
void webkit_irender_theme_set_default (WebKitIRenderTheme *Param1
);