DockTheme
Object Hierarchy:
Description:
public class DockTheme :
Theme
A themed renderer for dock windows.
Content:
Properties:
Creation methods:
Methods:
- protected override void reset_properties ()
Resets all properties to their default values. Called from construct
and before loading from the backing file.
- public Surface create_background (int width, int height, PositionType position, Surface model)
Creates a surface for the dock background.
- public Surface create_indicator (int size, Color color, Surface model)
Creates a surface for an indicator.
- public Surface create_urgent_glow (int size, Color color, Surface model)
Creates a surface for an urgent glow.
- public void draw_active_glow (Surface surface, Rectangle clip_rect, Rectangle rect, Color color, double opacity, PositionType pos)
Draws an active glow for an item.
- public void draw_item_count (Surface surface, int icon_size, Color color, int64 count)
Draws a badge for an item.
- public void draw_item_progress (Surface surface, int icon_size, Color color, double progress)
Draws a progress bar for an item.
- protected override void verify (string prop)
This method will verify the value of a property. If the value is
wrong, this method should replace it with a sanitized value.
Inherited Members:
All known members inherited from class Plank.Theme
All known members inherited from class Plank.Preferences
All known members inherited from class GLib.Object
- @new
- new_valist
- newv
- new_with_properties
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
- notify
- ref_count