Singularity.Style.StyleManager – singularity-1.0 Reference Manual
Packages
singularity-1.0
Singularity
Style
StyleManager
BRAND_GTK_THEME
BRAND_ICON_THEME
accent_hex
find_theme_dir
get_default
list_singularity_themes
pin_brand_themes
StyleManager
apply_accent_color
apply_color_scheme
extract_primary_color
load_theme
load_user_theme
set_high_contrast
set_large_text
StyleManager
Object Hierarchy:
Description:
public
class
StyleManager
:
Object
Namespace:
Singularity.Style
Package:
singularity-1.0
Content:
Constants:
public
const
string
BRAND_GTK_THEME
public
const
string
BRAND_ICON_THEME
Properties:
public
string
accent_hex
{
get
; }
Static methods:
public
static
string
?
find_theme_dir
(
string
theme_name)
public
static
StyleManager
get_default
()
public
static
string
[]
list_singularity_themes
()
public
static
void
pin_brand_themes
()
Creation methods:
public
StyleManager
()
Methods:
public
void
apply_accent_color
(
string
color_name,
string
? wallpaper_path =
null
)
public
void
apply_color_scheme
(
bool
dark)
public
string
extract_primary_color
(
string
path)
public
void
load_theme
()
public
void
load_user_theme
(
string
theme_name)
public
void
set_high_contrast
(
bool
enabled)
public
void
set_large_text
(
bool
enabled)
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref