| Top |
| gboolean | can-resize | Read / Write / Construct |
| gchar * | height-prop | Read / Write / Construct |
| gchar * | width-prop | Read / Write / Construct |
| gchar * | x-prop | Read / Write / Construct |
| gchar * | y-prop | Read / Write / Construct |
| gboolean | configure-begin | Run Last |
| gboolean | configure-child | Run Last |
| gboolean | configure-end | Run Last |
GladeFixed is a specialized GladeWidget to handle free-form child placements in containers that support this, it is designed with properties and signals with flexable integration in mind.
If you set the x-prop/y-prop/width-prop/height-prop properties and leave the signals alone, GladeFixed will assume you are like a GtkFixed/GtkLayout widget and will use pixel counts as units for these properties.
If you handle the configure-child/configure-end[/configure-begin] signals and dont let them propagate to the GladeFixed, then the x-prop/y-prop/width-prop/height-prop properties will be completely ignored and it is up to the implementor to play with whatever child packing properties are available to make a closest match for the values passed to configure-child via the GdkRectangle.
“can-resize” property“can-resize” gboolean
Whether this container supports resizes of child widgets.
Flags: Read / Write / Construct
Default value: TRUE
“height-prop” property“height-prop” gchar *
The property used to set the height of a child object.
Flags: Read / Write / Construct
Default value: "height-request"
“width-prop” property“width-prop” gchar *
The property used to set the width of a child object.
Flags: Read / Write / Construct
Default value: "width-request"
“x-prop” property“x-prop” gchar *
The property used to set the X position of a child object.
Flags: Read / Write / Construct
Default value: "x"
“y-prop” property“y-prop” gchar *
The property used to set the Y position of a child object.
Flags: Read / Write / Construct
Default value: "y"
“configure-begin” signalgboolean user_function (GladeFixed *gladewidget, GObject *arg1, gpointer user_data)
Signals the beginning of a Drag/Resize
gladewidget |
the GladeFixed which received the signal. |
|
arg1 |
the child GladeWidget |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“configure-child” signalgboolean user_function (GladeFixed *gladewidget, GObject *arg1, gpointer arg2, gpointer user_data)
Delegates the Drag/Resize job.
gladewidget |
the GladeFixed which received the signal. |
|
arg1 |
the child GladeWidget |
|
arg2 |
a pointer to a GdkRectange describing the new size. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“configure-end” signalgboolean user_function (GladeFixed *gladewidget, GObject *arg1, gpointer user_data)
Signals the end of a Drag/Resize
gladewidget |
the GladeFixed which received the signal. |
|
arg1 |
the child GladeWidget |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last