more widget files, but no content yet

This commit is contained in:
Jose Maria Celorio 2001-07-04 05:44:11 +00:00
parent df83a51fe0
commit b6b2c5fc02
7 changed files with 89 additions and 7 deletions

View File

@ -8,6 +8,9 @@ pixmaps_DATA = \
table.xpm \
entry.xpm \
notebook.xpm \
togglebutton.xpm \
spinbutton.xpm \
progressbar.xpm \
frame.xpm \
\
selector.xpm \

33
pixmaps/spinbutton.xpm Normal file
View File

@ -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 ..... +",
"+ +",
"+++++++++++++++++++++",
"+++++++++++++++++++++",
"+++++++++++++++++++++",
"+++++++++++++++++++++",
"+++++++++++++++++++++",
"+++++++++++++++++++++"
};

29
pixmaps/togglebutton.xpm Normal file
View File

@ -0,0 +1,29 @@
/* XPM */
static char * togglebutton_xpm[] = {
"21 21 5 1",
" c None",
". c #7B7B7B",
"+ c #FFFFFF",
"@ c #000000",
"# c #C5C2C5",
" ",
" ",
" ",
" ..................+ ",
" .@@@@@@@@@@@@@@@@@+ ",
" .@################+ ",
" .@################+ ",
" .@################+ ",
" .@####@@##@##@####+ ",
" .@###@##@#@.#@####+ ",
" .@###@##@#@@#@####+ ",
" .@###@##@#@#@@####+ ",
" .@###@##@#@#.@####+ ",
" .@####@@##@##@####+ ",
" .@################+ ",
" .@################+ ",
" .@################+ ",
" +++++++++++++++++++ ",
" ",
" ",
" "};

View File

@ -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];

View File

@ -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)

View File

@ -1,17 +1,12 @@
<GladeCatalog>
<GladeWidget>gtkwindow</GladeWidget>
<GladeWidget>gtkmenubar</GladeWidget>
<GladeWidget>gtktoolbar</GladeWidget>
<!-- gtkhandle box ?? -->
<GladeWidget>gtklabel</GladeWidget>
<GladeWidget>gtkentry</GladeWidget>
<GladeWidget>gtkcombobox</GladeWidget>
<GladeWidget>gtkbutton</GladeWidget>
<GladeWidget>gtktogglebutton</GladeWidget>
<GladeWidget>gtkcheckbutton</GladeWidget>
<GladeWidget>gtkradiobutton</GladeWidget>
<GladeWidget>gtkhbox</GladeWidget>
<GladeWidget>gtkvbox</GladeWidget>
@ -19,5 +14,6 @@
<GladeWidget>gtknotebook</GladeWidget>
<GladeWidget>gtkframe</GladeWidget>
<GladeWidget>gtkprogressbar</GladeWidget>
</GladeCatalog>

18
widgets/gtkspinbutton.xml Normal file
View File

@ -0,0 +1,18 @@
<GladeWidgetClass>
<Name>GtkSpinButton</Name>
<GetTypeFunction>gtk_spin_button_get_type</GetTypeFunction>
<GenericName>spinbutton</GenericName>
<Toplevel>False</Toplevel>
<Icon>spinbutton</Icon>
<Properties>
<Property>
<Name>label</Name>
<ParamSpec/>
</Property>
</Properties>
</GladeWidgetClass>