Top | ![]() |
![]() |
![]() |
![]() |
#define | GOK_BUTTON_CLASS() |
GType | gok_button_get_type () |
GtkWidget * | gok_button_new_with_label () |
gint | gok_button_enter_notify () |
gint | gok_button_leave_notify () |
void | gok_button_state_changed () |
#define GOK_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST (k, GOK_TYPE_BUTTON, GokButtonClass)
GtkWidget * gok_button_new_with_label (const gchar *pText
,GokImagePlacementPolicy align
);
Creates a new GOK button with a label.
gint gok_button_enter_notify (GtkWidget *widget
,GdkEventCrossing *event
);
This handler is called whenever a widget on the keyboard is entered.
gint gok_button_leave_notify (GtkWidget *widget
,GdkEventCrossing *event
);
This handler is called whenever a widget on the keyboard has been left.
void gok_button_state_changed (GtkWidget *widget
,GtkStateType state
,gpointer user_data
);
This is called each time the button state is changed. We handle this call and make sure the button is set to the state we want.