GimpPanedBox

GimpPanedBox

Synopsis

                    GimpPanedBox;
struct              GimpPanedBoxClass;
void                gimp_paned_box_add_widget           (GimpPanedBox *paned_box,
                                                         GtkWidget *widget,
                                                         gint index);
GtkWidget *         gimp_paned_box_new                  (gboolean homogeneous,
                                                         gint spacing,
                                                         GtkOrientation orientation);
void                gimp_paned_box_remove_widget        (GimpPanedBox *paned_box,
                                                         GtkWidget *widget);
void                gimp_paned_box_set_drag_handler     (GimpPanedBox *paned_box,
                                                         GimpPanedBox *drag_handler);
void                gimp_paned_box_set_dropped_cb       (GimpPanedBox *paned_box,
                                                         GimpPanedBoxDroppedFunc dropped_cb,
                                                         gpointer dropped_cb_data);
gboolean            gimp_paned_box_will_handle_drag     (GimpPanedBox *paned_box,
                                                         GtkWidget *widget,
                                                         GdkDragContext *context,
                                                         gint x,
                                                         gint y,
                                                         gint time);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GimpPanedBox

Implemented Interfaces

GimpPanedBox implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Description

Details

GimpPanedBox

typedef struct _GimpPanedBox GimpPanedBox;

A GtkBox with the children separated by "s" and basic docking mechanisms.


struct GimpPanedBoxClass

struct GimpPanedBoxClass {
  GtkBoxClass parent_class;
};


gimp_paned_box_add_widget ()

void                gimp_paned_box_add_widget           (GimpPanedBox *paned_box,
                                                         GtkWidget *widget,
                                                         gint index);

Add a GtkWidget to the GimpPanedBox in a hierarchy of "s" so the space can be manually distributed between the widgets.

paned_box :

A GimpPanedBox

widget :

The GtkWidget to add

index :

Where to add the widget

gimp_paned_box_new ()

GtkWidget *         gimp_paned_box_new                  (gboolean homogeneous,
                                                         gint spacing,
                                                         GtkOrientation orientation);


gimp_paned_box_remove_widget ()

void                gimp_paned_box_remove_widget        (GimpPanedBox *paned_box,
                                                         GtkWidget *widget);

Remove a GtkWidget from a GimpPanedBox added with gimp_widgets_add_paned_widget().

paned_box :

A GimpPanedBox

widget :

The GtkWidget to remove

gimp_paned_box_set_drag_handler ()

void                gimp_paned_box_set_drag_handler     (GimpPanedBox *paned_box,
                                                         GimpPanedBox *drag_handler);


gimp_paned_box_set_dropped_cb ()

void                gimp_paned_box_set_dropped_cb       (GimpPanedBox *paned_box,
                                                         GimpPanedBoxDroppedFunc dropped_cb,
                                                         gpointer dropped_cb_data);


gimp_paned_box_will_handle_drag ()

gboolean            gimp_paned_box_will_handle_drag     (GimpPanedBox *paned_box,
                                                         GtkWidget *widget,
                                                         GdkDragContext *context,
                                                         gint x,
                                                         gint y,
                                                         gint time);

paned_box :

A GimpPanedBox

widget :

The widget that got the drag event

context :

Context from drag event

x :

x from drag event

y :

y from drag event

time :

time from drag event

Returns :

TRUE if the drag event on widget will be handled by paned_box.