GtkHandleBox

GtkHandleBox

Synopsis

#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);

Description

Details

GtkHandleBox

typedef struct {
  GtkBin bin;
} GtkHandleBox;


gtk_handle_box_new ()

GtkWidget*          gtk_handle_box_new                  (void);

Returns :


gtk_handle_box_set_shadow_type ()

void                gtk_handle_box_set_shadow_type      (GtkHandleBox *handle_box,
                                                         GtkShadowType type);

handle_box :

type :


gtk_handle_box_set_handle_position ()

void                gtk_handle_box_set_handle_position  (GtkHandleBox *handle_box,
                                                         GtkPositionType position);

handle_box :

position :


gtk_handle_box_set_snap_edge ()

void                gtk_handle_box_set_snap_edge        (GtkHandleBox *handle_box,
                                                         GtkPositionType edge);

handle_box :

edge :


gtk_handle_box_get_handle_position ()

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().

handle_box :

a GtkHandleBox

Returns :

the current handle position.

gtk_handle_box_get_shadow_type ()

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().

handle_box :

a GtkHandleBox

Returns :

the type of shadow currently drawn around the handle box.

gtk_handle_box_get_snap_edge ()

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().

handle_box :

a GtkHandleBox

Returns :

the edge used for determining reattachment, or (GtkPositionType)-1 if this is determined (as per default) from the handle position.

gtk_handle_box_get_child_detached ()

gboolean            gtk_handle_box_get_child_detached   (GtkHandleBox *handle_box);

Whether the handlebox's child is currently detached.

handle_box :

a GtkHandleBox

Returns :

TRUE if the child is currently detached, otherwise FALSE

Since 2.14