Gimp.Choice – gimp-3.0 Reference Manual
Packages
gimp-3.0
Gimp
Choice
Choice
add
get_documentation
get_help
get_id
get_label
is_valid
list_nicks
set_sensitive
sensitivity_changed
Choice
Object Hierarchy:
Description:
[
CCode
( type_id =
"gimp_choice_get_type ()"
) ]
public
class
Choice
:
Object
Namespace:
Gimp
Package:
gimp-3.0
Content:
Creation methods:
public
Choice
()
Methods:
public
void
add
(
string
nick,
int
id,
string
label,
string
help)
This procedure adds a new possible value to
this
list of values.
public
bool
get_documentation
(
string
nick,
string
label,
string
help)
Returns the documentation strings for
nick
.
public
unowned
string
get_help
(
string
nick)
Returns the longer documentation for
nick
.
public
int
get_id
(
string
nick)
public
unowned
string
get_label
(
string
nick)
public
bool
is_valid
(
string
nick)
This procedure checks if the given
nick
is valid and refers to an existing choice.
public
unowned
List
<
string
>
list_nicks
()
This procedure returns the list of nicks allowed for
this
.
public
void
set_sensitive
(
string
nick,
bool
sensitive)
Change the sensitivity of a possible
nick
.
Signals:
public
signal
void
sensitivity_changed
(
string
object)
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