![]() |
![]() |
![]() |
Goffice Reference Manual | ![]() |
---|---|---|---|---|
#define GO_FORMAT_SEL_TYPE #define GO_FORMAT_SEL (o) #define IS_GO_FORMAT_SEL (o) GOFormatSel; GType go_format_sel_get_type (void); GtkWidget* go_format_sel_new (void); GtkWidget* go_format_sel_new_full (gboolean use_markup); void go_format_sel_set_focus (GOFormatSel *gfs); void go_format_sel_set_style_format (GOFormatSel *gfs, GOFormat *style_format); void go_format_sel_set_locale (GOFormatSel *gfs, char const *locale); GOFormat* go_format_sel_get_fmt (GOFormatSel *gfs); GODateConventionsconst * go_format_sel_get_dateconv (GOFormatSel *gfs); void go_format_sel_set_dateconv (GOFormatSel *gfs, GODateConventions const *date_conv); void go_format_sel_show_preview (GOFormatSel *gfs); void go_format_sel_hide_preview (GOFormatSel *gfs); void go_format_sel_editable_enters (GOFormatSel *gfs, GtkWindow *window); charconst * go_format_sel_format_classification (GOFormat const *style_format);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----GOFormatSel
#define GO_FORMAT_SEL(o) (G_TYPE_CHECK_INSTANCE_CAST((o), GO_FORMAT_SEL_TYPE, GOFormatSel))
o : |
#define IS_GO_FORMAT_SEL(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), GO_FORMAT_SEL_TYPE))
o : |
GtkWidget* go_format_sel_new (void);
Creates a format selector widget, with general format selected
by default, and formats using pango markup disabled. See
go_format_sel_new_full
.
Returns : | a format selector widget. |
GtkWidget* go_format_sel_new_full (gboolean use_markup);
Creates a format selector widget, with general format selected
by default. When use_markup
is set to TRUE
, it shows additional
widgets for editing properties of formats using pango markup
(e.g. scientific format with superscripted exponent).
use_markup : |
enable formats using pango markup |
Returns : | a format selector widget. |
void go_format_sel_set_style_format (GOFormatSel *gfs, GOFormat *style_format);
gfs : |
|
style_format : |
void go_format_sel_set_locale (GOFormatSel *gfs, char const *locale);
gfs : |
|
locale : |
GODateConventionsconst * go_format_sel_get_dateconv (GOFormatSel *gfs);
gfs : |
|
Returns : |
void go_format_sel_set_dateconv (GOFormatSel *gfs, GODateConventions const *date_conv);
gfs : |
|
date_conv : |
void go_format_sel_editable_enters (GOFormatSel *gfs, GtkWindow *window);
gfs : |
|
window : |
"format-changed"
signalvoid user_function (GOFormatSel *goformatsel, gpointer arg1, gpointer user_data) : Run Last
goformatsel : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
"generate-preview"
signalgchar* user_function (GOFormatSel *goformatsel, gpointer arg1, gpointer user_data) : Run Last
goformatsel : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
Returns : |