![]() |
![]() |
![]() |
adg-1 reference manual |
![]() |
---|---|---|---|---|
Top | Description |
#define ADG_GTK_MODIFIERSvoid adg_gtk_toggle_button_sensitivize (,
GtkToggleButton *toggle_button);
GtkWidget *widgetvoid adg_gtk_window_hide_here ();
GtkWindow *windowGdkWindow * gtk_widget_get_window ();
GtkWidget *widget
#define ADG_GTK_MODIFIERS (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)
A GDK mask of the key/mouse modifiers accepted by the GTK+ widgets
of the ADG library. This means the state of the specified modifiers
is always checked: for example GDK_CONTROL_MASK
GDK_SHIFT_MASK
CTRL
SHIFT
SHIFT
GDK_LOCK_MASK
SHIFT
CTRL
Since 1.0
void adg_gtk_toggle_button_sensitivize (,
GtkToggleButton *toggle_button);
GtkWidget *widget
Assigns the value of the toggle_button
to the widget
.
Useful to set or reset the sensitiveness of widget
depending
of the state of a check button, for example:
g_signal_connect(toggle_button, "toggled", G_CALLBACK(adg_gtk_toggle_button_sensitivize), widget1); g_signal_connect(toggle_button, "toggled", G_CALLBACK(adg_gtk_toggle_button_sensitivize), widget2); g_signal_connect(toggle_button, "toggled", G_CALLBACK(adg_gtk_toggle_button_sensitivize), widget3);
|
a |
|
the |
Since 1.0
void adg_gtk_window_hide_here ();
GtkWindow *window
A convenient function that hides window
and tries to store the
current position. Any subsequent call to gtk_widget_show()
It can be used instead of gtk_widget_hide()
g_signal_connect(dialog, "response", G_CALLBACK(adg_gtk_window_hide_here), NULL);
|
a |
Since 1.0