diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am index 1b397c1c..6322d384 100644 --- a/pixmaps/Makefile.am +++ b/pixmaps/Makefile.am @@ -8,6 +8,9 @@ pixmaps_DATA = \ table.xpm \ entry.xpm \ notebook.xpm \ + togglebutton.xpm \ + spinbutton.xpm \ + progressbar.xpm \ frame.xpm \ \ selector.xpm \ diff --git a/pixmaps/spinbutton.xpm b/pixmaps/spinbutton.xpm new file mode 100644 index 00000000..f3a313b1 --- /dev/null +++ b/pixmaps/spinbutton.xpm @@ -0,0 +1,33 @@ +/* XPM */ +static char *spinbutton_xpm[] = { +/* columns rows colors chars-per-pixel */ +"21 21 6 1", +" c Gray0", +". c #7b7b7b", +"X c #d6d6d6", +"o c #b3cece", +"O c Gray100", +"+ c None", +/* pixels */ +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+ +", +"+ OOOOOOOOOOO OOOOO +", +"+ OOOOOOOOOOO OX X. +", +"+ OOOOOOOOOOO O . +", +"+ OOOOOOOOOOO OOOOO +", +"+ OOOOOOOOOOO O . +", +"+ OOOOOOOOOOO OX X. +", +"+ OOOOOOOOOOO ..... +", +"+ +", +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+++++++++++++++++++++", +"+++++++++++++++++++++" +}; diff --git a/pixmaps/togglebutton.xpm b/pixmaps/togglebutton.xpm new file mode 100644 index 00000000..96d40354 --- /dev/null +++ b/pixmaps/togglebutton.xpm @@ -0,0 +1,29 @@ +/* XPM */ +static char * togglebutton_xpm[] = { +"21 21 5 1", +" c None", +". c #7B7B7B", +"+ c #FFFFFF", +"@ c #000000", +"# c #C5C2C5", +" ", +" ", +" ", +" ..................+ ", +" .@@@@@@@@@@@@@@@@@+ ", +" .@################+ ", +" .@################+ ", +" .@################+ ", +" .@####@@##@##@####+ ", +" .@###@##@#@.#@####+ ", +" .@###@##@#@@#@####+ ", +" .@###@##@#@#@@####+ ", +" .@###@##@#@#.@####+ ", +" .@####@@##@##@####+ ", +" .@################+ ", +" .@################+ ", +" .@################+ ", +" +++++++++++++++++++ ", +" ", +" ", +" "}; diff --git a/src/glade-property-class.c b/src/glade-property-class.c index cc698651..54e8648a 100644 --- a/src/glade-property-class.c +++ b/src/glade-property-class.c @@ -158,7 +158,7 @@ glade_property_class_find_spec (GladeWidgetClass *class, const gchar *name) glade_property_class_get_specs (class, &specs, &n_specs); -#if 1 +#if 0 g_print ("Dumping specs for %s\n\n", class->name); for (i = 0; i < n_specs; i++) { spec = specs[i]; diff --git a/widgets/Makefile.am b/widgets/Makefile.am index f79bfd23..3a1fec94 100644 --- a/widgets/Makefile.am +++ b/widgets/Makefile.am @@ -9,6 +9,9 @@ widgets_DATA = \ gtktable.xml \ gtkframe.xml \ gtknotebook.xml \ - gtkentry.xml + gtkentry.xml \ + gtktogglebutton.xml \ + gtkprogressbar.xml \ + gtkspinbutton.xml EXTRA_DIST = $(widgets_DATA) diff --git a/widgets/catalog.xml b/widgets/catalog.xml index 80ae2a52..a98dbfd8 100644 --- a/widgets/catalog.xml +++ b/widgets/catalog.xml @@ -1,17 +1,12 @@ gtkwindow - gtkmenubar - gtktoolbar - gtklabel gtkentry - gtkcombobox gtkbutton gtktogglebutton gtkcheckbutton - gtkradiobutton gtkhbox gtkvbox @@ -19,5 +14,6 @@ gtknotebook gtkframe + gtkprogressbar \ No newline at end of file diff --git a/widgets/gtkspinbutton.xml b/widgets/gtkspinbutton.xml new file mode 100644 index 00000000..cc3e731c --- /dev/null +++ b/widgets/gtkspinbutton.xml @@ -0,0 +1,18 @@ + + GtkSpinButton + gtk_spin_button_get_type + spinbutton + False + spinbutton + + + + label + + + + + + + + \ No newline at end of file