Class: GOffice::GraphTheme
- Inherits:
-
Object
- Object
- GOffice::GraphTheme
- Defined in:
- (unknown)
Class Method Summary collapse
-
.foreach(handler, user_data) ⇒ nil
Executes handler to each theme installed on the system, including built-in themes.
-
.registry_get_theme_names ⇒ GLib::SList<String>
A newly allocated theme name list from theme registry.
-
.registry_lookup(name) ⇒ GOffice::GraphTheme
A Gog::Theme from theme registry.
Instance Method Summary collapse
-
#delete ⇒ Boolean
Destroys the theme and remove it from the user directory and from the database.
- #description ⇒ String
-
#dup ⇒ GOffice::GraphTheme
Duplicates theme with a new Id.
-
#edit(cc) ⇒ GOffice::GraphTheme
Displays a dialog box to edit the theme.
-
#fillin_style(style, obj, ind, relevant_fields) ⇒ nil
Fill in the auto aspects of style based on theme 's element for objects of type/role similar to obj with index ind.
-
#get_color_map(discrete) ⇒ GOffice::GraphAxisColorMap
Retrieves the themed color map.
-
#id ⇒ String
Retrieves the theme Id.
-
#name ⇒ String
The GogTheme name.
-
#resource_type ⇒ GOffice::ResourceType
Resource-type.
- #resource_type=(resource_type) ⇒ GOffice::ResourceType
-
#save_to_home_dir ⇒ nil
Writes the theme to the user directory so that it becomes permanently available.
Class Method Details
.foreach(handler, user_data) ⇒ nil
Executes handler to each theme installed on the system, including built-in themes.
.registry_get_theme_names ⇒ GLib::SList<String>
Returns a newly allocated theme name list from theme registry.
.registry_lookup(name) ⇒ GOffice::GraphTheme
Returns a Gog::Theme from theme registry.
Instance Method Details
#delete ⇒ Boolean
Destroys the theme and remove it from the user directory and from the database.
#description ⇒ String
#dup ⇒ GOffice::GraphTheme
Duplicates theme with a new Id.
#edit(cc) ⇒ GOffice::GraphTheme
Displays a dialog box to edit the theme. This can be done only for locally installed themes that are writeable. been cancelled.
#fillin_style(style, obj, ind, relevant_fields) ⇒ nil
Fill in the auto aspects of style based on theme 's element for objects of type/role similar to obj with index ind. If relevant_fields is GO_STYLE_ALL, fillin the entire style, not just the auto portions included in relevant_fields.
#get_color_map(discrete) ⇒ GOffice::GraphAxisColorMap
Retrieves the themed color map. Each theme has a discrete color map and a continuous one.
#id ⇒ String
Retrieves the theme Id.
#name ⇒ String
Returns the GogTheme name.
#resource_type ⇒ GOffice::ResourceType
Returns resource-type.
#resource_type=(resource_type) ⇒ GOffice::ResourceType
#save_to_home_dir ⇒ nil
Writes the theme to the user directory so that it becomes permanently available.