![]() |
![]() |
![]() |
hildon-extras Reference Manual | ![]() |
---|---|---|---|---|
HeFontButtonPrivate; HeFontButton; GtkWidget* he_font_button_new (void); GtkWidget* he_font_button_new_with_font (const gchar *font_string); gchar* he_font_button_get_font (HeFontButton *button); void he_font_button_set_font (HeFontButton *button, const gchar *font_string); gboolean he_font_button_get_popup_shown (HeFontButton *button); void he_font_button_popdown (HeFontButton *button);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----HeFontButton
HeFontButton is a widget to open a HeFontDialog. The selected font is shown in the button. The selected font is a property of the button. The property name is "font" and its type is gchar*.
GtkWidget* he_font_button_new (void);
Creates a new HeFontButton
Returns : | a new HeFontButton |
Since 2.2
GtkWidget* he_font_button_new_with_font (const gchar *font_string);
Creates a new HeFontButton with a specific font.
font_string : |
|
Returns : | a new HeFontButton |
Since 2.2
gchar* he_font_button_get_font (HeFontButton *button);
returns
: a gchar* string representing the font
button : |
|
Returns : |
Since 2.2
void he_font_button_set_font (HeFontButton *button, const gchar *font_string);
Sets the current font on the HeFontButton widget
button : |
|
font_string : |
Since 2.2
gboolean he_font_button_get_popup_shown (HeFontButton *button);
button : |
|
Returns : |
void he_font_button_popdown (HeFontButton *button);
If the font dialog is currently popped-up (visible) it will be popped-down (hidden).
button : |
Since 2.2