Commit 742d0190 authored by Tim Janik's avatar Tim Janik

boy! did i really modify that many files?

anyways, here go the child args and a lot of cleanups ;)
you wouldn't want me to put the ChangeLog entry in here, would you?
parent d36df18d
Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
!= 0 on the argument.
* gtk/gtktable.h:
* gtk/gtktable.c: new function gtk_table_resize() which allowes
shrinking and expanding of tables. implementation of widget arguments
and child arguments. many signedness corrections.
Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
not only the child, otherwise we might end up taking away other
childrens space after the resize.
* gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
an unknown menu path from any source, that path must always be flagged
as "modified", since we don't really know whether it has its default
value or not.
* gtk/gtktree.c:
* gtk/gtkpacker.c:
* gtk/gtknotebook.c:
* gtk/gtkmenushell.c:
* gtk/gtklist.c:
* gtk/gtkpaned.c:
* gtk/gtkfixed.c:
* gtk/gtkbutton.c: implement gtk_*_child_type functions.
* gtk/gtkbox.h:
* gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
arguments. implemented child arguments.
* more GtkType and macro fixups.
Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckbutton.h: GtkType and macro fixups.
* gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
and gtk_clist_get_hadjustment.
* gtk/gtkcontainer.c:
implementation of children arguments, new class member functions
(child_type), (get_child_arg) and (set_child_arg) plus a new field
n_child_args.
(gtk_container_child_type): new function which returns the type of a
child that the container expects for its next addition.
(gtk_container_add_child_arg_type): new function to introduce a new
child argument at class creation time.
(gtk_container_query_child_args): new function to query all child
arguments that are supported by a container class.
(gtk_container_child_arg_getv): new fucntion to retrive the value of a
child argument.
(gtk_container_child_arg_setv): new function to set a child argument for
a certain container and child combination.
(gtk_container_add_with_args):
(gtk_container_add_with_argv): new functions to feature addition of a
new child in combination with the setting of certain child arguments.
* gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
this should really be done through class cretion hooks some day.
* gtk/gtkcontainer.c: changed type of border_width from gint16 to
guint : 16.
* gtk/gtkpacker.h:
* gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
follow the gtk convention for lower case variable names (important
for language wrappers and widget arguments), and made them guint : 16.
* examples/packer/pack.c: adaptions for the case converted GtkPacker
fields.
Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
change the character pair for single line comments.
(gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
GtkItemFactoryClass.
(gtk_item_factory_parse_rc_string): likewise.
Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Moved font
......
Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
!= 0 on the argument.
* gtk/gtktable.h:
* gtk/gtktable.c: new function gtk_table_resize() which allowes
shrinking and expanding of tables. implementation of widget arguments
and child arguments. many signedness corrections.
Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
not only the child, otherwise we might end up taking away other
childrens space after the resize.
* gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
an unknown menu path from any source, that path must always be flagged
as "modified", since we don't really know whether it has its default
value or not.
* gtk/gtktree.c:
* gtk/gtkpacker.c:
* gtk/gtknotebook.c:
* gtk/gtkmenushell.c:
* gtk/gtklist.c:
* gtk/gtkpaned.c:
* gtk/gtkfixed.c:
* gtk/gtkbutton.c: implement gtk_*_child_type functions.
* gtk/gtkbox.h:
* gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
arguments. implemented child arguments.
* more GtkType and macro fixups.
Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckbutton.h: GtkType and macro fixups.
* gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
and gtk_clist_get_hadjustment.
* gtk/gtkcontainer.c:
implementation of children arguments, new class member functions
(child_type), (get_child_arg) and (set_child_arg) plus a new field
n_child_args.
(gtk_container_child_type): new function which returns the type of a
child that the container expects for its next addition.
(gtk_container_add_child_arg_type): new function to introduce a new
child argument at class creation time.
(gtk_container_query_child_args): new function to query all child
arguments that are supported by a container class.
(gtk_container_child_arg_getv): new fucntion to retrive the value of a
child argument.
(gtk_container_child_arg_setv): new function to set a child argument for
a certain container and child combination.
(gtk_container_add_with_args):
(gtk_container_add_with_argv): new functions to feature addition of a
new child in combination with the setting of certain child arguments.
* gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
this should really be done through class cretion hooks some day.
* gtk/gtkcontainer.c: changed type of border_width from gint16 to
guint : 16.
* gtk/gtkpacker.h:
* gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
follow the gtk convention for lower case variable names (important
for language wrappers and widget arguments), and made them guint : 16.
* examples/packer/pack.c: adaptions for the case converted GtkPacker
fields.
Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
change the character pair for single line comments.
(gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
GtkItemFactoryClass.
(gtk_item_factory_parse_rc_string): likewise.
Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Moved font
......
Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
!= 0 on the argument.
* gtk/gtktable.h:
* gtk/gtktable.c: new function gtk_table_resize() which allowes
shrinking and expanding of tables. implementation of widget arguments
and child arguments. many signedness corrections.
Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
not only the child, otherwise we might end up taking away other
childrens space after the resize.
* gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
an unknown menu path from any source, that path must always be flagged
as "modified", since we don't really know whether it has its default
value or not.
* gtk/gtktree.c:
* gtk/gtkpacker.c:
* gtk/gtknotebook.c:
* gtk/gtkmenushell.c:
* gtk/gtklist.c:
* gtk/gtkpaned.c:
* gtk/gtkfixed.c:
* gtk/gtkbutton.c: implement gtk_*_child_type functions.
* gtk/gtkbox.h:
* gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
arguments. implemented child arguments.
* more GtkType and macro fixups.
Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckbutton.h: GtkType and macro fixups.
* gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
and gtk_clist_get_hadjustment.
* gtk/gtkcontainer.c:
implementation of children arguments, new class member functions
(child_type), (get_child_arg) and (set_child_arg) plus a new field
n_child_args.
(gtk_container_child_type): new function which returns the type of a
child that the container expects for its next addition.
(gtk_container_add_child_arg_type): new function to introduce a new
child argument at class creation time.
(gtk_container_query_child_args): new function to query all child
arguments that are supported by a container class.
(gtk_container_child_arg_getv): new fucntion to retrive the value of a
child argument.
(gtk_container_child_arg_setv): new function to set a child argument for
a certain container and child combination.
(gtk_container_add_with_args):
(gtk_container_add_with_argv): new functions to feature addition of a
new child in combination with the setting of certain child arguments.
* gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
this should really be done through class cretion hooks some day.
* gtk/gtkcontainer.c: changed type of border_width from gint16 to
guint : 16.
* gtk/gtkpacker.h:
* gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
follow the gtk convention for lower case variable names (important
for language wrappers and widget arguments), and made them guint : 16.
* examples/packer/pack.c: adaptions for the case converted GtkPacker
fields.
Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
change the character pair for single line comments.
(gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
GtkItemFactoryClass.
(gtk_item_factory_parse_rc_string): likewise.
Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Moved font
......
Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
!= 0 on the argument.
* gtk/gtktable.h:
* gtk/gtktable.c: new function gtk_table_resize() which allowes
shrinking and expanding of tables. implementation of widget arguments
and child arguments. many signedness corrections.
Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
not only the child, otherwise we might end up taking away other
childrens space after the resize.
* gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
an unknown menu path from any source, that path must always be flagged
as "modified", since we don't really know whether it has its default
value or not.
* gtk/gtktree.c:
* gtk/gtkpacker.c:
* gtk/gtknotebook.c:
* gtk/gtkmenushell.c:
* gtk/gtklist.c:
* gtk/gtkpaned.c:
* gtk/gtkfixed.c:
* gtk/gtkbutton.c: implement gtk_*_child_type functions.
* gtk/gtkbox.h:
* gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
arguments. implemented child arguments.
* more GtkType and macro fixups.
Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckbutton.h: GtkType and macro fixups.
* gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
and gtk_clist_get_hadjustment.
* gtk/gtkcontainer.c:
implementation of children arguments, new class member functions
(child_type), (get_child_arg) and (set_child_arg) plus a new field
n_child_args.
(gtk_container_child_type): new function which returns the type of a
child that the container expects for its next addition.
(gtk_container_add_child_arg_type): new function to introduce a new
child argument at class creation time.
(gtk_container_query_child_args): new function to query all child
arguments that are supported by a container class.
(gtk_container_child_arg_getv): new fucntion to retrive the value of a
child argument.
(gtk_container_child_arg_setv): new function to set a child argument for
a certain container and child combination.
(gtk_container_add_with_args):
(gtk_container_add_with_argv): new functions to feature addition of a
new child in combination with the setting of certain child arguments.
* gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
this should really be done through class cretion hooks some day.
* gtk/gtkcontainer.c: changed type of border_width from gint16 to
guint : 16.
* gtk/gtkpacker.h:
* gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
follow the gtk convention for lower case variable names (important
for language wrappers and widget arguments), and made them guint : 16.
* examples/packer/pack.c: adaptions for the case converted GtkPacker
fields.
Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
change the character pair for single line comments.
(gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
GtkItemFactoryClass.
(gtk_item_factory_parse_rc_string): likewise.
Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Moved font
......
Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
!= 0 on the argument.
* gtk/gtktable.h:
* gtk/gtktable.c: new function gtk_table_resize() which allowes
shrinking and expanding of tables. implementation of widget arguments
and child arguments. many signedness corrections.
Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
not only the child, otherwise we might end up taking away other
childrens space after the resize.
* gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
an unknown menu path from any source, that path must always be flagged
as "modified", since we don't really know whether it has its default
value or not.
* gtk/gtktree.c:
* gtk/gtkpacker.c:
* gtk/gtknotebook.c:
* gtk/gtkmenushell.c:
* gtk/gtklist.c:
* gtk/gtkpaned.c:
* gtk/gtkfixed.c:
* gtk/gtkbutton.c: implement gtk_*_child_type functions.
* gtk/gtkbox.h:
* gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
arguments. implemented child arguments.
* more GtkType and macro fixups.
Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckbutton.h: GtkType and macro fixups.
* gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
and gtk_clist_get_hadjustment.
* gtk/gtkcontainer.c:
implementation of children arguments, new class member functions
(child_type), (get_child_arg) and (set_child_arg) plus a new field
n_child_args.
(gtk_container_child_type): new function which returns the type of a
child that the container expects for its next addition.
(gtk_container_add_child_arg_type): new function to introduce a new
child argument at class creation time.
(gtk_container_query_child_args): new function to query all child
arguments that are supported by a container class.
(gtk_container_child_arg_getv): new fucntion to retrive the value of a
child argument.
(gtk_container_child_arg_setv): new function to set a child argument for
a certain container and child combination.
(gtk_container_add_with_args):
(gtk_container_add_with_argv): new functions to feature addition of a
new child in combination with the setting of certain child arguments.
* gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
this should really be done through class cretion hooks some day.
* gtk/gtkcontainer.c: changed type of border_width from gint16 to
guint : 16.
* gtk/gtkpacker.h:
* gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
follow the gtk convention for lower case variable names (important
for language wrappers and widget arguments), and made them guint : 16.
* examples/packer/pack.c: adaptions for the case converted GtkPacker
fields.
Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
change the character pair for single line comments.
(gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
GtkItemFactoryClass.
(gtk_item_factory_parse_rc_string): likewise.
Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Moved font
......
Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
!= 0 on the argument.
* gtk/gtktable.h:
* gtk/gtktable.c: new function gtk_table_resize() which allowes
shrinking and expanding of tables. implementation of widget arguments
and child arguments. many signedness corrections.
Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
not only the child, otherwise we might end up taking away other
childrens space after the resize.
* gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
an unknown menu path from any source, that path must always be flagged
as "modified", since we don't really know whether it has its default
value or not.
* gtk/gtktree.c:
* gtk/gtkpacker.c:
* gtk/gtknotebook.c:
* gtk/gtkmenushell.c:
* gtk/gtklist.c:
* gtk/gtkpaned.c:
* gtk/gtkfixed.c:
* gtk/gtkbutton.c: implement gtk_*_child_type functions.
* gtk/gtkbox.h:
* gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
arguments. implemented child arguments.
* more GtkType and macro fixups.
Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckbutton.h: GtkType and macro fixups.
* gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
and gtk_clist_get_hadjustment.
* gtk/gtkcontainer.c:
implementation of children arguments, new class member functions
(child_type), (get_child_arg) and (set_child_arg) plus a new field
n_child_args.
(gtk_container_child_type): new function which returns the type of a
child that the container expects for its next addition.
(gtk_container_add_child_arg_type): new function to introduce a new
child argument at class creation time.
(gtk_container_query_child_args): new function to query all child
arguments that are supported by a container class.
(gtk_container_child_arg_getv): new fucntion to retrive the value of a
child argument.
(gtk_container_child_arg_setv): new function to set a child argument for
a certain container and child combination.
(gtk_container_add_with_args):
(gtk_container_add_with_argv): new functions to feature addition of a
new child in combination with the setting of certain child arguments.
* gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
this should really be done through class cretion hooks some day.
* gtk/gtkcontainer.c: changed type of border_width from gint16 to
guint : 16.
* gtk/gtkpacker.h:
* gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
follow the gtk convention for lower case variable names (important
for language wrappers and widget arguments), and made them guint : 16.
* examples/packer/pack.c: adaptions for the case converted GtkPacker
fields.
Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
change the character pair for single line comments.
(gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
GtkItemFactoryClass.
(gtk_item_factory_parse_rc_string): likewise.
Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Moved font
......
Tue Jun 16 06:29:57 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
!= 0 on the argument.
* gtk/gtktable.h:
* gtk/gtktable.c: new function gtk_table_resize() which allowes
shrinking and expanding of tables. implementation of widget arguments
and child arguments. many signedness corrections.
Mon Jun 15 04:15:03 1998 Tim Janik <timj@gtk.org>
* gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
not only the child, otherwise we might end up taking away other
childrens space after the resize.
* gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
an unknown menu path from any source, that path must always be flagged
as "modified", since we don't really know whether it has its default
value or not.
* gtk/gtktree.c:
* gtk/gtkpacker.c:
* gtk/gtknotebook.c:
* gtk/gtkmenushell.c:
* gtk/gtklist.c:
* gtk/gtkpaned.c:
* gtk/gtkfixed.c:
* gtk/gtkbutton.c: implement gtk_*_child_type functions.
* gtk/gtkbox.h:
* gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
arguments. implemented child arguments.
* more GtkType and macro fixups.
Sun Jun 14 16:30:02 1998 Tim Janik <timj@gtk.org>
* gtk/gtkcheckbutton.h: GtkType and macro fixups.
* gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
and gtk_clist_get_hadjustment.
* gtk/gtkcontainer.c:
implementation of children arguments, new class member functions
(child_type), (get_child_arg) and (set_child_arg) plus a new field
n_child_args.
(gtk_container_child_type): new function which returns the type of a
child that the container expects for its next addition.
(gtk_container_add_child_arg_type): new function to introduce a new
child argument at class creation time.
(gtk_container_query_child_args): new function to query all child
arguments that are supported by a container class.
(gtk_container_child_arg_getv): new fucntion to retrive the value of a
child argument.
(gtk_container_child_arg_setv): new function to set a child argument for
a certain container and child combination.
(gtk_container_add_with_args):
(gtk_container_add_with_argv): new functions to feature addition of a
new child in combination with the setting of certain child arguments.
* gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
this should really be done through class cretion hooks some day.
* gtk/gtkcontainer.c: changed type of border_width from gint16 to
guint : 16.
* gtk/gtkpacker.h:
* gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
follow the gtk convention for lower case variable names (important
for language wrappers and widget arguments), and made them guint : 16.
* examples/packer/pack.c: adaptions for the case converted GtkPacker
fields.
Fri Jun 12 16:33:23 1998 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
change the character pair for single line comments.
(gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
GtkItemFactoryClass.
(gtk_item_factory_parse_rc_string): likewise.
Mon Jun 15 23:39:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init): Moved font
......
......@@ -395,10 +395,10 @@ toggle_options (GtkWidget *widget, gpointer data)
pchild->anchor,
fillx | filly | expand,
pchild->border_width,
pchild->padX,
pchild->padY,
pchild->iPadX,
pchild->iPadY);
pchild->pad_x,
pchild->pad_y,
pchild->i_pad_x,
pchild->i_pad_y);
}
void
......@@ -425,10 +425,10 @@ toggle_anchor (GtkWidget *widget, gpointer data)
anchor,
pchild->options,
pchild->border_width,
pchild->padX,
pchild->padY,
pchild->iPadX,
pchild->iPadY);
pchild->pad_x,
pchild->pad_y,
pchild->i_pad_x,
pchild->i_pad_y);
if (info->button_n != widget) {
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(info->button_n),0);
......@@ -495,10 +495,10 @@ toggle_side (GtkWidget *widget, gpointer data)
pchild->anchor,
pchild->options,
pchild->border_width,
pchild->padX,
pchild->padY,
pchild->iPadX,
pchild->iPadY);
pchild->pad_x,
pchild->pad_y,
pchild->i_pad_x,
pchild->i_pad_y);
if (info->button_top != widget) {
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(info->button_top),0);
......
;; generated by makeenums.awk ; -*- scheme -*-
;; generated by makeenums.pl ; -*- scheme -*-
; enumerations from "../../gtk+/gtk/gtkclist.h"
; enumerations from "./gtkclist.h"
(define-enum GtkCellType
(empty GTK_CELL_EMPTY)
......@@ -10,7 +10,7 @@
(pixtext GTK_CELL_PIXTEXT)
(widget GTK_CELL_WIDGET))
; enumerations from "../../gtk+/gtk/gtkctree.h"
; enumerations from "./gtkctree.h"
(define-enum GtkCTreePos
(before GTK_CTREE_POS_BEFORE)
......@@ -22,14 +22,14 @@
(dotted GTK_CTREE_LINES_DOTTED)
(none GTK_CTREE_LINES_NONE))
; enumerations from "../../gtk+/gtk/gtkdebug.h"
; enumerations from "./gtkdebug.h"
(define-flags GtkDebugFlag
(objects GTK_DEBUG_OBJECTS)
(misc GTK_DEBUG_MISC)
(signals GTK_DEBUG_SIGNALS))
; enumerations from "../../gtk+/gtk/gtkenums.h"
; enumerations from "./gtkenums.h"
(define-flags GtkAccelFlags
(visible GTK_ACCEL_VISIBLE)
......@@ -206,13 +206,13 @@
(dialog GTK_WINDOW_DIALOG)
(popup GTK_WINDOW_POPUP))
; enumerations from "../../gtk+/gtk/gtkfontsel.h"
; enumerations from "./gtkfontsel.h"
(define-enum GtkFontMetricType
(ixels-metric PIXELS_METRIC)
(oints-metric POINTS_METRIC))
; enumerations from "../../gtk+/gtk/gtkobject.h"
; enumerations from "./gtkobject.h"
(define-flags GtkObjectFlags
(destroyed GTK_DESTROYED)
......@@ -225,10 +225,11 @@
(readable GTK_ARG_READABLE)
(writable GTK_ARG_WRITABLE)
(construct GTK_ARG_CONSTRUCT)
(child-arg GTK_ARG_CHILD_ARG)
(mask GTK_ARG_MASK)
(readwrite GTK_ARG_READWRITE))
; enumerations from "../../gtk+/gtk/gtkpacker.h"
; enumerations from "./gtkpacker.h"
(define-flags GtkPackerOptions
(expand GTK_PACK_EXPAND)
......@@ -243,6 +244,14 @@
(define-enum GtkAnchorType
(center GTK_ANCHOR_CENTER)
(north GTK_ANCHOR_NORTH)
(north-west GTK_ANCHOR_NORTH_WEST)
(north-east GTK_ANCHOR_NORTH_EAST)
(south GTK_ANCHOR_SOUTH)
(south-west GTK_ANCHOR_SOUTH_WEST)
(south-east GTK_ANCHOR_SOUTH_EAST)
(west GTK_ANCHOR_WEST)
(east GTK_ANCHOR_EAST)
(n GTK_ANCHOR_N)
(nw GTK_ANCHOR_NW)
(ne GTK_ANCHOR_NE)
......@@ -252,7 +261,7 @@
(w GTK_ANCHOR_W)
(e GTK_ANCHOR_E))
; enumerations from "../../gtk+/gtk/gtkprivate.h"
; enumerations from "./gtkprivate.h"
(define-flags GtkPrivateFlags
(user-style PRIVATE_GTK_USER_STYLE)
......@@ -263,14 +272,14 @@
(has-shape-mask PRIVATE_GTK_HAS_SHAPE_MASK)
(in-reparent PRIVATE_GTK_IN_REPARENT))
; enumerations from "../../gtk+/gtk/gtkspinbutton.h"
; enumerations from "./gtkspinbutton.h"
(define-flags GtkSpinButtonUpdatePolicy
(always GTK_UPDATE_ALWAYS)
(if-valid GTK_UPDATE_IF_VALID)
(snap-to-ticks GTK_UPDATE_SNAP_TO_TICKS))
; enumerations from "../../gtk+/gtk/gtktoolbar.h"
; enumerations from "./gtktoolbar.h"
(define-enum GtkToolbarChildType
(space GTK_TOOLBAR_CHILD_SPACE)
......@@ -279,13 +288,13 @@