GfThemeOptions

GfThemeOptions — GfThemeOptions Object API

Synopsis




            GfThemeOptions;
GfThemeOptions* gf_theme_options_new        (void);
void        gf_theme_options_set_date_format
                                            (GfThemeOptions *theme_options,
                                             const gchar *date_format);
const gchar* gf_theme_options_get_date_format
                                            (const GfThemeOptions *theme_options);
void        gf_theme_options_set_time_format
                                            (GfThemeOptions *theme_options,
                                             const gchar *time_format);
const gchar* gf_theme_options_get_time_format
                                            (const GfThemeOptions *theme_options);
void        gf_theme_options_set_ellipsis_text
                                            (GfThemeOptions *theme_options,
                                             const gchar *ellipsis_text);
const gchar* gf_theme_options_get_ellipsis_text
                                            (const GfThemeOptions *theme_options);

Object Hierarchy


  GObject
   +----GfObject
         +----GfThemeOptions

Properties


  "date-format"          gchararray            : Read / Write
  "ellipsis-text"        gchararray            : Read / Write
  "time-format"          gchararray            : Read / Write

Description

GfThemeOptions is a meta info object that stores options for a GfTheme.

Details

GfThemeOptions

typedef struct _GfThemeOptions GfThemeOptions;

GfThemeOptions is an opaque structure that should not be used directly.


gf_theme_options_new ()

GfThemeOptions* gf_theme_options_new        (void);

Creates a new GfThemeOptions instance.

Returns : The new GfThemeOptions instance.

gf_theme_options_set_date_format ()

void        gf_theme_options_set_date_format
                                            (GfThemeOptions *theme_options,
                                             const gchar *date_format);

Sets the date format for theme_options.

theme_options : The GfThemeOptions instance.
date_format : The new date format.

gf_theme_options_get_date_format ()

const gchar* gf_theme_options_get_date_format
                                            (const GfThemeOptions *theme_options);

Gets the date format from theme_options.

theme_options : The GfThemeOptions instance.
Returns : The date format from theme_options.

gf_theme_options_set_time_format ()

void        gf_theme_options_set_time_format
                                            (GfThemeOptions *theme_options,
                                             const gchar *time_format);

Sets the time format for theme_options.

theme_options : The GfThemeOptions instance.
time_format : The new time format.

gf_theme_options_get_time_format ()

const gchar* gf_theme_options_get_time_format
                                            (const GfThemeOptions *theme_options);

Gets the time format from theme_options.

theme_options : The GfThemeOptions instance.
Returns : The time format from theme_options.

gf_theme_options_set_ellipsis_text ()

void        gf_theme_options_set_ellipsis_text
                                            (GfThemeOptions *theme_options,
                                             const gchar *ellipsis_text);

Sets the ellipsis text for theme_options.

theme_options : The GfThemeOptions instance.
ellipsis_text : The new ellipsis_text.

gf_theme_options_get_ellipsis_text ()

const gchar* gf_theme_options_get_ellipsis_text
                                            (const GfThemeOptions *theme_options);

Gets the ellipsis text from theme_options.

theme_options : The GfThemeOptions instance.
Returns : The ellipsis text from theme_options.

Properties

The "date-format" property

  "date-format"          gchararray            : Read / Write

The date format.

Default value: "%x"


The "ellipsis-text" property

  "ellipsis-text"        gchararray            : Read / Write

The ellipsis text.

Default value: "..."


The "time-format" property

  "time-format"          gchararray            : Read / Write

The time format.

Default value: "%X"