GtkBox

Name

GtkBox —

Synopsis


#include <gtk/gtk.h>


struct      GtkBox;
struct      GtkBoxChild;
void        gtk_box_pack_start              (GtkBox *box,
                                             GtkWidget *child,
                                             gboolean expand,
                                             gboolean fill,
                                             guint padding);
void        gtk_box_pack_end                (GtkBox *box,
                                             GtkWidget *child,
                                             gboolean expand,
                                             gboolean fill,
                                             guint padding);
void        gtk_box_pack_start_defaults     (GtkBox *box,
                                             GtkWidget *widget);
void        gtk_box_pack_end_defaults       (GtkBox *box,
                                             GtkWidget *widget);
void        gtk_box_set_homogeneous         (GtkBox *box,
                                             gboolean homogeneous);
void        gtk_box_set_spacing             (GtkBox *box,
                                             gint spacing);
void        gtk_box_reorder_child           (GtkBox *box,
                                             GtkWidget *child,
                                             gint position);
void        gtk_box_query_child_packing     (GtkBox *box,
                                             GtkWidget *child,
                                             gboolean *expand,
                                             gboolean *fill,
                                             guint *padding,
                                             GtkPackType *pack_type);
void        gtk_box_set_child_packing       (GtkBox *box,
                                             GtkWidget *child,
                                             gboolean expand,
                                             gboolean fill,
                                             guint padding,
                                             GtkPackType pack_type);

Object Hierarchy


  GtkObject
   +----GtkWidget
         +----GtkContainer
               +----GtkBox

Args


  "spacing"              gint                 : Read / Write
  "homogeneous"          gboolean             : Read / Write

Description

Details

struct GtkBox

struct GtkBox;


struct GtkBoxChild

struct GtkBoxChild
{
  GtkWidget *widget;
  guint16 padding;
  guint expand : 1;
  guint fill : 1;
  guint pack : 1;
};


gtk_box_pack_start ()

void        gtk_box_pack_start              (GtkBox *box,
                                             GtkWidget *child,
                                             gboolean expand,
                                             gboolean fill,
                                             guint padding);

box : 
child : 
expand : 
fill : 
padding : 


gtk_box_pack_end ()

void        gtk_box_pack_end                (GtkBox *box,
                                             GtkWidget *child,
                                             gboolean expand,
                                             gboolean fill,
                                             guint padding);

box : 
child : 
expand : 
fill : 
padding : 


gtk_box_pack_start_defaults ()

void        gtk_box_pack_start_defaults     (GtkBox *box,
                                             GtkWidget *widget);

box : 
widget : 


gtk_box_pack_end_defaults ()

void        gtk_box_pack_end_defaults       (GtkBox *box,
                                             GtkWidget *widget);

box : 
widget : 


gtk_box_set_homogeneous ()

void        gtk_box_set_homogeneous         (GtkBox *box,
                                             gboolean homogeneous);

box : 
homogeneous : 


gtk_box_set_spacing ()

void        gtk_box_set_spacing             (GtkBox *box,
                                             gint spacing);

box : 
spacing : 


gtk_box_reorder_child ()

void        gtk_box_reorder_child           (GtkBox *box,
                                             GtkWidget *child,
                                             gint position);

box : 
child : 
position : 


gtk_box_query_child_packing ()

void        gtk_box_query_child_packing     (GtkBox *box,
                                             GtkWidget *child,
                                             gboolean *expand,
                                             gboolean *fill,
                                             guint *padding,
                                             GtkPackType *pack_type);

box : 
child : 
expand : 
fill : 
padding : 
pack_type : 


gtk_box_set_child_packing ()

void        gtk_box_set_child_packing       (GtkBox *box,
                                             GtkWidget *child,
                                             gboolean expand,
                                             gboolean fill,
                                             guint padding,
                                             GtkPackType pack_type);

box : 
child : 
expand : 
fill : 
padding : 
pack_type : 

Args

"spacing" (gint : Read / Write)

"homogeneous" (gboolean : Read / Write)