Top | ![]() |
![]() |
![]() |
![]() |
const gchar * | e_source_selectable_get_color () |
gchar * | e_source_selectable_dup_color () |
void | e_source_selectable_set_color () |
gboolean | e_source_selectable_get_selected () |
void | e_source_selectable_set_selected () |
ESourceSelectable is an abstract base class for data sources that can be selected in an ESourceSelector or similar widget.
const gchar *
e_source_selectable_get_color (ESourceSelectable *extension
);
Returns the color specification for the ESource to which extension
belongs. A colored block is often displayed next to the data source's
display name in user interfaces.
Since: 3.6
gchar *
e_source_selectable_dup_color (ESourceSelectable *extension
);
Thread-safe variation of e_source_selectable_get_color()
.
Use this function when accessing extension
from multiple threads.
The returned string should be freed with g_free()
when no longer needed.
Since: 3.6
void e_source_selectable_set_color (ESourceSelectable *extension
,const gchar *color
);
Sets the color specification for the ESource to which extension
belongs. A colored block is often displayed next to the data source's
display name in user interfaces.
The internal copy of color
is automatically stripped of leading and
trailing whitespace. If the resulting string is empty, NULL
is set
instead.
Since: 3.6
gboolean
e_source_selectable_get_selected (ESourceSelectable *extension
);
Returns the selected state of the ESource to which extension
belongs.
The selected state is often represented as a checkbox next to the data
source's display name in user interfaces.
Since: 3.6
void e_source_selectable_set_selected (ESourceSelectable *extension
,gboolean selected
);
Sets the selected state for the ESource to which extension
belongs.
The selected state is often represented as a checkbox next to the data
source's display name in user interfaces.
Since: 3.6
struct ESourceSelectable { };
Contains only private data that should be read and manipulated using the functions below.
Since: 3.6