![]() |
![]() |
![]() |
hildon-extras Reference Manual | ![]() |
---|---|---|---|---|
HeFancyButtonPrivate; HeFancyButton; #define HE_ICON_PIXEL_SIZE_FANCY_BUTTON #define HE_FANCY_BUTTON (object)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkEventBox +----HeFancyButton
"caption" gchar* : Write "image-name" gchar* : Write "image-widget-name" gchar* : Write "pressed-image-name" gchar* : Write
This widget serves as a button. Two icons are used from the icon theme: one for when the button is pressed (via the "pressed-image-name" property), and one for when the button is released (via the "image-name" property). Set the button's caption with the "caption" property. When the button is pressed, the hilight is created using an image from the Hildon theme (/etc/hildon/theme/mediaplayer/Button.png). If this file is not present, a standard GTK+ highlight square is drawn.
#define HE_ICON_PIXEL_SIZE_FANCY_BUTTON hildon_get_icon_pixel_size(HE_ICON_SIZE_FANCY_BUTTON)
"image-name"
property"image-name" gchar* : Write
Name of image when released.
Default value: NULL
"image-widget-name"
property"image-widget-name" gchar* : Write
Name of image widget.
Default value: NULL
"pressed-image-name"
property"pressed-image-name" gchar* : Write
Name of image when pressed.
Default value: NULL
"clicked"
signalvoid user_function (HeFancyButton *hefancybutton, gpointer user_data) : Run First
hefancybutton : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |