![]() |
![]() |
![]() |
GTK+ 3 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <gtk/gtk.h> GtkHandleBox; GtkWidget* gtk_handle_box_new (void
); void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box
,GtkShadowType type
); void gtk_handle_box_set_handle_position (GtkHandleBox *handle_box
,GtkPositionType position
); void gtk_handle_box_set_snap_edge (GtkHandleBox *handle_box
,GtkPositionType edge
); GtkPositionType gtk_handle_box_get_handle_position (GtkHandleBox *handle_box
); GtkShadowType gtk_handle_box_get_shadow_type (GtkHandleBox *handle_box
); GtkPositionType gtk_handle_box_get_snap_edge (GtkHandleBox *handle_box
); gboolean gtk_handle_box_get_child_detached (GtkHandleBox *handle_box
);
void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box
,GtkShadowType type
);
|
|
|
void gtk_handle_box_set_handle_position (GtkHandleBox *handle_box
,GtkPositionType position
);
|
|
|
void gtk_handle_box_set_snap_edge (GtkHandleBox *handle_box
,GtkPositionType edge
);
|
|
|
GtkPositionType gtk_handle_box_get_handle_position (GtkHandleBox *handle_box
);
Gets the handle position of the handle box. See
gtk_handle_box_set_handle_position()
.
|
a GtkHandleBox |
Returns : |
the current handle position. |
GtkShadowType gtk_handle_box_get_shadow_type (GtkHandleBox *handle_box
);
Gets the type of shadow drawn around the handle box. See
gtk_handle_box_set_shadow_type()
.
|
a GtkHandleBox |
Returns : |
the type of shadow currently drawn around the handle box. |
GtkPositionType gtk_handle_box_get_snap_edge (GtkHandleBox *handle_box
);
Gets the edge used for determining reattachment of the handle box. See
gtk_handle_box_set_snap_edge()
.
|
a GtkHandleBox |
Returns : |
the edge used for determining reattachment, or (GtkPositionType)-1 if this is determined (as per default) from the handle position. |
gboolean gtk_handle_box_get_child_detached (GtkHandleBox *handle_box
);
Whether the handlebox's child is currently detached.
|
a GtkHandleBox |
Returns : |
TRUE if the child is currently detached, otherwise FALSE
|
Since 2.14