Top | ![]() |
![]() |
![]() |
![]() |
GokControl * | gok_control_new () |
void | gok_control_delete_all () |
gint | gok_control_get_control_type () |
gint | gok_control_get_handler_type () |
void | gok_control_button_handler () |
void | gok_control_add_handler () |
void | gok_control_button_callback_open () |
void | gok_control_button_callback_close () |
GokControl *
gok_control_new (void
);
Creates a new gok_control. It's the caller's responsibility to delete this.
void
gok_control_delete_all (GokControl *pControl
);
Deletes the given control and all other controls linked to it.
void gok_control_button_handler (GtkButton *button
,gpointer user_data
);
pButton
: Pointer to the button that was just pressed.
user_data
: User data that is associated with the button.
void gok_control_add_handler (GtkWidget *pWidget
,gint HandlerType
);
pWidget
: Pointer to the button gets added to the handler list.
HandlerType
: Type of handler the button requires.
void
gok_control_button_callback_open (void
);
Initializes the GOK control callback handlers. This must be called at the beginning of the program.