Preferences
Interface
constructor
parent_
interface
name
add_
custom
add_
file_
chooser
add_
font_
button
add_
group
add_
list_
group
add_
page
add_
radio
add_
spin_
button
add_
switch
get_
widget
remove_
id
set_
page
GJS API Reference
Dazzle-1.0
Dazzle
PreferencesInterface
Class PreferencesInterface
Hierarchy
PreferencesInterface
Index
Constructors
constructor
Properties
parent_
interface
name
Methods
add_
custom
add_
file_
chooser
add_
font_
button
add_
group
add_
list_
group
add_
page
add_
radio
add_
spin_
button
add_
switch
get_
widget
remove_
id
set_
page
Constructors
constructor
new
Preferences
Interface
(
)
:
PreferencesInterface
Returns
PreferencesInterface
Properties
parent_
interface
parent_
interface
:
TypeInterface
Static
name
name
:
string
Methods
add_
custom
add_
custom
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, group_name
:
string
, widget
:
Gtk
.
Widget
, keywords
:
string
, priority
:
number
)
:
number
Parameters
self:
Dazzle
.
Preferences
page_name:
string
group_name:
string
widget:
Gtk
.
Widget
keywords:
string
priority:
number
Returns
number
add_
file_
chooser
add_
file_
chooser
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, group_name
:
string
, schema_id
:
string
, key
:
string
, path
:
string
, title
:
string
, subtitle
:
string
, action
:
Gtk
.
FileChooserAction
, keywords
:
string
, priority
:
number
)
:
number
Parameters
self:
Dazzle
.
Preferences
page_name:
string
group_name:
string
schema_id:
string
key:
string
path:
string
title:
string
subtitle:
string
action:
Gtk
.
FileChooserAction
keywords:
string
priority:
number
Returns
number
add_
font_
button
add_
font_
button
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, group_name
:
string
, schema_id
:
string
, key
:
string
, title
:
string
, keywords
:
string
, priority
:
number
)
:
number
Parameters
self:
Dazzle
.
Preferences
page_name:
string
group_name:
string
schema_id:
string
key:
string
title:
string
keywords:
string
priority:
number
Returns
number
add_
group
add_
group
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, group_name
:
string
, title
:
string
, priority
:
number
)
:
void
Parameters
self:
Dazzle
.
Preferences
page_name:
string
group_name:
string
title:
string
priority:
number
Returns
void
add_
list_
group
add_
list_
group
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, group_name
:
string
, title
:
string
, mode
:
Gtk
.
SelectionMode
, priority
:
number
)
:
void
Parameters
self:
Dazzle
.
Preferences
page_name:
string
group_name:
string
title:
string
mode:
Gtk
.
SelectionMode
priority:
number
Returns
void
add_
page
add_
page
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, title
:
string
, priority
:
number
)
:
void
Parameters
self:
Dazzle
.
Preferences
page_name:
string
title:
string
priority:
number
Returns
void
add_
radio
add_
radio
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, group_name
:
string
, schema_id
:
string
, key
:
string
, path
:
string
, variant_string
:
string
, title
:
string
, subtitle
:
string
, keywords
:
string
, priority
:
number
)
:
number
Parameters
self:
Dazzle
.
Preferences
page_name:
string
group_name:
string
schema_id:
string
key:
string
path:
string
variant_string:
string
title:
string
subtitle:
string
keywords:
string
priority:
number
Returns
number
add_
spin_
button
add_
spin_
button
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, group_name
:
string
, schema_id
:
string
, key
:
string
, path
:
string
, title
:
string
, subtitle
:
string
, keywords
:
string
, priority
:
number
)
:
number
Parameters
self:
Dazzle
.
Preferences
page_name:
string
group_name:
string
schema_id:
string
key:
string
path:
string
title:
string
subtitle:
string
keywords:
string
priority:
number
Returns
number
add_
switch
add_
switch
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, group_name
:
string
, schema_id
:
string
, key
:
string
, path
:
string
, variant_string
:
string
, title
:
string
, subtitle
:
string
, keywords
:
string
, priority
:
number
)
:
number
Parameters
self:
Dazzle
.
Preferences
page_name:
string
group_name:
string
schema_id:
string
key:
string
path:
string
variant_string:
string
title:
string
subtitle:
string
keywords:
string
priority:
number
Returns
number
get_
widget
get_
widget
(
self
:
Dazzle
.
Preferences
, widget_id
:
number
)
:
Gtk
.
Widget
Parameters
self:
Dazzle
.
Preferences
widget_id:
number
Returns
Gtk
.
Widget
remove_
id
remove_
id
(
self
:
Dazzle
.
Preferences
, widget_id
:
number
)
:
boolean
Parameters
self:
Dazzle
.
Preferences
widget_id:
number
Returns
boolean
set_
page
set_
page
(
self
:
Dazzle
.
Preferences
, page_name
:
string
, map
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
)
:
void
Parameters
self:
Dazzle
.
Preferences
page_name:
string
map:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
Returns
void
Preferences
Interface
constructor
parent_
interface
name
add_
custom
add_
file_
chooser
add_
font_
button
add_
group
add_
list_
group
add_
page
add_
radio
add_
spin_
button
add_
switch
get_
widget
remove_
id
set_
page
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJEYXp6bGVfMV8wLkRhenpsZS5QcmVmZXJlbmNlc0ludGVyZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiRGF6emxlXzFfMC5EYXp6bGUuUHJlZmVyZW5jZXNJbnRlcmZhY2UuaHRtbCNwYXJlbnRfaW50ZXJmYWNlIiwibmFtZSI6InBhcmVudF9pbnRlcmZhY2UiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IkRhenpsZV8xXzAuRGF6emxlLlByZWZlcmVuY2VzSW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