GtkFixed |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Data Structures | |
| struct | _GtkFixed |
| GtkFixed instance structure. More... | |
| struct | _GtkFixedClass |
| GtkFixed instance class structure. More... | |
Functions | |
| GtkWidget * | gtk_fixed_new (void) |
| Creates a new GtkFixed. | |
| void | gtk_fixed_put (GtkFixed *fixed, GtkWidget *widget, gint x, gint y) |
| Adds a widget to a GtkFixed container at the given position. | |
| void | gtk_fixed_move (GtkFixed *fixed, GtkWidget *widget, gint x, gint y) |
| Moves a child of a GtkFixed container to the given position. | |
| void | gtk_fixed_set_has_window (GtkFixed *fixed, gboolean has_window) |
| Sets whether a GtkFixed widget is created with a separate GdkWindow for widget->window or not. | |
| gboolean | gtk_fixed_get_has_window (GtkFixed *fixed) |
| Gets whether the GtkFixed has its own GdkWindow. | |
| gboolean gtk_fixed_get_has_window | ( | GtkFixed * | fixed | ) |
Gets whether the GtkFixed has its own GdkWindow.
See gdk_fixed_set_has_window().
| [in] | fixed | : a GtkFixed. |
Moves a child of a GtkFixed container to the given position.
| [in] | fixed | : a GtkFixed. |
| [in] | widget | : the child widget. |
| [in] | x | : the horizontal position to move the widget to. |
| [in] | y | : the vertical position to move the widget to. |
| GtkWidget* gtk_fixed_new | ( | void | ) |
Creates a new GtkFixed.
Adds a widget to a GtkFixed container at the given position.
| [in] | fixed | : a GtkFixed. |
| [in] | widget | : the widget to add. |
| [in] | x | : the horizontal position to place the widget at. |
| [in] | y | : the vertical position to place the widget at. |
| void gtk_fixed_set_has_window | ( | GtkFixed * | fixed, | |
| gboolean | has_window | |||
| ) |
Sets whether a GtkFixed widget is created with a separate GdkWindow for widget->window or not.
(By default, it will be created with no separate GdkWindow). This function must be called while the GtkFixed is not realized, for instance, immediately after the window is created.
This function was added to provide an easy migration path for older applications which may expect GtkFixed to have a separate window.
| [in] | fixed | : a GtkFixed. |
| [in] | has_window | : TRUE if a separate window should be created |
1.5.4