Wrap box assimilation

Some coding style cleanups, rename Priv to Private, add docs
This commit is contained in:
Matthias Clasen 2010-09-01 20:03:30 -04:00
parent 7670b13d19
commit 15ea566813
5 changed files with 1004 additions and 961 deletions

View File

@ -6361,3 +6361,40 @@ GTK_APPLICATION_GET_CLASS
gtk_application_get_type
GtkApplicationPrivate
</SECTION>
<SECTION>
<FILE>gtkwrapbox</FILE>
<TITLE>GtkWrapBox</TITLE>
GtkWrapBox
gtk_wrap_box_new
gtk_wrap_box_insert_child
gtk_wrap_box_reorder_child
GtkWrapAllocationMode
gtk_wrap_box_set_allocation_mode
gtk_wrap_box_get_allocation_mode
GtkWrapBoxSpreading
gtk_wrap_box_set_spreading
gtk_Wrap_box_get_spreading
gtk_wrap_box_set_vertical_spacing
gtk_wrap_box_get_vertical_spacing
gtk_wrap_box_set_horizontal_spacing
gtk_wrap_box_get_horizontal_spacing
gtk_wrap_box_set_minimum_line_children
gtk_wrap_box_get_minimum_line_children
gtk_wrap_box_set_natural_line_children
gtk_wrap_box_get_natural_line_children
<SUBSECTION Standard>
GtkWrapBoxClass
GTK_TYPE_WRAP_BOX
GTK_WRAP_BOX
GTK_WRAP_BOX_CLASS
GTK_IS_WRAP_BOX
GTK_IS_WRAP_BOX_CLASS
GTK_WRAP_BOX_GET_CLASS
<SUBSECTION Private>
gtk_wrap_box_get_type
GtkWrapBoxPrivate
</SECTION>

View File

@ -179,3 +179,4 @@ gtk_vseparator_get_type
gtk_widget_get_type
gtk_window_get_type
gtk_window_group_get_type
gtk_wrap_box_get_type

View File

@ -4491,6 +4491,7 @@ gtk_window_unstick
#if IN_HEADER(__GTK_WRAP_BOX_H__)
#if IN_FILE(__GTK_WRAP_BOX_C__)
gtk_wrap_allocation_mode_get_type
gtk_wrap_box_get_allocation_mode
gtk_wrap_box_get_horizontal_spacing
gtk_wrap_box_get_minimum_line_children
@ -4507,6 +4508,7 @@ gtk_wrap_box_set_minimum_line_children
gtk_wrap_box_set_natural_line_children
gtk_wrap_box_set_spreading
gtk_wrap_box_set_vertical_spacing
gtk_wrap_box_spreading_get_type
#endif
#endif

File diff suppressed because it is too large Load Diff

View File

@ -36,7 +36,7 @@ G_BEGIN_DECLS
#define GTK_WRAP_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WRAP_BOX, GtkWrapBoxClass))
typedef struct _GtkWrapBox GtkWrapBox;
typedef struct _GtkWrapBoxPriv GtkWrapBoxPriv;
typedef struct _GtkWrapBoxPrivate GtkWrapBoxPrivate;
typedef struct _GtkWrapBoxClass GtkWrapBoxClass;
struct _GtkWrapBox
@ -44,7 +44,7 @@ struct _GtkWrapBox
GtkContainer container;
/*< private >*/
GtkWrapBoxPriv *priv;
GtkWrapBoxPrivate *priv;
};
struct _GtkWrapBoxClass
@ -55,45 +55,45 @@ struct _GtkWrapBoxClass
GType gtk_wrap_box_get_type (void) G_GNUC_CONST;
GtkWidget *gtk_wrap_box_new (GtkWrapAllocationMode mode,
GtkWrapBoxSpreading spreading,
guint horizontal_spacing,
guint vertical_spacing);
GtkWrapBoxSpreading spreading,
guint horizontal_spacing,
guint vertical_spacing);
void gtk_wrap_box_set_allocation_mode (GtkWrapBox *layout,
GtkWrapAllocationMode mode);
GtkWrapAllocationMode mode);
GtkWrapAllocationMode gtk_wrap_box_get_allocation_mode (GtkWrapBox *layout);
void gtk_wrap_box_set_spreading (GtkWrapBox *layout,
GtkWrapBoxSpreading spreading);
GtkWrapBoxSpreading spreading);
GtkWrapBoxSpreading gtk_wrap_box_get_spreading (GtkWrapBox *layout);
void gtk_wrap_box_set_vertical_spacing (GtkWrapBox *layout,
guint spacing);
guint spacing);
guint gtk_wrap_box_get_vertical_spacing (GtkWrapBox *layout);
void gtk_wrap_box_set_horizontal_spacing (GtkWrapBox *layout,
guint spacing);
guint spacing);
guint gtk_wrap_box_get_horizontal_spacing (GtkWrapBox *layout);
void gtk_wrap_box_set_minimum_line_children (GtkWrapBox *layout,
guint n_children);
guint n_children);
guint gtk_wrap_box_get_minimum_line_children (GtkWrapBox *layout);
void gtk_wrap_box_set_natural_line_children (GtkWrapBox *layout,
guint n_children);
guint n_children);
guint gtk_wrap_box_get_natural_line_children (GtkWrapBox *layout);
void gtk_wrap_box_insert_child (GtkWrapBox *layout,
GtkWidget *widget,
gint index,
guint xpad,
guint ypad,
gboolean xexpand,
gboolean yexpand,
gboolean xfill,
gboolean yfill);
GtkWidget *widget,
gint index,
guint xpad,
guint ypad,
gboolean xexpand,
gboolean yexpand,
gboolean xfill,
gboolean yfill);
void gtk_wrap_box_reorder_child (GtkWrapBox *layout,
GtkWidget *widget,
guint index);
GtkWidget *widget,
guint index);
G_END_DECLS