mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-12-05 00:04:03 -05:00
Ignored the ParamSpec "name". We should solve this problem with a better
2001-11-21 Carlos Perell Marn <carlos@gnome-db.org>
* src/glade-property-class.c (glade_property_class_get_type_from_spec):
Ignored the ParamSpec "name". We should solve this problem with a
better solution. The problem is that at .xml file we don't have
a property "name" we have it outside the Property section.
2001-11-20 Carlos Perell Marn <carlos@gnome-db.org>
* src/glade-property-class.*
(glade_property_class_make_string_from_gvalue): Implemented the ENUM
type. We have change the first arg to get a GladePropertyClass instead
a GladePropertyType to do it.
(glade_property_class_make_gvalue_from_string): ditto.
2001-11-16 Carlos Perell Marn <carlos@gnome-db.org>
* src/glade-project-view.c (glade_project_view_button_press_cb): Fixed
the gtk_tree_view_get_path_at_pos API change.
* src/glade-property-class.c: /s/g_param_get_nick/g_param_spec_get_nick/ /s/g_param_get_blurb/g_param_spec_get_blurb/ to fix an API change.
* pixmaps/*.xpm: Added lot of pixmaps from glade1
* src/glade-gtk.c, src/glade-placeholder.c: Started the GtkDialog
support.
2001-11-11 Carlos Perell Marn <carlos@gnome-db.org>
* src/glade-property-class.* (glade_property_class_list_properties):
Added this function, it returns a GList of properties from GParamSpec.
* src/glade-property-class.* (glade_property_class_list_new_from_node):
Renamed to glade_property_class_list_add_from_node. It gets a GList like the glade_property_class_list_properties one and add the defaults &&
new properties from .xml files.
* src/glade-widget-clas.* (glade_widget_class_get_specs): Changed as a
public function, we need it at glade-property-class.c
2001-11-07 Carlos Perell Marn <carlos@gnome-db.org>
* pixmaps/custom.xpm: Added the custom pixmap to put it as the default
one if a widget has not a pixmap.
* src/glade-widget-class.c (glade_widget_class_create_pixmap): If we
don't find the pixmap for one widget, we use the default one.
* widgets/*.xml: Added all the remain gtk widgets but the deprecated
ones, we should start adding support for all those widgets.
This commit is contained in:
parent
bea04c1978
commit
7b58ce88d8
45
ChangeLog
45
ChangeLog
@ -1,3 +1,48 @@
|
||||
2001-11-21 Carlos Perelló Marín <carlos@gnome-db.org>
|
||||
|
||||
* src/glade-property-class.c (glade_property_class_get_type_from_spec):
|
||||
Ignored the ParamSpec "name". We should solve this problem with a
|
||||
better solution. The problem is that at .xml file we don't have
|
||||
a property "name" we have it outside the Property section.
|
||||
|
||||
2001-11-20 Carlos Perelló Marín <carlos@gnome-db.org>
|
||||
|
||||
* src/glade-property-class.*
|
||||
(glade_property_class_make_string_from_gvalue): Implemented the ENUM
|
||||
type. We have change the first arg to get a GladePropertyClass instead
|
||||
a GladePropertyType to do it.
|
||||
(glade_property_class_make_gvalue_from_string): ditto.
|
||||
|
||||
2001-11-16 Carlos Perelló Marín <carlos@gnome-db.org>
|
||||
|
||||
* src/glade-project-view.c (glade_project_view_button_press_cb): Fixed
|
||||
the gtk_tree_view_get_path_at_pos API change.
|
||||
* src/glade-property-class.c: /s/g_param_get_nick/g_param_spec_get_nick/
|
||||
/s/g_param_get_blurb/g_param_spec_get_blurb/ to fix an API change.
|
||||
* pixmaps/*.xpm: Added lot of pixmaps from glade1
|
||||
* src/glade-gtk.c, src/glade-placeholder.c: Started the GtkDialog
|
||||
support.
|
||||
|
||||
2001-11-11 Carlos Perelló Marín <carlos@gnome-db.org>
|
||||
|
||||
* src/glade-property-class.* (glade_property_class_list_properties):
|
||||
Added this function, it returns a GList of properties from GParamSpec.
|
||||
* src/glade-property-class.* (glade_property_class_list_new_from_node):
|
||||
Renamed to glade_property_class_list_add_from_node. It gets a GList like
|
||||
the glade_property_class_list_properties one and add the defaults &&
|
||||
new properties from .xml files.
|
||||
* src/glade-widget-clas.* (glade_widget_class_get_specs): Changed as a
|
||||
public function, we need it at glade-property-class.c
|
||||
|
||||
2001-11-07 Carlos Perelló Marín <carlos@gnome-db.org>
|
||||
|
||||
* pixmaps/custom.xpm: Added the custom pixmap to put it as the default
|
||||
one if a widget has not a pixmap.
|
||||
* src/glade-widget-class.c (glade_widget_class_create_pixmap): If we
|
||||
don't find the pixmap for one widget, we use the default one.
|
||||
* widgets/*.xml: Added all the remain gtk widgets but the deprecated
|
||||
ones, we should start adding support for all those widgets.
|
||||
|
||||
2001-11-04 Carlos Perelló Marín <carlos@gnome-db.org>
|
||||
|
||||
* src/main.c: Added a call to bind_textdomain_codeset to
|
||||
|
||||
@ -2,6 +2,8 @@ pixmaps_DATA = \
|
||||
window.xpm \
|
||||
button.xpm \
|
||||
checkbutton.xpm \
|
||||
custom.xpm \
|
||||
dialog.xpm \
|
||||
vbox.xpm \
|
||||
hbox.xpm \
|
||||
label.xpm \
|
||||
@ -18,8 +20,42 @@ pixmaps_DATA = \
|
||||
vseparator.xpm \
|
||||
handlebox.xpm \
|
||||
optionmenu.xpm \
|
||||
\
|
||||
selector.xpm \
|
||||
placeholder.xpm
|
||||
placeholder.xpm \
|
||||
accellabel.xpm \
|
||||
alignment.xpm \
|
||||
arrow.xpm \
|
||||
aspectframe.xpm \
|
||||
calendar.xpm \
|
||||
colorselection.xpm \
|
||||
colorselectiondialog.xpm \
|
||||
curve.xpm \
|
||||
drawingarea.xpm \
|
||||
eventbox.xpm \
|
||||
fileselection.xpm \
|
||||
fixed.xpm \
|
||||
fontselection.xpm \
|
||||
fontselectiondialog.xpm \
|
||||
gammacurve.xpm \
|
||||
hbuttonbox.xpm \
|
||||
hpaned.xpm \
|
||||
hruler.xpm \
|
||||
hscale.xpm \
|
||||
hscrollbar.xpm \
|
||||
image.xpm \
|
||||
inputdialog.xpm \
|
||||
layout.xpm \
|
||||
menubar.xpm \
|
||||
scrolledwindow.xpm \
|
||||
statusbar.xpm \
|
||||
textview.xpm \
|
||||
toolbar.xpm \
|
||||
treeview.xpm \
|
||||
vbuttonbox.xpm \
|
||||
viewport.xpm \
|
||||
vpaned.xpm \
|
||||
vruler.xpm \
|
||||
vscale.xpm \
|
||||
vscrollbar.xpm
|
||||
|
||||
EXTRA_DIST = $(pixmaps_DATA)
|
||||
|
||||
26
pixmaps/accellabel.xpm
Normal file
26
pixmaps/accellabel.xpm
Normal file
@ -0,0 +1,26 @@
|
||||
/* XPM */
|
||||
static char * accellabel_xpm[] = {
|
||||
"21 21 2 1",
|
||||
" c None",
|
||||
". c #000000",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ... . ",
|
||||
" . .. ",
|
||||
" . . . ",
|
||||
" .. .. . ",
|
||||
" .... . . ",
|
||||
" .... . ... ",
|
||||
" ...... ",
|
||||
" .. ... ",
|
||||
" .. .... ",
|
||||
" ........ ",
|
||||
" ........ ",
|
||||
" . ... ",
|
||||
" ... ..... ",
|
||||
" .... ...... ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "};
|
||||
33
pixmaps/alignment.xpm
Normal file
33
pixmaps/alignment.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *alignment_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 */
|
||||
"++++++++++++ ++++++++",
|
||||
"+++++++++++ +++++++",
|
||||
"++++++++++ + + ++++++",
|
||||
"++++++++++++ ++++++++",
|
||||
"++++++++++++ ++++++++",
|
||||
"++++++++++ + + ++++++",
|
||||
"+++++++++++ +++++++",
|
||||
"++++++++++++ ++++++++",
|
||||
"++++++++OOOOOOOOO +++",
|
||||
"++++++++OXXXXXXX. +++",
|
||||
"++ ++ ++OXXXXXXX. +++",
|
||||
"+ ++++ +OXXXXXXX. +++",
|
||||
" OXXXXXXX. +++",
|
||||
"+ ++++ +OXXXXXXX. +++",
|
||||
"++ ++ ++OXXXXXXX. +++",
|
||||
"++++++++O........ +++",
|
||||
"++++++++ +++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++"
|
||||
};
|
||||
32
pixmaps/arrow.xpm
Normal file
32
pixmaps/arrow.xpm
Normal file
@ -0,0 +1,32 @@
|
||||
/* XPM */
|
||||
static char *arrow_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 5 1",
|
||||
" c Gray0",
|
||||
". c #d6d6d6",
|
||||
"X c #b3cece",
|
||||
"o c Gray100",
|
||||
"O c None",
|
||||
/* pixels */
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOooOOOOOOOOOOOOOOOO",
|
||||
"OOOo.ooOOOOOOOOOOOOOO",
|
||||
"OOOo...ooOOOOOOOOOOOO",
|
||||
"OOOo.....ooOOOOOOOOOO",
|
||||
"OOOo.......ooOOOOOOOO",
|
||||
"OOOo.........ooOOOOOO",
|
||||
"OOOo........... OOOO",
|
||||
"OOOo......... OOOOOO",
|
||||
"OOOo....... OOOOOOOO",
|
||||
"OOOo..... OOOOOOOOOO",
|
||||
"OOOo... OOOOOOOOOOOO",
|
||||
"OOOo. OOOOOOOOOOOOOO",
|
||||
"OOOo OOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO"
|
||||
};
|
||||
33
pixmaps/aspectframe.xpm
Normal file
33
pixmaps/aspectframe.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *aspectframe_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 */
|
||||
"+++++++++++++++++++++",
|
||||
"+++++ + +++++++++++",
|
||||
"+...X X X X......O+",
|
||||
"+.OOX X X XOOOOO.O+",
|
||||
"+.OXX X X XXXXXX.O+",
|
||||
"+.OXXXXXXXXXXXXXXX.O+",
|
||||
"+.OXXXXXXX.XXXXXXX.O+",
|
||||
"+.OXXXXXX...XXXXXX.O+",
|
||||
"+.OXXXXX.X.X.XXXXX.O+",
|
||||
"+.OXXXXXXX.XXXXXXX.O+",
|
||||
"+.OXX.XXXX.XXXX.XX.O+",
|
||||
"+.OX.XXXXX.XXXXX.X.O+",
|
||||
"+.O................O+",
|
||||
"+.OX.XXXXX.XXXXX.X.O+",
|
||||
"+.OXX.XXXX.XXXX.XX.O+",
|
||||
"+.OXXXXX.X.X.XXXXX.O+",
|
||||
"+.OXXXXXX...XXXXXX.O+",
|
||||
"+.OXXXXXXX.XXXXXXX.O+",
|
||||
"+..................O+",
|
||||
"+OOOOOOOOOOOOOOOOOOO+",
|
||||
"+++++++++++++++++++++"
|
||||
};
|
||||
29
pixmaps/calendar.xpm
Normal file
29
pixmaps/calendar.xpm
Normal file
@ -0,0 +1,29 @@
|
||||
/* XPM */
|
||||
static char * calendar_xpm[] = {
|
||||
"21 21 5 1",
|
||||
" c None",
|
||||
". c #000000",
|
||||
"+ c #DEDEDE",
|
||||
"@ c #FFFFFF",
|
||||
"# c #DFDFDF",
|
||||
" ",
|
||||
".....................",
|
||||
".+++++++++++++++++++.",
|
||||
".+..+..+..+..+..+..+.",
|
||||
".+++++++++++++++++++.",
|
||||
".....................",
|
||||
".@@@@@@@@@@@@@@@@@@@.",
|
||||
".@@+@@.@@.@@.@@.@@.@.",
|
||||
".@@@@@@@@@@@@@@@@@@@.",
|
||||
".@@.@@.@@.@@.@@.@@.@.",
|
||||
".@@@@@@@@@@@@@@@@@@@.",
|
||||
".@@.@@.@@.@@.@@.@@.@.",
|
||||
".@@@@@@@@@@@@@@@@@@@.",
|
||||
".@@.@@.@@.@@.@@.@@.@.",
|
||||
".@@@@@@@@@@@@@@@@@@@.",
|
||||
".@@.@@.@@.@@+@@+@@+@.",
|
||||
".@@@@@@@@@@@@@@@@@@@.",
|
||||
".@@+@@+@@+@@+@@+@@#@.",
|
||||
".@@@@@@@@@@@@@@@@@@@.",
|
||||
".....................",
|
||||
" "};
|
||||
35
pixmaps/colorselection.xpm
Normal file
35
pixmaps/colorselection.xpm
Normal file
@ -0,0 +1,35 @@
|
||||
/* XPM */
|
||||
static char *colorselection_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 8 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c Blue",
|
||||
"o c Green",
|
||||
"O c Red",
|
||||
"+ c #b3cece",
|
||||
"@ c Gray100",
|
||||
"# c None",
|
||||
/* pixels */
|
||||
"#####################",
|
||||
"#####################",
|
||||
"#####################",
|
||||
"#####################",
|
||||
"#####################",
|
||||
"##................###",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##.@@OOOoooXXX@@@. ##",
|
||||
"##.@@OOOoooXXX@@@. ##",
|
||||
"##.@@OOOoooXXX@@@. ##",
|
||||
"##.@@OOOoooXXX@@@. ##",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##................ ##",
|
||||
"### ##",
|
||||
"#####################",
|
||||
"#####################",
|
||||
"#####################"
|
||||
};
|
||||
39
pixmaps/colorselectiondialog.xpm
Normal file
39
pixmaps/colorselectiondialog.xpm
Normal file
@ -0,0 +1,39 @@
|
||||
/* XPM */
|
||||
static char *colorseldialog_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 12 1",
|
||||
" c Gray0",
|
||||
". c #00007b",
|
||||
"X c #7b7b7b",
|
||||
"o c Blue",
|
||||
"O c Green",
|
||||
"+ c Cyan",
|
||||
"@ c Red",
|
||||
"# c Yellow",
|
||||
"$ c #d6d6d6",
|
||||
"% c #b3cece",
|
||||
"& c Gray100",
|
||||
"* c None",
|
||||
/* pixels */
|
||||
"*********************",
|
||||
"*********************",
|
||||
"*********************",
|
||||
"*********************",
|
||||
"**XXXXXXXXXXXXXXXX***",
|
||||
"**X.@#...........X **",
|
||||
"**X.+O.&&&....$ $X **",
|
||||
"**XXXXXXXXXXXXXXXX **",
|
||||
"**X&&&&&&&&&&&&&&X **",
|
||||
"**X&&&&&&&&&&&&&&X **",
|
||||
"**X&&@@@OOOooo&&&X **",
|
||||
"**X&&@@@OOOooo&&&X **",
|
||||
"**X&&@@@OOOooo&&&X **",
|
||||
"**X&&@@@OOOooo&&&X **",
|
||||
"**X&&&&&&&&&&&&&&X **",
|
||||
"**X&&&&&&&&&&&&&&X **",
|
||||
"**XXXXXXXXXXXXXXXX **",
|
||||
"*** **",
|
||||
"*********************",
|
||||
"*********************",
|
||||
"*********************"
|
||||
};
|
||||
32
pixmaps/curve.xpm
Normal file
32
pixmaps/curve.xpm
Normal file
@ -0,0 +1,32 @@
|
||||
/* XPM */
|
||||
static char *curve_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 5 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c #b3cece",
|
||||
"O c None",
|
||||
/* pixels */
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OO.................OO",
|
||||
"OO.XXX.XXX.XXX.X .OO",
|
||||
"OO.XXX.XXX.XXX X.OO",
|
||||
"OO.XXX.XXX.X XXX.OO",
|
||||
"OO........ ......OO",
|
||||
"OO.XXX.XX XXX.XXX.OO",
|
||||
"OO.XXX.X .XXX.XXX.OO",
|
||||
"OO.XXX. X.XXX.XXX.OO",
|
||||
"OO.... ...........OO",
|
||||
"OO.XXX XXX.XXX.XXX.OO",
|
||||
"OO.XX .XXX.XXX.XXX.OO",
|
||||
"OO.XX .XXX.XXX.XXX.OO",
|
||||
"OO.. .............OO",
|
||||
"OO.X X.XXX.XXX.XXX.OO",
|
||||
"OO. X.XXX.XXX.XXX.OO",
|
||||
"OO. XX.XXX.XXX.XXX.OO",
|
||||
"OO.................OO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO"
|
||||
};
|
||||
30
pixmaps/custom.xpm
Normal file
30
pixmaps/custom.xpm
Normal file
@ -0,0 +1,30 @@
|
||||
/* XPM */
|
||||
static char * custom_xpm[] = {
|
||||
"21 21 6 1",
|
||||
" c None",
|
||||
". c #FFFFFF",
|
||||
"+ c #000000",
|
||||
"@ c #D6D6D6",
|
||||
"# c #7B7B7B",
|
||||
"$ c #0000FF",
|
||||
" ",
|
||||
" ",
|
||||
" ................+ ",
|
||||
" .@@@@@@@@@@@@@@#+ ",
|
||||
" .@@@@@@@@@@@@@@#+ ",
|
||||
" .@@@@@$$$$@@@@@#+ ",
|
||||
" .@@@@$$$$$$@@@@#+ ",
|
||||
" .@@@$$$@@@$$@@@#+ ",
|
||||
" .@@@$$@@@@@$@@@#+ ",
|
||||
" .@@@$$@@@@@@@@@#+ ",
|
||||
" .@@@$$@@@@@@@@@#+ ",
|
||||
" .@@@$$@@@@@$@@@#+ ",
|
||||
" .@@@$$$@@@$$@@@#+ ",
|
||||
" .@@@@$$$$$$@@@@#+ ",
|
||||
" .@@@@@$$$$@@@@@#+ ",
|
||||
" .@@@@@@@@@@@@@@#+ ",
|
||||
" .@@@@@@@@@@@@@@#+ ",
|
||||
" .###############+ ",
|
||||
" +++++++++++++++++ ",
|
||||
" ",
|
||||
" "};
|
||||
38
pixmaps/dialog.xpm
Normal file
38
pixmaps/dialog.xpm
Normal file
@ -0,0 +1,38 @@
|
||||
/* XPM */
|
||||
static char *dialog_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 11 1",
|
||||
" c Gray0",
|
||||
". c #00007b",
|
||||
"X c #7b7b7b",
|
||||
"o c Green",
|
||||
"O c Cyan",
|
||||
"+ c Red",
|
||||
"@ c Yellow",
|
||||
"# c #d6d6d6",
|
||||
"$ c #b3cece",
|
||||
"% c Gray100",
|
||||
"& c None",
|
||||
/* pixels */
|
||||
"&&&&&&&&&&&&&&&&&&&&&",
|
||||
"&&&&&&&&&&&&&&&&&&&&&",
|
||||
"&&&&&&&&&&&&&&&&&&&&&",
|
||||
"&&&&&&&&&&&&&&&&&&&&&",
|
||||
"&&XXXXXXXXXXXXXXXX&&&",
|
||||
"&&X.+@............ &&",
|
||||
"&&X.Oo.%%%....# # &&",
|
||||
"&&XXXXXXXXXXXXXXXX &&",
|
||||
"&&X%%%%%%%%%%%%%%X &&",
|
||||
"&&X%%%%%%%%%%%%%%X &&",
|
||||
"&&X%%X%XX%XX%XX%%X &&",
|
||||
"&&X%%%%%%%%%%%%%%X &&",
|
||||
"&&X%%%%%%%%%%%%%%X &&",
|
||||
"&&X%%%XXX%%XXX%%%X &&",
|
||||
"&&X%%%X %%X %%%X &&",
|
||||
"&&X%%%%%%%%%%%%%%X &&",
|
||||
"&&XXXXXXXXXXXXXXXX &&",
|
||||
"&&& &&",
|
||||
"&&&&&&&&&&&&&&&&&&&&&",
|
||||
"&&&&&&&&&&&&&&&&&&&&&",
|
||||
"&&&&&&&&&&&&&&&&&&&&&"
|
||||
};
|
||||
33
pixmaps/drawingarea.xpm
Normal file
33
pixmaps/drawingarea.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *drawingarea_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 6 1",
|
||||
" c Gray0",
|
||||
". c Blue",
|
||||
"X c Red",
|
||||
"o c Yellow",
|
||||
"O c #b3cece",
|
||||
"+ c None",
|
||||
/* pixels */
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"++ +++++++++",
|
||||
"++ XXXXXXXX +++++++++",
|
||||
"++ XXXXXXXX +++++",
|
||||
"++ XXXXXXX ooooo ++++",
|
||||
"++ XXXXXX ooooooo +++",
|
||||
"++ XXXXX ooooooooo ++",
|
||||
"++ XXXXX ooooooooo ++",
|
||||
"++ XXXXX ooooooooo ++",
|
||||
"++ XXXXX ooooooooo ++",
|
||||
"++ ooooooo +++",
|
||||
"++++ ..... ooooo ++++",
|
||||
"++++ ...... +++++",
|
||||
"++++ ......... ++++++",
|
||||
"++++ ......... ++++++",
|
||||
"++++ ......... ++++++",
|
||||
"++++ ++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++"
|
||||
};
|
||||
34
pixmaps/eventbox.xpm
Normal file
34
pixmaps/eventbox.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char *eventbox_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 7 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c Blue",
|
||||
"o c #d6d6d6",
|
||||
"O c #b3cece",
|
||||
"+ c Gray100",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
"@@@@@@@@@@X+@@@@@@@@@",
|
||||
"@@@@@@@@@XX+@@@@@@@@@",
|
||||
"@@@@@@@@XX+@@@@@@@@@@",
|
||||
"@@@@@@@XX+@@@@@@@@@@@",
|
||||
"@@@@@@@@XX+@@@@@@@@@@",
|
||||
"@@@@@@@@@XX+@@@@@@@@@",
|
||||
"@@@@@@@@@@XX+@@@@@@@@",
|
||||
"@@@++++++XX++++++ @@@",
|
||||
"@@@+ooooXX+ooooo. @@@",
|
||||
"@@@+oooXX+oooooo. @@@",
|
||||
"@@@+ooooXX+ooooo. @@@",
|
||||
"@@@+oooooXX+oooo. @@@",
|
||||
"@@@+ooooooXX+ooo. @@@",
|
||||
"@@@+oooooooooooo. @@@",
|
||||
"@@@+oooooooooooo. @@@",
|
||||
"@@@+oooooooooooo. @@@",
|
||||
"@@@+............. @@@",
|
||||
"@@@ @@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@"
|
||||
};
|
||||
34
pixmaps/fileselection.xpm
Normal file
34
pixmaps/fileselection.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char * fileseldialog_xpm[] = {
|
||||
"21 21 10 1",
|
||||
" c None",
|
||||
". c #7B7B7B",
|
||||
"+ c #00007B",
|
||||
"@ c #FF0000",
|
||||
"# c #FFFF00",
|
||||
"$ c #000000",
|
||||
"% c #00FFFF",
|
||||
"& c #00FF00",
|
||||
"* c #FFFFFF",
|
||||
"= c #D6D6D6",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ................ ",
|
||||
" .+@#+++++++++++.$ ",
|
||||
" .+%&+***++++=$=.$ ",
|
||||
" ................$ ",
|
||||
" .**************.$ ",
|
||||
" .*****$$*******.$ ",
|
||||
" .****$##$$$****.$ ",
|
||||
" .****$#####$***.$ ",
|
||||
" .****$#####$***.$ ",
|
||||
" .****$#####$***.$ ",
|
||||
" .****$$$$$$$***.$ ",
|
||||
" .**************.$ ",
|
||||
" ................$ ",
|
||||
" $$$$$$$$$$$$$$$$ ",
|
||||
" ",
|
||||
" ",
|
||||
" "};
|
||||
31
pixmaps/fixed.xpm
Normal file
31
pixmaps/fixed.xpm
Normal file
@ -0,0 +1,31 @@
|
||||
/* XPM */
|
||||
static char *fixed_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 4 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c Gray100",
|
||||
/* pixels */
|
||||
"oooooooooooooooooooo ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXooooo XXXXXXXXXXX. ",
|
||||
"oXoXXX. XXXXXXXXXXX. ",
|
||||
"oXoXXX. XXXXooooo X. ",
|
||||
"oXo.... XXXXoXXX. X. ",
|
||||
"oX XXXXoXXX. X. ",
|
||||
"oXXXXXXXXXXXo.... X. ",
|
||||
"oXXXXXXXXXXX X. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXooooo XXXXXXXX. ",
|
||||
"oXXXXoXXX. XXXXXXXX. ",
|
||||
"oXXXXoXXX. XXXXXXXX. ",
|
||||
"oXXXXo.... XXXXXXXX. ",
|
||||
"oXXXX XXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"o................... ",
|
||||
" "
|
||||
};
|
||||
35
pixmaps/fontselection.xpm
Normal file
35
pixmaps/fontselection.xpm
Normal file
@ -0,0 +1,35 @@
|
||||
/* XPM */
|
||||
static char *fontsel_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 8 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c Gray61",
|
||||
"o c #d6d6d6",
|
||||
"O c #b3cece",
|
||||
"+ c Gray87",
|
||||
"@ c Gray100",
|
||||
"# c None",
|
||||
/* pixels */
|
||||
"#####################",
|
||||
"#####################",
|
||||
"#####################",
|
||||
"#####################",
|
||||
"#####################",
|
||||
"##................###",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##.@@@@@@@X o@@@. ##",
|
||||
"##.@@@@@@+ @X@@@. ##",
|
||||
"##.@@@@@ @@@@@@. ##",
|
||||
"##.@@@@@@ @@@@@. ##",
|
||||
"##.@@@ + @@@@@@@. ##",
|
||||
"##.@@@o X@@@@@@@. ##",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##.@@@@@@@@@@@@@@. ##",
|
||||
"##................ ##",
|
||||
"### ##",
|
||||
"#####################",
|
||||
"#####################",
|
||||
"#####################"
|
||||
};
|
||||
40
pixmaps/fontselectiondialog.xpm
Normal file
40
pixmaps/fontselectiondialog.xpm
Normal file
@ -0,0 +1,40 @@
|
||||
/* XPM */
|
||||
static char *fontseldialog_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 13 1",
|
||||
" c Gray0",
|
||||
". c #00007b",
|
||||
"X c #7b7b7b",
|
||||
"o c Green",
|
||||
"O c Cyan",
|
||||
"+ c Red",
|
||||
"@ c Yellow",
|
||||
"# c Gray61",
|
||||
"$ c #d6d6d6",
|
||||
"% c #b3cece",
|
||||
"& c Gray87",
|
||||
"* c Gray100",
|
||||
"= c None",
|
||||
/* pixels */
|
||||
"=====================",
|
||||
"=====================",
|
||||
"=====================",
|
||||
"=====================",
|
||||
"==XXXXXXXXXXXXXXXX===",
|
||||
"==X.+@...........X ==",
|
||||
"==X.Oo.***....$ $X ==",
|
||||
"==XXXXXXXXXXXXXXXX ==",
|
||||
"==X**************X ==",
|
||||
"==X*******# $***X ==",
|
||||
"==X******& *#***X ==",
|
||||
"==X***** ******X ==",
|
||||
"==X****** *****X ==",
|
||||
"==X*** & *******X ==",
|
||||
"==X***$ #*******X ==",
|
||||
"==X**************X ==",
|
||||
"==XXXXXXXXXXXXXXXX ==",
|
||||
"=== ==",
|
||||
"=====================",
|
||||
"=====================",
|
||||
"====================="
|
||||
};
|
||||
33
pixmaps/gammacurve.xpm
Normal file
33
pixmaps/gammacurve.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *gammacurve_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 */
|
||||
"+++++++++++++++++++++",
|
||||
"++++++++++++++++++OOO",
|
||||
".................+OX.",
|
||||
".XXX.XXX.XXX.X .+O..",
|
||||
".XXX.XXX.XXX X.++++",
|
||||
".XXX.XXX.X XXX.+OOO",
|
||||
"........ ......+OX.",
|
||||
".XXX.XX XXX.XXX.+O..",
|
||||
".XXX.X .XXX.XXX.++++",
|
||||
".XXX. X.XXX.XXX.+OOO",
|
||||
".... ...........+OX.",
|
||||
".XXX XXX.XXX.XXX.+O..",
|
||||
".XX .XXX.XXX.XXX.++++",
|
||||
".XX .XXX.XXX.XXX.+OOO",
|
||||
".. .............+OX.",
|
||||
".X X.XXX.XXX.XXX.+O..",
|
||||
". X.XXX.XXX.XXX.++++",
|
||||
". XX.XXX.XXX.XXX.+OOO",
|
||||
".................+OX.",
|
||||
"++++++++++++++++++O..",
|
||||
"+++++++++++++++++++++"
|
||||
};
|
||||
33
pixmaps/hbuttonbox.xpm
Normal file
33
pixmaps/hbuttonbox.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *hbuttonbox_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 */
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+OOOOO +OOOOO +OOOOO ",
|
||||
"+OXXX. +OXXX. +OXXX. ",
|
||||
"+OXXX. +OXXX. +OXXX. ",
|
||||
"+O.... +O.... +O.... ",
|
||||
"+ + + ",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++"
|
||||
};
|
||||
31
pixmaps/hpaned.xpm
Normal file
31
pixmaps/hpaned.xpm
Normal file
@ -0,0 +1,31 @@
|
||||
/* XPM */
|
||||
static char *hpaned_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 4 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c Gray100",
|
||||
/* pixels */
|
||||
"oooooooooo ooooooooo ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"oXXXXXX.....XXXXXXX. ",
|
||||
"oXXXXXX.ooo..XXXXXX. ",
|
||||
"oXXXXXX.ooo..XXXXXX. ",
|
||||
"oXXXXXX.ooo..XXXXXX. ",
|
||||
"oXXXXXX......XXXXXX. ",
|
||||
"oXXXXXXX.....XXXXXX. ",
|
||||
"oXXXXXXXX. oXXXXXXX. ",
|
||||
"o......... o........ ",
|
||||
" "
|
||||
};
|
||||
30
pixmaps/hruler.xpm
Normal file
30
pixmaps/hruler.xpm
Normal file
@ -0,0 +1,30 @@
|
||||
/* XPM */
|
||||
static char *hruler_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 3 1",
|
||||
" c Gray0",
|
||||
". c #b3cece",
|
||||
"X c None",
|
||||
/* pixels */
|
||||
"XXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXX",
|
||||
" XXXXXXXXXXXXXXX ",
|
||||
" X XXXXXXXXXXXXXXX XX",
|
||||
" X XXXXXXXXXXXXXXX ",
|
||||
" X XXXXXXXXXXXXXXXXX ",
|
||||
" XXXXXXXXXXXXXXX ",
|
||||
"XXXXXXXXXXXXXXXXXXXXX",
|
||||
"X XXXXXXXXXXXXXXXXX X",
|
||||
"X XXXXXXXXXXXXXXXXX X",
|
||||
"X XXXXX XXXXX XXXXX X",
|
||||
"X XXXXX XXXXX XXXXX X",
|
||||
"X XX XX XX XX XX XX X",
|
||||
"X XX XX XX XX XX XX X",
|
||||
"X XX XX XX XX XX XX X",
|
||||
"X X",
|
||||
"XXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXX",
|
||||
"XXXXXXXXXXXXXXXXXXXXX"
|
||||
};
|
||||
34
pixmaps/hscale.xpm
Normal file
34
pixmaps/hscale.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char *hscale_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 7 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c #b3cece",
|
||||
"O c Gray87",
|
||||
"+ c Gray100",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@ @@@@@ @@@@@@@@@",
|
||||
"@@ @@ @@@ @@ @@@@@@@@",
|
||||
"@@ @@ @@@ @@ @@@@@@@@",
|
||||
"@@ @@ @@@ @@ @@@@@@@@",
|
||||
"@@ @@ @@@ @@ @@@@@@@@",
|
||||
"@@@ @@ @@ @@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
".....................",
|
||||
". +",
|
||||
". ++++++++ XXXXXXXXO+",
|
||||
". +XXX.XX. XXXXXXXXO+",
|
||||
". +XXX.XX. XXXXXXXXO+",
|
||||
". +....... XXXXXXXXO+",
|
||||
". XXXXXXXXO+",
|
||||
". OOOOOOOOOOOOOOOOOO+",
|
||||
".++++++++++++++++++++",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@"
|
||||
};
|
||||
33
pixmaps/hscrollbar.xpm
Normal file
33
pixmaps/hscrollbar.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *hscrollbar_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 6 1",
|
||||
" c Gray0",
|
||||
". c Gray61",
|
||||
"X c #d6d6d6",
|
||||
"o c #b3cece",
|
||||
"O c Gray100",
|
||||
"+ c None",
|
||||
/* pixels */
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
" ",
|
||||
" ...O .OOOOOO .OO...O",
|
||||
" ..OX .OXXXXX .OXO..O",
|
||||
" .OXX .OXXXXX .OXXO.O",
|
||||
" OXXX .OXXXXX .OXXX O",
|
||||
" . XX .OXXXXX .OXX .O",
|
||||
" .. X .OXXXXX .OX ..O",
|
||||
" ... . .O ...O",
|
||||
"OOOOOOOOOOOOOOOOOOOOO",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++"
|
||||
};
|
||||
34
pixmaps/image.xpm
Normal file
34
pixmaps/image.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char *image_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 7 1",
|
||||
" c Gray0",
|
||||
". c Blue",
|
||||
"X c Green",
|
||||
"o c Red",
|
||||
"O c #b3cece",
|
||||
"+ c Gray87",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@ ",
|
||||
"@ ++++++++++++++++++ ",
|
||||
"@ ++++++++++++++++++ ",
|
||||
"@ ++oooo++ ++oooo++ ",
|
||||
"@ ++oooo++ ++oooo++ ",
|
||||
"@ ++++++++++++++++++ ",
|
||||
"@ ++++++++++++++++++ ",
|
||||
"@ ++XXXX++ ++XXXX++ ",
|
||||
"@ ++XXXX++ ++XXXX++ ",
|
||||
"@ ++++++++ ++++++++ ",
|
||||
"@ ++++++++ ++++++++ ",
|
||||
"@ ++....++ ++....++ ",
|
||||
"@ ++....++ ++....++ ",
|
||||
"@ ++++++++++++++++++ ",
|
||||
"@ ++++++++++++++++++ ",
|
||||
"@ ",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@"
|
||||
};
|
||||
39
pixmaps/inputdialog.xpm
Normal file
39
pixmaps/inputdialog.xpm
Normal file
@ -0,0 +1,39 @@
|
||||
/* XPM */
|
||||
static char *inputdialog_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 12 1",
|
||||
" c Gray0",
|
||||
". c #00007b",
|
||||
"X c #7b7b7b",
|
||||
"o c Green",
|
||||
"O c Cyan",
|
||||
"+ c Red",
|
||||
"@ c Yellow",
|
||||
"# c #d6d6d6",
|
||||
"$ c #b3cece",
|
||||
"% c Gray87",
|
||||
"& c Gray100",
|
||||
"* c None",
|
||||
/* pixels */
|
||||
"*********************",
|
||||
"*********************",
|
||||
"*********************",
|
||||
"*********************",
|
||||
"**XXXXXXXXXXXXXXXX***",
|
||||
"**X.+@............ **",
|
||||
"**X.Oo.&&&....# # **",
|
||||
"**XXXXXXXXXXXXXXXX **",
|
||||
"**X&&&&&&&&&&&&&&X **",
|
||||
"**X&&&&& &&&&&&&X **",
|
||||
"**X&&&&& &&&&&X **",
|
||||
"**X&&&&& &&&&&&X **",
|
||||
"**X&&&&& & %&&&&&X **",
|
||||
"**X&&&&&&&% &&&&&X **",
|
||||
"**X&&&&&&&&% &&&&X **",
|
||||
"**X&&&&&&&&&&&&&&X **",
|
||||
"**XXXXXXXXXXXXXXXX **",
|
||||
"*** **",
|
||||
"*********************",
|
||||
"*********************",
|
||||
"*********************"
|
||||
};
|
||||
29
pixmaps/layout.xpm
Normal file
29
pixmaps/layout.xpm
Normal file
@ -0,0 +1,29 @@
|
||||
/* XPM */
|
||||
static char * layout_xpm[] = {
|
||||
"21 21 5 1",
|
||||
" c None",
|
||||
". c #FFFFFF",
|
||||
"+ c #D6D6D6",
|
||||
"@ c #000000",
|
||||
"# c #7B7B7B",
|
||||
".....................",
|
||||
".+++++++++++++.+++++@",
|
||||
".+.....+++++++.++@++@",
|
||||
".+.+++#+++++++.+@@@+@",
|
||||
".+.+++#+.....+.+++++@",
|
||||
".+.####+.+++#+.@@@@@@",
|
||||
".+++++++.+++#+......@",
|
||||
".+++++++.####+..++++@",
|
||||
".+++++++++++++..++++@",
|
||||
".+++.....+++++......@",
|
||||
".+++.+++#+++++.+++++@",
|
||||
".+++.+++#+++++.+@@@+@",
|
||||
".+++.####+++++.++@++@",
|
||||
".+++++++++++++.+++++@",
|
||||
"...............@@@@@@",
|
||||
".++++@...@++++@++++++",
|
||||
".++@+@.++@+@++@++++++",
|
||||
".+@@+@.++@+@@+@++++++",
|
||||
".++@+@.++@+@++@++++++",
|
||||
".++++@.++@++++@++++++",
|
||||
".@@@@@@@@@@@@@@++++++"};
|
||||
34
pixmaps/menubar.xpm
Normal file
34
pixmaps/menubar.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char *menubar_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 7 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c #b3cece",
|
||||
"O c Gray87",
|
||||
"+ c Gray100",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@+++++++++++++++++++ ",
|
||||
"@+XXXXXXXXXXXXXXXXX. ",
|
||||
"@+XOOOO.OOOO.OOOO.X. ",
|
||||
"@+XOXXX.OXXX.OXXX.X. ",
|
||||
"@+XOXXX.OXXX.OXXX.X. ",
|
||||
"@+X+++++++...O....X. ",
|
||||
"@+X+OOOOOO.XXXXXXXX. ",
|
||||
"@+.+O....O.......... ",
|
||||
"@ +OOOOOO. ",
|
||||
"@@@+O....O. @@@@@@@@@",
|
||||
"@@@+OOOOOO. @@@@@@@@@",
|
||||
"@@@+O....O. @@@@@@@@@",
|
||||
"@@@+OOOOOO. @@@@@@@@@",
|
||||
"@@@+O....O. @@@@@@@@@",
|
||||
"@@@+OOOOOO. @@@@@@@@@",
|
||||
"@@@+....... @@@@@@@@@",
|
||||
"@@@@ @@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@"
|
||||
};
|
||||
28
pixmaps/scrolledwindow.xpm
Normal file
28
pixmaps/scrolledwindow.xpm
Normal file
@ -0,0 +1,28 @@
|
||||
/* XPM */
|
||||
static char * scrolledwindow_xpm[] = {
|
||||
"21 21 4 1",
|
||||
" c None",
|
||||
". c #FFFFFF",
|
||||
"+ c #D6D6D6",
|
||||
"@ c #000000",
|
||||
".....................",
|
||||
".+++++++++++++.+++++@",
|
||||
".+++++++++++++.++@++@",
|
||||
".+++++++++++++.+@@@+@",
|
||||
".+++++++++++++.+++++@",
|
||||
".+++++++++++++.@@@@@@",
|
||||
".+++++++++++++......@",
|
||||
".+++++++++++++..++++@",
|
||||
".+++++++++++++..++++@",
|
||||
".+++++++++++++......@",
|
||||
".+++++++++++++.+++++@",
|
||||
".+++++++++++++.+@@@+@",
|
||||
".+++++++++++++.++@++@",
|
||||
".+++++++++++++.+++++@",
|
||||
"...............@@@@@@",
|
||||
".++++@...@++++@++++++",
|
||||
".++@+@.++@+@++@++++++",
|
||||
".+@@+@.++@+@@+@++++++",
|
||||
".++@+@.++@+@++@++++++",
|
||||
".++++@.++@++++@++++++",
|
||||
".@@@@@@@@@@@@@@++++++"};
|
||||
34
pixmaps/statusbar.xpm
Normal file
34
pixmaps/statusbar.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char *statusbar_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 7 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c #b3cece",
|
||||
"O c Gray87",
|
||||
"+ c Gray100",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@+XX.@@@@@@@@@@@@@@",
|
||||
"@@@+XX.@@@@@@@@@@@@@@",
|
||||
"@@@+XX.@@@@@@@@@@@@@@",
|
||||
"@@@+XX.@@@@@@@@@@@@@@",
|
||||
"@@@+XX++++++++++++@@@",
|
||||
"@@@+XXXXXXXXXXXXXX@@@",
|
||||
"@@@+XXXXXXXXXXXXXX@@@",
|
||||
"@@@+XX............@@@",
|
||||
"@@@+XX.OOOOOOOOOOO@@@",
|
||||
"@@@+XX.OOOOOOOOOOO@@@",
|
||||
"@@@+XX.OOOOOOOOOOO@@@",
|
||||
"@@@+XX++++++++++++@@@",
|
||||
"@@@+XXXXXXXXXXXXXX@@@",
|
||||
"@@@+XXXXXXXXXXXXXX@@@",
|
||||
"@@@ @@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@"
|
||||
};
|
||||
32
pixmaps/textview.xpm
Normal file
32
pixmaps/textview.xpm
Normal file
@ -0,0 +1,32 @@
|
||||
/* XPM */
|
||||
static char *text_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 5 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c Gray87",
|
||||
"O c Gray100",
|
||||
/* pixels */
|
||||
"....................O",
|
||||
". XO",
|
||||
". OOOOOOOOOOOOOOOOOXO",
|
||||
". OOOOOOO OOOOOOOOOXO",
|
||||
". OOOOOOO OOOOOOOOOXO",
|
||||
". OO OO o OOo OXO",
|
||||
". O.OOO O Oo O Oo XO",
|
||||
". OO O OOO O OOOXO",
|
||||
". O OOO O OOO O OOOXO",
|
||||
". O OOO O OOo O Oo XO",
|
||||
". OO O OOo OXO",
|
||||
". OOOOOOOOOOOOOOOOOXO",
|
||||
". OOOOO OOOOOOOOO XO",
|
||||
". OOOOO OO OOO oOXO",
|
||||
". OO O oOo OO OOXO",
|
||||
". O oOo O oOO O OXO",
|
||||
". O OOO O OOO OOXO",
|
||||
". O oOo O OOO.OO OOXO",
|
||||
". OO OO OOO OOXO",
|
||||
".XXXXXXXXXXXXXXXXXXXO",
|
||||
"OOOOOOOOOOOOOOOOOOOOO"
|
||||
};
|
||||
33
pixmaps/toolbar.xpm
Normal file
33
pixmaps/toolbar.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *toolbar_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 */
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+OOOOOOOOOOOOOOOOOOO ",
|
||||
"+OXXXXXXXXXXXXXXXXX. ",
|
||||
"+OXOOOO OOOO OOOO X. ",
|
||||
"+OXOXXX OXXX OXXX X. ",
|
||||
"+OXOXXX OXXX OXXX X. ",
|
||||
"+OXO O O X. ",
|
||||
"+OXXXXXXXXXXXXXXXXX. ",
|
||||
"+O.................. ",
|
||||
"+ ",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++"
|
||||
};
|
||||
34
pixmaps/treeview.xpm
Normal file
34
pixmaps/treeview.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char *tree_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 7 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c Green",
|
||||
"o c Cyan",
|
||||
"O c Yellow",
|
||||
"+ c #b3cece",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
"@ @@@@@@@@@@@@@@@@@",
|
||||
"@ o @......@@@@@@@@@@",
|
||||
"@ @@@@@@@@@@@@@@@@@",
|
||||
"@@ @@@@@@@@@@@@@@@@@@",
|
||||
"@@ @@ @@@@@@@@@@@@@",
|
||||
"@@ O @......@@@@@@",
|
||||
"@@ @@ @@@@@@@@@@@@@",
|
||||
"@@ @@@ @@@@@@@@@@@@@@",
|
||||
"@@ @@@ @@ @@@@@@@@@",
|
||||
"@@ @@@ X @......@@",
|
||||
"@@ @@@ @@ @@@@@@@@@",
|
||||
"@@ @@@ @@@@@@@@@@@@@@",
|
||||
"@@ @@@ @@ @@@@@@@@@",
|
||||
"@@ @@@ X @......@@",
|
||||
"@@ @@@@@@ @@@@@@@@@",
|
||||
"@@ @@@@@@@@@@@@@@@@@@",
|
||||
"@@ @@ @@@@@@@@@@@@@",
|
||||
"@@ O @......@@@@@@",
|
||||
"@@@@@ @@@@@@@@@@@@@",
|
||||
"@@@@@@ @@@@@@@@@@@@@@",
|
||||
"@@@@@@ @@@@@@@@@@@@@@"
|
||||
};
|
||||
33
pixmaps/vbuttonbox.xpm
Normal file
33
pixmaps/vbuttonbox.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *vbuttonbox_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 */
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"++++++++OOOOO +++++++",
|
||||
"++++++++OXXX. +++++++",
|
||||
"++++++++OXXX. +++++++",
|
||||
"++++++++O.... +++++++",
|
||||
"++++++++ +++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"++++++++OOOOO +++++++",
|
||||
"++++++++OXXX. +++++++",
|
||||
"++++++++OXXX. +++++++",
|
||||
"++++++++O.... +++++++",
|
||||
"++++++++ +++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"++++++++OOOOO +++++++",
|
||||
"++++++++OXXX. +++++++",
|
||||
"++++++++OXXX. +++++++",
|
||||
"++++++++O.... +++++++",
|
||||
"++++++++ +++++++",
|
||||
"+++++++++++++++++++++",
|
||||
"+++++++++++++++++++++"
|
||||
};
|
||||
34
pixmaps/viewport.xpm
Normal file
34
pixmaps/viewport.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char *viewport_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 7 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c #b3cece",
|
||||
"O c Gray87",
|
||||
"+ c Gray100",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
"@@@@@@@@@@@@@@@@@@@@@",
|
||||
"@...................@",
|
||||
"@. +O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@. XXXXXXXXXXXXXXX+O@",
|
||||
"@.+++++++++++++++++O@",
|
||||
"@.OOOOOOOOOOOOOOOOOO@",
|
||||
"@@@@@@@@@@@@@@@@@@@@@"
|
||||
};
|
||||
31
pixmaps/vpaned.xpm
Normal file
31
pixmaps/vpaned.xpm
Normal file
@ -0,0 +1,31 @@
|
||||
/* XPM */
|
||||
static char *vpaned_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 4 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c Gray100",
|
||||
/* pixels */
|
||||
"oooooooooooooooooooo ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXX.....XX. ",
|
||||
"oXXXXXXXXXXX.ooo..X. ",
|
||||
"o............ooo.... ",
|
||||
" .ooo.. ",
|
||||
"oooooooooooo......oo ",
|
||||
"oXXXXXXXXXXXX.....X. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"oXXXXXXXXXXXXXXXXXX. ",
|
||||
"o................... ",
|
||||
" "
|
||||
};
|
||||
30
pixmaps/vruler.xpm
Normal file
30
pixmaps/vruler.xpm
Normal file
@ -0,0 +1,30 @@
|
||||
/* XPM */
|
||||
static char *vruler_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 3 1",
|
||||
" c Gray0",
|
||||
". c #b3cece",
|
||||
"X c None",
|
||||
/* pixels */
|
||||
"XXXX XXXXXXXXXXXXXX",
|
||||
"XXXX X XX XXXX",
|
||||
"XXXX X XXXXXXXXX XXXX",
|
||||
"XXXX XXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXXXXX XXXX",
|
||||
"XXXXXXXXXXXXXXXX XXXX",
|
||||
"XXXX XXXXXX XXXX",
|
||||
"XXXX XXXXXXXXXXX XXXX",
|
||||
"XXXX XXXXXXXXX XXXX",
|
||||
"XXXXXX XX XXXX",
|
||||
"XXXX XXXXXXXXXXXXXX"
|
||||
};
|
||||
34
pixmaps/vscale.xpm
Normal file
34
pixmaps/vscale.xpm
Normal file
@ -0,0 +1,34 @@
|
||||
/* XPM */
|
||||
static char *vscale_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"21 21 7 1",
|
||||
" c Gray0",
|
||||
". c #7b7b7b",
|
||||
"X c #d6d6d6",
|
||||
"o c #b3cece",
|
||||
"O c Gray87",
|
||||
"+ c Gray100",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
".........@@@@@@@@@@@@",
|
||||
". +@@@@@@@@@@@@",
|
||||
". ++++ O+@@@@@@@@@@@@",
|
||||
". +XX. O+@@@@@@@@@@@@",
|
||||
". +XX. O+@@ @@@@@ @",
|
||||
". +XX. O+@ @@ @@@ @@ ",
|
||||
". +... O+@ @@ @@@ @@ ",
|
||||
". +XX. O+@ @@ @@@ @@ ",
|
||||
". +XX. O+@ @@ @@@ @@ ",
|
||||
". +... O+@@ @@ @@ @",
|
||||
". O+@@@@@@@@@@@@",
|
||||
". XXXXXO+@@@@@@@@@@@@",
|
||||
". XXXXXO+@@@@@@@@@@@@",
|
||||
". XXXXXO+@@@@@@@@@@@@",
|
||||
". XXXXXO+@@@@@@@@@@@@",
|
||||
". XXXXXO+@@@@@@@@@@@@",
|
||||
". XXXXXO+@@@@@@@@@@@@",
|
||||
". XXXXXO+@@@@@@@@@@@@",
|
||||
". XXXXXO+@@@@@@@@@@@@",
|
||||
". OOOOOO+@@@@@@@@@@@@",
|
||||
".++++++++@@@@@@@@@@@@"
|
||||
};
|
||||
33
pixmaps/vscrollbar.xpm
Normal file
33
pixmaps/vscrollbar.xpm
Normal file
@ -0,0 +1,33 @@
|
||||
/* XPM */
|
||||
static char *vscrollbar_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"20 21 6 1",
|
||||
" c Gray0",
|
||||
". c Gray61",
|
||||
"X c #d6d6d6",
|
||||
"o c #b3cece",
|
||||
"O c Gray100",
|
||||
"+ c None",
|
||||
/* pixels */
|
||||
"++++++ +++++",
|
||||
"++++++ ...O...O+++++",
|
||||
"++++++ ..OX ..O+++++",
|
||||
"++++++ .OXXX .O+++++",
|
||||
"++++++ OXXXXX O+++++",
|
||||
"++++++ O+++++",
|
||||
"++++++ .......O+++++",
|
||||
"++++++ OOOOOO O+++++",
|
||||
"++++++ OXXXXX O+++++",
|
||||
"++++++ OXXXXX O+++++",
|
||||
"++++++ OXXXXX O+++++",
|
||||
"++++++ OXXXXX O+++++",
|
||||
"++++++ OXXXXX O+++++",
|
||||
"++++++ O O+++++",
|
||||
"++++++ .......O+++++",
|
||||
"++++++ OOOOOOOO+++++",
|
||||
"++++++ OXXXXX O+++++",
|
||||
"++++++ .OXXX .O+++++",
|
||||
"++++++ ..OX ..O+++++",
|
||||
"++++++ ... ...O+++++",
|
||||
"++++++OOOOOOOOO+++++"
|
||||
};
|
||||
@ -522,6 +522,7 @@ GladeGtkFunction functions [] = {
|
||||
|
||||
{"glade_gtk_check_button_post_create", glade_gtk_check_button_post_create},
|
||||
{"glade_gtk_window_post_create", glade_gtk_window_post_create},
|
||||
{"glade_gtk_dialog_post_create", glade_gtk_window_post_create},
|
||||
{"glade_gtk_table_post_create", glade_gtk_table_post_create},
|
||||
};
|
||||
|
||||
|
||||
@ -904,7 +904,7 @@ glade_packing_add_property (GList **list, GladePackingProperty prop)
|
||||
class->set_function = prop.set_function;
|
||||
class->get_function = prop.get_function;
|
||||
if (prop.def)
|
||||
class->def = glade_property_class_make_gvalue_from_string (prop.type, prop.def);
|
||||
class->def = glade_property_class_make_gvalue_from_string (class, prop.def);
|
||||
class->get_default = prop.get_default;
|
||||
|
||||
*list = g_list_prepend (*list, class);
|
||||
@ -968,7 +968,7 @@ glade_packing_add_properties_from_list (GladeWidget *widget,
|
||||
value = g_hash_table_lookup (packing_properties->properties,
|
||||
property->class->id);
|
||||
if (value) {
|
||||
gvalue = glade_property_class_make_gvalue_from_string (property->class->type, value);
|
||||
gvalue = glade_property_class_make_gvalue_from_string (property->class, value);
|
||||
g_free (property->value);
|
||||
property->value = gvalue;
|
||||
}
|
||||
|
||||
@ -119,6 +119,15 @@ glade_placeholder_replace_table (GtkWidget *current,
|
||||
/* */
|
||||
}
|
||||
|
||||
static void
|
||||
glade_placeholder_replace_dialog (GtkWidget *current,
|
||||
GtkWidget *new,
|
||||
GtkWidget *container)
|
||||
{
|
||||
|
||||
glade_placeholder_replace_box (current, new, GTK_DIALOG (container)->vbox);
|
||||
}
|
||||
|
||||
static void
|
||||
glade_placeholder_replace_container (GtkWidget *current,
|
||||
GtkWidget *new,
|
||||
@ -203,6 +212,8 @@ glade_placeholder_add_methods_to_class (GladeWidgetClass *class)
|
||||
class->placeholder_replace = glade_placeholder_replace_table;
|
||||
if (strcmp (class->name, "GtkNotebook") == 0)
|
||||
class->placeholder_replace = glade_placeholder_replace_notebook;
|
||||
if (strcmp (class->name, "GtkDialog") == 0)
|
||||
class->placeholder_replace = glade_placeholder_replace_dialog;
|
||||
if ((strcmp (class->name, "GtkWindow") == 0) ||
|
||||
(strcmp (class->name, "GtkFrame") == 0) ||
|
||||
(strcmp (class->name, "GtkHandleBox") == 0 ))
|
||||
@ -370,8 +381,13 @@ glade_placeholder_add_with_result (GladeWidgetClass *class,
|
||||
|
||||
if (GLADE_WIDGET_CLASS_TOPLEVEL (class)) {
|
||||
GladePlaceholder *placeholder;
|
||||
|
||||
placeholder = glade_placeholder_new (widget);
|
||||
gtk_container_add (GTK_CONTAINER (widget->widget), GTK_WIDGET (placeholder));
|
||||
if (glade_widget_class_is (class, "GtkDialog"))
|
||||
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (widget->widget)->vbox),
|
||||
GTK_WIDGET (placeholder));
|
||||
else
|
||||
gtk_container_add (GTK_CONTAINER (widget->widget), GTK_WIDGET (placeholder));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -412,10 +428,14 @@ glade_placeholder_get_from_properties (GladeWidget *parent,
|
||||
GList *list;
|
||||
|
||||
if (glade_widget_class_is (parent->class, "GtkVBox") ||
|
||||
glade_widget_class_is (parent->class, "GtkHBox")) {
|
||||
glade_widget_class_is (parent->class, "GtkHBox") ||
|
||||
glade_widget_class_is (parent->class, "GtkDialog")) {
|
||||
GtkBoxChild *box_child;
|
||||
const gchar *val;
|
||||
list = gtk_container_children (GTK_CONTAINER (parent->widget));
|
||||
if (glade_widget_class_is (parent->class, "GtkDialog"))
|
||||
list = gtk_container_children (GTK_CONTAINER ( GTK_DIALOG (parent->widget)->vbox));
|
||||
else
|
||||
list = gtk_container_children (GTK_CONTAINER (parent->widget));
|
||||
val = g_hash_table_lookup (properties, "position");
|
||||
box_child = (GtkBoxChild *) g_list_nth (list, atoi (val));
|
||||
placeholder = box_child->widget;
|
||||
@ -469,20 +489,27 @@ glade_placeholder_remove_all (GtkWidget *widget)
|
||||
g_return_if_fail (widget != NULL);
|
||||
|
||||
if (glade_widget_class_is (gwidget->class, "GtkVBox") ||
|
||||
glade_widget_class_is (gwidget->class, "GtkHBox")) {
|
||||
glade_widget_class_is (gwidget->class, "GtkHBox") ||
|
||||
glade_widget_class_is (gwidget->class, "GtkDialog")) {
|
||||
GList *element;
|
||||
GtkBox *box;
|
||||
GtkBoxChild *box_child;
|
||||
|
||||
if (glade_widget_class_is (gwidget->class, "GtkDialog"))
|
||||
box = GTK_BOX (GTK_DIALOG (widget)->vbox);
|
||||
else
|
||||
box = GTK_BOX (widget);
|
||||
|
||||
element = g_list_first (GTK_BOX (widget)->children);
|
||||
element = g_list_first (box->children);
|
||||
while (element != NULL) {
|
||||
box_child = element->data;
|
||||
if (glade_placeholder_is (box_child->widget)) {
|
||||
child_widget = glade_widget_get_from_gtk_widget (box_child->widget);
|
||||
if (child_widget)
|
||||
glade_widget_delete (child_widget);
|
||||
gtk_container_remove (GTK_CONTAINER (widget),
|
||||
gtk_container_remove (GTK_CONTAINER (box),
|
||||
box_child->widget);
|
||||
element = g_list_first (GTK_BOX (widget)->children);
|
||||
element = g_list_first (box->children);
|
||||
} else {
|
||||
element = g_list_next (element);
|
||||
}
|
||||
@ -520,14 +547,18 @@ glade_placeholder_fill_empty (GtkWidget *widget)
|
||||
g_return_if_fail (widget != NULL);
|
||||
|
||||
if (glade_widget_class_is (gwidget->class, "GtkVBox") ||
|
||||
glade_widget_class_is (gwidget->class, "GtkHBox")) {
|
||||
glade_widget_class_is (gwidget->class, "GtkHBox") ||
|
||||
glade_widget_class_is (gwidget->class, "GtkDialog")) {
|
||||
GList *element;
|
||||
GtkBox *box;
|
||||
GtkBoxChild *box_child;
|
||||
GladeProperty *property;
|
||||
gint size, i, position;
|
||||
|
||||
box = GTK_BOX (widget);
|
||||
if (glade_widget_class_is (gwidget->class, "GtkDialog"))
|
||||
box = GTK_BOX (GTK_DIALOG (widget)->vbox);
|
||||
else
|
||||
box = GTK_BOX (widget);
|
||||
|
||||
property = glade_property_get_from_id (gwidget->properties, "size");
|
||||
size = glade_property_get_integer (property);
|
||||
|
||||
@ -428,7 +428,6 @@ glade_project_view_button_press_cb (GtkTreeView *view, GdkEventButton *event)
|
||||
GladeWidget *widget;
|
||||
|
||||
if (!gtk_tree_view_get_path_at_pos (view,
|
||||
event->window,
|
||||
event->x, event->y,
|
||||
&path, NULL, NULL, NULL)) {
|
||||
g_print ("Could not get path at pos\n");
|
||||
|
||||
@ -207,8 +207,7 @@ glade_project_window_construct_menu (GladeProjectWindow *gpw)
|
||||
|
||||
/* Accelerators */
|
||||
accel_group = gtk_accel_group_new ();
|
||||
gtk_accel_group_attach (accel_group, G_OBJECT (gpw->window));
|
||||
gtk_accel_group_unref (accel_group);
|
||||
gtk_window_add_accel_group (GTK_WINDOW (gpw->window), accel_group);
|
||||
|
||||
/* Item factory */
|
||||
item_factory = gtk_item_factory_new (GTK_TYPE_MENU_BAR, "<main>", accel_group);
|
||||
|
||||
@ -162,6 +162,9 @@ glade_property_class_new (void)
|
||||
static void
|
||||
glade_widget_property_class_free (GladePropertyClass *class)
|
||||
{
|
||||
if (class == NULL)
|
||||
return;
|
||||
|
||||
g_return_if_fail (GLADE_IS_PROPERTY_CLASS (class));
|
||||
|
||||
MY_FREE (class->name);
|
||||
@ -183,7 +186,11 @@ glade_property_class_get_type_from_spec (GParamSpec *spec)
|
||||
case G_TYPE_PARAM_BOOLEAN:
|
||||
return GLADE_PROPERTY_TYPE_BOOLEAN;
|
||||
case G_TYPE_PARAM_STRING:
|
||||
return GLADE_PROPERTY_TYPE_STRING;
|
||||
/* FIXME: We should solve the "name" conflict with a better solution */
|
||||
if (!g_ascii_strcasecmp ( spec->name, "name"))
|
||||
return GLADE_PROPERTY_TYPE_ERROR;
|
||||
else
|
||||
return GLADE_PROPERTY_TYPE_STRING;
|
||||
case G_TYPE_PARAM_ENUM:
|
||||
return GLADE_PROPERTY_TYPE_ENUM;
|
||||
case G_TYPE_PARAM_DOUBLE:
|
||||
@ -197,9 +204,13 @@ glade_property_class_get_type_from_spec (GParamSpec *spec)
|
||||
case G_TYPE_PARAM_OBJECT:
|
||||
return GLADE_PROPERTY_TYPE_OBJECT;
|
||||
default:
|
||||
g_warning ("Could not determine GladePropertyType from spec (%d,%s)",
|
||||
G_PARAM_SPEC_TYPE (spec),
|
||||
G_PARAM_SPEC_TYPE_NAME (spec));
|
||||
/*FIXME: We should implement the "events" property */
|
||||
if (g_ascii_strcasecmp ( spec->name, "user-data") &&
|
||||
g_ascii_strcasecmp ( spec->name, "events")) {
|
||||
g_warning ("Could not determine GladePropertyType from spec (%d,%s)",
|
||||
G_PARAM_SPEC_TYPE (spec),
|
||||
G_PARAM_SPEC_TYPE_NAME (spec));
|
||||
}
|
||||
}
|
||||
|
||||
return GLADE_PROPERTY_TYPE_ERROR;
|
||||
@ -278,10 +289,11 @@ glade_property_get_default_choice (GParamSpec *spec,
|
||||
#endif
|
||||
|
||||
gchar *
|
||||
glade_property_class_make_string_from_gvalue (GladePropertyType type,
|
||||
glade_property_class_make_string_from_gvalue (GladePropertyClass *property_class,
|
||||
const GValue *value)
|
||||
{
|
||||
gchar *string = NULL;
|
||||
GladePropertyType type = property_class->type;
|
||||
|
||||
switch (type) {
|
||||
case GLADE_PROPERTY_TYPE_INTEGER:
|
||||
@ -301,7 +313,18 @@ glade_property_class_make_string_from_gvalue (GladePropertyType type,
|
||||
string = g_strdup (g_value_get_string (value));
|
||||
break;
|
||||
case GLADE_PROPERTY_TYPE_ENUM:
|
||||
glade_implement_me ();
|
||||
{
|
||||
GList *list;
|
||||
GladeChoice *choice;
|
||||
|
||||
list = g_list_nth (property_class->choices, g_value_get_enum (value));
|
||||
if (list != NULL) {
|
||||
choice = (GladeChoice *) list->data;
|
||||
string = g_strdup (choice->id);
|
||||
} else {
|
||||
g_warning ("Could not found choice #%d\n", g_value_get_enum (value));
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
g_warning ("Could not make string from gvalue for type %s\n",
|
||||
@ -312,10 +335,11 @@ glade_property_class_make_string_from_gvalue (GladePropertyType type,
|
||||
}
|
||||
|
||||
GValue *
|
||||
glade_property_class_make_gvalue_from_string (GladePropertyType type,
|
||||
glade_property_class_make_gvalue_from_string (GladePropertyClass *property_class,
|
||||
const gchar *string)
|
||||
{
|
||||
GValue *value = g_new0 (GValue, 1);
|
||||
GladePropertyType type = property_class->type;
|
||||
|
||||
switch (type) {
|
||||
case GLADE_PROPERTY_TYPE_INTEGER:
|
||||
@ -519,7 +543,7 @@ glade_property_class_get_parameters_from_spec (GParamSpec *spec,
|
||||
}
|
||||
|
||||
static GValue *
|
||||
glade_property_class_get_default (GladeXmlNode *node, GladePropertyType type)
|
||||
glade_property_class_get_default (GladeXmlNode *node, GladePropertyClass *property_class)
|
||||
{
|
||||
GValue *value;
|
||||
gchar *temp;
|
||||
@ -533,7 +557,7 @@ glade_property_class_get_default (GladeXmlNode *node, GladePropertyType type)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
value = glade_property_class_make_gvalue_from_string (type, temp);
|
||||
value = glade_property_class_make_gvalue_from_string (property_class, temp);
|
||||
|
||||
g_free (temp);
|
||||
|
||||
@ -570,8 +594,8 @@ glade_property_class_load_from_param_spec (const gchar *name,
|
||||
}
|
||||
|
||||
class->id = g_strdup (spec->name);
|
||||
class->name = g_strdup (g_param_get_nick (spec));
|
||||
class->tooltip = g_strdup (g_param_get_blurb (spec));
|
||||
class->name = g_strdup (g_param_spec_get_nick (spec));
|
||||
class->tooltip = g_strdup (g_param_spec_get_blurb (spec));
|
||||
class->type = glade_property_class_get_type_from_spec (spec);
|
||||
|
||||
if (class->type == GLADE_PROPERTY_TYPE_ERROR) {
|
||||
@ -588,7 +612,7 @@ glade_property_class_load_from_param_spec (const gchar *name,
|
||||
*/
|
||||
def = glade_xml_get_property_string (node, GLADE_TAG_DEFAULT);
|
||||
if (def) {
|
||||
class->def = glade_property_class_get_default (node, class->type);
|
||||
class->def = glade_property_class_get_default (node, class);
|
||||
g_free (def);
|
||||
} else {
|
||||
class->def = glade_property_class_get_default_from_spec (spec, class, node);
|
||||
@ -657,51 +681,156 @@ glade_xml_read_list (GladeXmlNode *node, const gchar *list_tag, const gchar *ite
|
||||
return list;
|
||||
}
|
||||
|
||||
static GladePropertyClass *
|
||||
glade_property_class_new_from_node (GladeXmlNode *node, GladeWidgetClass *widget_class)
|
||||
static void
|
||||
glade_property_class_update_from_node (GladeXmlNode *node,
|
||||
GladeWidgetClass *widget_class,
|
||||
GladePropertyClass **property_class)
|
||||
{
|
||||
GladePropertyClass *property_class;
|
||||
GladeXmlNode *child;
|
||||
GladePropertyClass *pproperty_class;
|
||||
gchar *type;
|
||||
gchar *id;
|
||||
gchar *name;
|
||||
|
||||
if (!glade_xml_node_verify (node, GLADE_TAG_PROPERTY))
|
||||
return NULL;
|
||||
return;
|
||||
|
||||
id = glade_xml_get_property_string_required (node, GLADE_TAG_ID, widget_class->name);
|
||||
if (id == NULL)
|
||||
return NULL;
|
||||
return;
|
||||
|
||||
property_class = glade_property_class_new ();
|
||||
|
||||
/* We first load the members that can be present in a property defined by a ParamSpec */
|
||||
pproperty_class = *property_class;
|
||||
|
||||
/* If we have a property like ... ParamSpec="FALSE"> we should
|
||||
* overwrite the ParamSpec prefs.
|
||||
* If the property_class == NULL we should create it from .xml file
|
||||
*/
|
||||
if ( !glade_xml_get_property_boolean (node, GLADE_TAG_PARAM_SPEC, TRUE) || pproperty_class == NULL) {
|
||||
name = glade_xml_get_property_string_required (node, GLADE_TAG_NAME, widget_class->name);
|
||||
if (name == NULL)
|
||||
return;
|
||||
|
||||
pproperty_class = glade_property_class_new ();
|
||||
|
||||
/* Ok, this property should not be loaded with ParamSpec */
|
||||
pproperty_class->id = id;
|
||||
pproperty_class->name = name;
|
||||
pproperty_class->tooltip = glade_xml_get_value_string (node, GLADE_TAG_TOOLTIP);
|
||||
|
||||
/* Get the type */
|
||||
type = glade_xml_get_value_string_required (node, GLADE_TAG_TYPE, widget_class->name);
|
||||
if (type == NULL) {
|
||||
glade_widget_property_class_free (pproperty_class);
|
||||
pproperty_class = NULL;
|
||||
return;
|
||||
}
|
||||
pproperty_class->type = glade_property_type_str_to_enum (type);
|
||||
g_free (type);
|
||||
if (pproperty_class->type == GLADE_PROPERTY_TYPE_ERROR) {
|
||||
glade_widget_property_class_free (pproperty_class);
|
||||
pproperty_class = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Get the Parameters */
|
||||
child = glade_xml_search_child (node, GLADE_TAG_PARAMETERS);
|
||||
if (child != NULL)
|
||||
pproperty_class->parameters = glade_parameter_list_new_from_node (NULL, child);
|
||||
glade_parameter_get_boolean (pproperty_class->parameters, "Optional", &pproperty_class->optional);
|
||||
|
||||
/* Get the choices */
|
||||
if (pproperty_class->type == GLADE_PROPERTY_TYPE_ENUM) {
|
||||
GValue *gvalue;
|
||||
gchar *type_name;
|
||||
GType type;
|
||||
gchar *default_string;
|
||||
GladeXmlNode *child;
|
||||
child = glade_xml_search_child_required (node, GLADE_TAG_ENUMS);
|
||||
if (child == NULL) {
|
||||
glade_widget_property_class_free (pproperty_class);
|
||||
pproperty_class = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
pproperty_class->choices = glade_choice_list_new_from_node (child);
|
||||
type_name = glade_xml_get_property_string_required (child, "EnumType", NULL);
|
||||
if (type_name == NULL) {
|
||||
glade_widget_property_class_free (pproperty_class);
|
||||
pproperty_class = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
type = g_type_from_name (type_name);
|
||||
if (! (type != 0)) {
|
||||
glade_widget_property_class_free (pproperty_class);
|
||||
pproperty_class = NULL;
|
||||
return;
|
||||
}
|
||||
gvalue = g_new0 (GValue, 1);
|
||||
g_value_init (gvalue, type);
|
||||
default_string = glade_xml_get_property_string (node, GLADE_TAG_DEFAULT);
|
||||
pproperty_class->def = gvalue;
|
||||
glade_widget_property_class_free (*property_class);
|
||||
*property_class = pproperty_class;
|
||||
return;
|
||||
}
|
||||
|
||||
/* If the property is an object Load it */
|
||||
if (pproperty_class->type == GLADE_PROPERTY_TYPE_OBJECT) {
|
||||
child = glade_xml_search_child_required (node, GLADE_TAG_GLADE_WIDGET_CLASS);
|
||||
if (child == NULL) {
|
||||
glade_widget_property_class_free (pproperty_class);
|
||||
pproperty_class = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
pproperty_class->child = glade_widget_class_new_from_node (child);
|
||||
g_print ("Loaded %s\n", pproperty_class->child->name);
|
||||
}
|
||||
|
||||
pproperty_class->def = glade_property_class_get_default (node, pproperty_class);
|
||||
glade_widget_property_class_free (*property_class);
|
||||
*property_class = pproperty_class;
|
||||
|
||||
} else {
|
||||
GValue *tmp;
|
||||
tmp = glade_property_class_get_default (node, pproperty_class);
|
||||
if (tmp != NULL) {
|
||||
g_free (pproperty_class->def);
|
||||
pproperty_class->def = tmp;
|
||||
}
|
||||
}
|
||||
|
||||
/* FIXME: This should never occur... */
|
||||
if (pproperty_class == NULL) {
|
||||
g_error ("pproperty is NULL!!\n");
|
||||
return;
|
||||
}
|
||||
/* Get the Query */
|
||||
child = glade_xml_search_child (node, GLADE_TAG_QUERY);
|
||||
if (child != NULL)
|
||||
property_class->query = glade_query_new_from_node (child);
|
||||
pproperty_class->query = glade_query_new_from_node (child);
|
||||
|
||||
|
||||
/* Will this property go in the common tab ? */
|
||||
property_class->common = glade_xml_get_property_boolean (node, GLADE_TAG_COMMON, FALSE);
|
||||
property_class->optional = glade_xml_get_property_boolean (node, GLADE_TAG_OPTIONAL, FALSE);
|
||||
if (property_class->optional) {
|
||||
property_class->optional_default = glade_xml_get_property_boolean (node, GLADE_TAG_OPTIONAL_DEFAULT, FALSE);
|
||||
pproperty_class->common = glade_xml_get_property_boolean (node, GLADE_TAG_COMMON, FALSE);
|
||||
pproperty_class->optional = glade_xml_get_property_boolean (node, GLADE_TAG_OPTIONAL, FALSE);
|
||||
if (pproperty_class->optional) {
|
||||
pproperty_class->optional_default = glade_xml_get_property_boolean (node,
|
||||
GLADE_TAG_OPTIONAL_DEFAULT, FALSE);
|
||||
}
|
||||
|
||||
/* Now get the list of signals that we should listen to */
|
||||
property_class->update_signals = glade_xml_read_list (node,
|
||||
pproperty_class->update_signals = glade_xml_read_list (node,
|
||||
GLADE_TAG_UPDATE_SIGNALS,
|
||||
GLADE_TAG_SIGNAL_NAME);
|
||||
|
||||
|
||||
/* If this property can't be set with g_object_set, get the workarround
|
||||
* function
|
||||
*/
|
||||
child = glade_xml_search_child (node, GLADE_TAG_SET_FUNCTION);
|
||||
if (child != NULL) {
|
||||
gchar * content = glade_xml_get_content (child);
|
||||
glade_property_class_get_set_function (property_class, content);
|
||||
glade_property_class_get_set_function (pproperty_class, content);
|
||||
g_free (content);
|
||||
}
|
||||
/* If this property can't be get with g_object_get, get the workarround
|
||||
@ -710,114 +839,56 @@ glade_property_class_new_from_node (GladeXmlNode *node, GladeWidgetClass *widget
|
||||
child = glade_xml_search_child (node, GLADE_TAG_GET_FUNCTION);
|
||||
if (child != NULL) {
|
||||
gchar * content = glade_xml_get_content (child);
|
||||
glade_property_class_get_get_function (property_class, content);
|
||||
glade_property_class_get_get_function (pproperty_class, content);
|
||||
g_free (content);
|
||||
}
|
||||
|
||||
|
||||
/* Should we load this property from the ParamSpec ?
|
||||
* We can have a property like ... ParamSpec="TRUE">
|
||||
* Or a child like <ParamSpec/>, but this will be deprecated
|
||||
*/
|
||||
if (glade_xml_get_property_boolean (node, GLADE_TAG_PARAM_SPEC, TRUE)) {
|
||||
gboolean retval;
|
||||
|
||||
retval = glade_property_class_load_from_param_spec (id, property_class, widget_class, node);
|
||||
g_free (id);
|
||||
if (retval == FALSE) {
|
||||
glade_widget_class_dump_param_specs (widget_class);
|
||||
glade_widget_property_class_free (property_class);
|
||||
property_class = NULL;
|
||||
}
|
||||
|
||||
return property_class;
|
||||
}
|
||||
|
||||
name = glade_xml_get_property_string_required (node, GLADE_TAG_NAME, widget_class->name);
|
||||
if (name == NULL)
|
||||
return NULL;
|
||||
|
||||
/* Ok, this property should not be loaded with ParamSpec */
|
||||
property_class->id = id;
|
||||
property_class->name = name;
|
||||
property_class->tooltip = glade_xml_get_value_string (node, GLADE_TAG_TOOLTIP);
|
||||
|
||||
/* Get the type */
|
||||
type = glade_xml_get_value_string_required (node, GLADE_TAG_TYPE, widget_class->name);
|
||||
if (type == NULL)
|
||||
return NULL;
|
||||
property_class->type = glade_property_type_str_to_enum (type);
|
||||
g_free (type);
|
||||
if (property_class->type == GLADE_PROPERTY_TYPE_ERROR)
|
||||
return NULL;
|
||||
|
||||
/* Get the Parameters */
|
||||
child = glade_xml_search_child (node, GLADE_TAG_PARAMETERS);
|
||||
if (child != NULL)
|
||||
property_class->parameters = glade_parameter_list_new_from_node (NULL, child);
|
||||
glade_parameter_get_boolean (property_class->parameters, "Optional", &property_class->optional);
|
||||
|
||||
/* Get the choices */
|
||||
if (property_class->type == GLADE_PROPERTY_TYPE_ENUM) {
|
||||
GValue *gvalue;
|
||||
gchar *type_name;
|
||||
GType type;
|
||||
gchar *default_string;
|
||||
GladeXmlNode *child;
|
||||
child = glade_xml_search_child_required (node, GLADE_TAG_ENUMS);
|
||||
if (child == NULL)
|
||||
return NULL;
|
||||
property_class->choices = glade_choice_list_new_from_node (child);
|
||||
type_name = glade_xml_get_property_string_required (child, "EnumType", NULL);
|
||||
if (type_name == NULL)
|
||||
return NULL;
|
||||
type = g_type_from_name (type_name);
|
||||
g_return_val_if_fail (type != 0, NULL);
|
||||
gvalue = g_new0 (GValue, 1);
|
||||
g_value_init (gvalue, type);
|
||||
default_string = glade_xml_get_property_string (node, GLADE_TAG_DEFAULT);
|
||||
property_class->def = gvalue;
|
||||
return property_class;
|
||||
}
|
||||
|
||||
/* If the property is an object Load it */
|
||||
if (property_class->type == GLADE_PROPERTY_TYPE_OBJECT) {
|
||||
child = glade_xml_search_child_required (node, GLADE_TAG_GLADE_WIDGET_CLASS);
|
||||
if (child == NULL)
|
||||
return NULL;
|
||||
property_class->child = glade_widget_class_new_from_node (child);
|
||||
g_print ("Loaded %s\n", property_class->child->name);
|
||||
}
|
||||
|
||||
property_class->def = glade_property_class_get_default (node, property_class->type);
|
||||
|
||||
return property_class;
|
||||
return;
|
||||
}
|
||||
|
||||
GList *
|
||||
glade_property_class_list_new_from_node (GladeXmlNode *node, GladeWidgetClass *class)
|
||||
|
||||
void
|
||||
glade_property_class_list_add_from_node (GladeXmlNode *node,
|
||||
GladeWidgetClass *widget_class,
|
||||
GList **properties)
|
||||
{
|
||||
GladePropertyClass *property_class;
|
||||
GladePropertyClass *property_class = NULL;
|
||||
GladeXmlNode *child;
|
||||
GList *list;
|
||||
GList *list_element;
|
||||
gchar *buff;
|
||||
|
||||
if (!glade_xml_node_verify (node, GLADE_TAG_PROPERTIES))
|
||||
return NULL;
|
||||
|
||||
list = NULL;
|
||||
return;
|
||||
|
||||
child = glade_xml_node_get_children (node);
|
||||
|
||||
for (; child != NULL; child = glade_xml_node_next (child)) {
|
||||
if (!glade_xml_node_verify (child, GLADE_TAG_PROPERTY))
|
||||
return NULL;
|
||||
property_class = glade_property_class_new_from_node (child, class);
|
||||
if (property_class != NULL)
|
||||
list = g_list_prepend (list, property_class);
|
||||
return;
|
||||
|
||||
list_element = g_list_last (*properties);
|
||||
buff = glade_xml_get_property_string (child, GLADE_TAG_ID);
|
||||
while (list_element != NULL && property_class == NULL) {
|
||||
|
||||
if (!g_ascii_strcasecmp (((GladePropertyClass *) list_element->data)->id, buff))
|
||||
property_class = (GladePropertyClass *) list_element->data;
|
||||
else
|
||||
list_element = g_list_previous (list_element);
|
||||
}
|
||||
|
||||
|
||||
glade_property_class_update_from_node (child, widget_class, &property_class);
|
||||
if (property_class != NULL) {
|
||||
if (list_element != NULL)
|
||||
*properties = g_list_delete_link (*properties, list_element);
|
||||
*properties = g_list_prepend (*properties, property_class);
|
||||
property_class = NULL;
|
||||
}
|
||||
g_free (buff);
|
||||
}
|
||||
|
||||
list = g_list_reverse (list);
|
||||
*properties = g_list_reverse (*properties);
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
@ -893,3 +964,87 @@ glade_property_class_create_label (GladePropertyClass *class)
|
||||
|
||||
return label;
|
||||
}
|
||||
|
||||
GList *
|
||||
glade_property_class_list_properties (GladeWidgetClass *class)
|
||||
{
|
||||
GladePropertyClass *property_class;
|
||||
GParamSpec **specs = NULL;
|
||||
GParamSpec *spec;
|
||||
GType last;
|
||||
gint n_specs = 0;
|
||||
gint i;
|
||||
GList *list;
|
||||
|
||||
glade_widget_class_get_specs (class, &specs, &n_specs);
|
||||
|
||||
last = 0;
|
||||
list = NULL;
|
||||
for (i = 0; i < n_specs; i++) {
|
||||
|
||||
spec = specs[i];
|
||||
|
||||
/* We only use the writable properties */
|
||||
if (spec->flags & G_PARAM_WRITABLE) {
|
||||
property_class = glade_property_class_new ();
|
||||
|
||||
property_class->type = glade_property_class_get_type_from_spec (spec);
|
||||
if (property_class->type == GLADE_PROPERTY_TYPE_ERROR) {
|
||||
if ( g_ascii_strcasecmp (spec->name, "user-data") &&
|
||||
g_ascii_strcasecmp (spec->name, "name") &&
|
||||
g_ascii_strcasecmp (spec->name, "events")) {
|
||||
g_warning ("Could not create the \"%s\" property for the "
|
||||
"\"%s\" class\n", g_param_spec_get_nick(spec), class->name);
|
||||
}
|
||||
glade_widget_property_class_free (property_class);
|
||||
property_class = NULL;
|
||||
continue;
|
||||
} else if (property_class->type == GLADE_PROPERTY_TYPE_OBJECT) {
|
||||
/* We don't support this properties */
|
||||
continue;
|
||||
} else if (property_class->type == GLADE_PROPERTY_TYPE_ENUM) {
|
||||
property_class->choices = glade_property_class_get_choices_from_spec (spec);
|
||||
}
|
||||
|
||||
if ( !g_ascii_strcasecmp ( g_type_name (spec->owner_type), "GtkWidget") &&
|
||||
g_ascii_strcasecmp (spec->name, "name")) {
|
||||
property_class->common = TRUE;
|
||||
} else {
|
||||
property_class->common = FALSE;
|
||||
}
|
||||
property_class->optional = FALSE;
|
||||
property_class->update_signals = NULL;
|
||||
property_class->id = g_strdup (spec->name);
|
||||
property_class->name = g_strdup (g_param_spec_get_nick (spec));
|
||||
property_class->tooltip = g_strdup (g_param_spec_get_blurb (spec));
|
||||
property_class->def = glade_property_class_get_default_from_spec
|
||||
(spec, property_class, NULL);
|
||||
|
||||
switch (property_class->type) {
|
||||
case GLADE_PROPERTY_TYPE_ENUM:
|
||||
break;
|
||||
case GLADE_PROPERTY_TYPE_STRING:
|
||||
break;
|
||||
case GLADE_PROPERTY_TYPE_INTEGER:
|
||||
case GLADE_PROPERTY_TYPE_FLOAT:
|
||||
case GLADE_PROPERTY_TYPE_DOUBLE:
|
||||
property_class->parameters =
|
||||
glade_property_get_parameters_numeric (spec, property_class);
|
||||
break;
|
||||
case GLADE_PROPERTY_TYPE_BOOLEAN:
|
||||
break;
|
||||
case GLADE_PROPERTY_TYPE_OTHER_WIDGETS:
|
||||
break;
|
||||
case GLADE_PROPERTY_TYPE_OBJECT:
|
||||
break;
|
||||
case GLADE_PROPERTY_TYPE_ERROR:
|
||||
break;
|
||||
}
|
||||
list = g_list_prepend (list, property_class);
|
||||
}
|
||||
}
|
||||
list = g_list_reverse (list);
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -190,15 +190,18 @@ GladePropertyClass * glade_property_class_new (void);
|
||||
|
||||
GtkWidget * glade_property_class_create_label (GladePropertyClass *pclass);
|
||||
GtkWidget * glade_property_class_create_input (GladePropertyClass *pclass);
|
||||
GList * glade_property_class_list_new_from_node (GladeXmlNode * node, GladeWidgetClass *class);
|
||||
GList * glade_property_class_list_properties (GladeWidgetClass *class);
|
||||
void glade_property_class_list_add_from_node (GladeXmlNode * node,
|
||||
GladeWidgetClass *class,
|
||||
GList **properties);
|
||||
|
||||
GParamSpec * glade_property_class_find_spec (GladeWidgetClass *class, const gchar *name);
|
||||
|
||||
gchar * glade_property_type_enum_to_string (GladePropertyType type);
|
||||
|
||||
GValue * glade_property_class_make_gvalue_from_string (GladePropertyType type,
|
||||
GValue * glade_property_class_make_gvalue_from_string (GladePropertyClass *property_class,
|
||||
const gchar *string);
|
||||
gchar * glade_property_class_make_string_from_gvalue (GladePropertyType type,
|
||||
gchar * glade_property_class_make_string_from_gvalue (GladePropertyClass *property_class,
|
||||
const GValue *value);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
@ -142,7 +142,7 @@ glade_property_new_from_class (GladePropertyClass *class, GladeWidget *widget)
|
||||
|
||||
/* Create an empty default if the class does not specify a default value */
|
||||
if (!class->def) {
|
||||
property->value = glade_property_class_make_gvalue_from_string (class->type, "");
|
||||
property->value = glade_property_class_make_gvalue_from_string (class, "");
|
||||
return property;
|
||||
}
|
||||
|
||||
@ -580,7 +580,7 @@ glade_property_write (GladeXmlContext *context, GladeProperty *property)
|
||||
|
||||
node = glade_xml_node_new (context, GLADE_XML_TAG_PROPERTY);
|
||||
glade_xml_node_set_property_string (node, GLADE_XML_TAG_NAME, property->class->id);
|
||||
temp = glade_property_class_make_string_from_gvalue (property->class->type,
|
||||
temp = glade_property_class_make_string_from_gvalue (property->class,
|
||||
property->value);
|
||||
glade_xml_set_content (node, temp);
|
||||
g_free (temp);
|
||||
|
||||
@ -202,7 +202,9 @@ glade_widget_class_new_from_node (GladeXmlNode *node)
|
||||
child = glade_xml_search_child_required (node, GLADE_TAG_PROPERTIES);
|
||||
if (child == NULL)
|
||||
return FALSE;
|
||||
class->properties = glade_property_class_list_new_from_node (child, class);
|
||||
|
||||
class->properties = glade_property_class_list_properties (class);
|
||||
glade_property_class_list_add_from_node (child, class, &class->properties);
|
||||
|
||||
class->signals = glade_widget_class_list_signals (class);
|
||||
|
||||
@ -231,6 +233,7 @@ glade_widget_class_create_pixmap (GladeWidgetClass *class)
|
||||
struct stat s;
|
||||
GtkWidget *widget;
|
||||
gchar *full_path;
|
||||
gchar *default_path;
|
||||
|
||||
g_return_val_if_fail (GLADE_IS_WIDGET_CLASS (class), FALSE);
|
||||
|
||||
@ -238,9 +241,16 @@ glade_widget_class_create_pixmap (GladeWidgetClass *class)
|
||||
|
||||
full_path = g_strdup_printf (PIXMAPS_DIR "/%s.xpm", class->generic_name);
|
||||
if (stat (full_path, &s) != 0) {
|
||||
g_warning ("Could not create a the \"%s\" GladeWidgetClass because \"%s\" does not exist",
|
||||
class->name, full_path);
|
||||
return FALSE;
|
||||
default_path = g_strdup (PIXMAPS_DIR "/custom.xpm");
|
||||
if (stat (default_path, &s) != 0) {
|
||||
g_warning ("Could not create a the \"%s\" GladeWidgetClass because \"%s\" does not exist", class->name, full_path);
|
||||
g_free (full_path);
|
||||
g_free (default_path);
|
||||
return FALSE;
|
||||
} else {
|
||||
g_free (full_path);
|
||||
full_path = default_path;
|
||||
}
|
||||
}
|
||||
|
||||
class->pixbuf = gdk_pixbuf_new_from_file (full_path, NULL);
|
||||
@ -320,7 +330,7 @@ glade_widget_class_has_queries (GladeWidgetClass *class)
|
||||
|
||||
|
||||
/* ParamSpec stuff */
|
||||
static void
|
||||
void
|
||||
glade_widget_class_get_specs (GladeWidgetClass *class, GParamSpec ***specs, gint *n_specs)
|
||||
{
|
||||
GObjectClass *object_class;
|
||||
|
||||
@ -84,6 +84,8 @@ gboolean glade_widget_class_has_queries (GladeWidgetClass *class);
|
||||
|
||||
gboolean glade_widget_class_is (GladeWidgetClass *class, const gchar *name);
|
||||
/* ParamSpec stuff */
|
||||
void glade_widget_class_get_specs (GladeWidgetClass *class,
|
||||
GParamSpec ***specs, gint *n_specs);
|
||||
GParamSpec * glade_widget_class_find_spec (GladeWidgetClass *class, const gchar *name);
|
||||
void glade_widget_class_dump_param_specs (GladeWidgetClass *class);
|
||||
|
||||
|
||||
@ -1197,7 +1197,7 @@ glade_widget_apply_property_from_node (GladeXmlNode *node, GladeWidget *widget)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gvalue = glade_property_class_make_gvalue_from_string (property->class->type,
|
||||
gvalue = glade_property_class_make_gvalue_from_string (property->class,
|
||||
value);
|
||||
|
||||
glade_property_set (property, gvalue);
|
||||
@ -1305,7 +1305,7 @@ glade_widget_apply_property_from_hash_item (gpointer key, gpointer val, gpointer
|
||||
property = glade_property_get_from_id (widget->properties, id);
|
||||
g_assert (property);
|
||||
|
||||
gvalue = glade_property_class_make_gvalue_from_string (property->class->type,
|
||||
gvalue = glade_property_class_make_gvalue_from_string (property->class,
|
||||
value);
|
||||
|
||||
glade_property_set (property, gvalue);
|
||||
|
||||
@ -1,23 +1,63 @@
|
||||
widgets_DATA = \
|
||||
catalog.xml \
|
||||
gtkwindow.xml \
|
||||
gtkaccellabel.xml \
|
||||
gtkalignment.xml \
|
||||
gtkarrow.xml \
|
||||
gtkaspectframe.xml \
|
||||
gtkbutton.xml \
|
||||
gtkcalendar.xml \
|
||||
gtkcheckbutton.xml \
|
||||
gtklabel.xml \
|
||||
gtkvbox.xml \
|
||||
gtkhbox.xml \
|
||||
gtktable.xml \
|
||||
gtkframe.xml \
|
||||
gtknotebook.xml \
|
||||
gtkentry.xml \
|
||||
gtktogglebutton.xml \
|
||||
gtkprogressbar.xml \
|
||||
gtkspinbutton.xml \
|
||||
gtkradiobutton.xml \
|
||||
gtkcolorselectiondialog.xml \
|
||||
gtkcolorselection.xml \
|
||||
gtkcombo.xml \
|
||||
gtkhseparator.xml \
|
||||
gtkvseparator.xml \
|
||||
gtkcurve.xml \
|
||||
gtkdialog.xml \
|
||||
gtkdrawingarea.xml \
|
||||
gtkentry.xml \
|
||||
gtkeventbox.xml \
|
||||
gtkfileselection.xml \
|
||||
gtkfixed.xml \
|
||||
gtkfontselectiondialog.xml \
|
||||
gtkfontselection.xml \
|
||||
gtkframe.xml \
|
||||
gtkgammacurve.xml \
|
||||
gtkhandlebox.xml \
|
||||
gtkoptionmenu.xml
|
||||
gtkhbox.xml \
|
||||
gtkhbuttonbox.xml \
|
||||
gtkhpaned.xml \
|
||||
gtkhruler.xml \
|
||||
gtkhscale.xml \
|
||||
gtkhscrollbar.xml \
|
||||
gtkhseparator.xml \
|
||||
gtkimage.xml \
|
||||
gtkinputdialog.xml \
|
||||
gtklabel.xml \
|
||||
gtklayout.xml \
|
||||
gtkmenubar.xml \
|
||||
gtkmenu.xml \
|
||||
gtkmessagedialog.xml \
|
||||
gtknotebook.xml \
|
||||
gtkoptionmenu.xml \
|
||||
gtkplug.xml \
|
||||
gtkprogressbar.xml \
|
||||
gtkradiobutton.xml \
|
||||
gtkscrolledwindow.xml \
|
||||
gtksocket.xml \
|
||||
gtkspinbutton.xml \
|
||||
gtkstatusbar.xml \
|
||||
gtktable.xml \
|
||||
gtktextview.xml \
|
||||
gtktogglebutton.xml \
|
||||
gtktoolbar.xml \
|
||||
gtktreeview.xml \
|
||||
gtkvbox.xml \
|
||||
gtkvbuttonbox.xml \
|
||||
gtkviewport.xml \
|
||||
gtkvpaned.xml \
|
||||
gtkvruler.xml \
|
||||
gtkvscale.xml \
|
||||
gtkvscrollbar.xml \
|
||||
gtkvseparator.xml \
|
||||
gtkwindow.xml
|
||||
|
||||
EXTRA_DIST = $(widgets_DATA)
|
||||
|
||||
@ -2,10 +2,15 @@
|
||||
|
||||
<GladeWidget>gtkwindow</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkmenubar</GladeWidget>
|
||||
<GladeWidget>gtktoolbar</GladeWidget>
|
||||
<GladeWidget>gtkhandlebox</GladeWidget>
|
||||
|
||||
<GladeWidget>gtklabel</GladeWidget>
|
||||
<GladeWidget>gtkaccellabel</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkentry</GladeWidget>
|
||||
<GladeWidget>gtktextview</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkbutton</GladeWidget>
|
||||
<GladeWidget>gtktogglebutton</GladeWidget>
|
||||
@ -13,18 +18,65 @@
|
||||
<GladeWidget>gtkspinbutton</GladeWidget>
|
||||
<GladeWidget>gtkradiobutton</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkhbox</GladeWidget>
|
||||
<GladeWidget>gtkvbox</GladeWidget>
|
||||
<GladeWidget>gtktable</GladeWidget>
|
||||
<GladeWidget>gtktreeview</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkcombo</GladeWidget>
|
||||
<GladeWidget>gtkoptionmenu</GladeWidget>
|
||||
<GladeWidget>gtkprogressbar</GladeWidget>
|
||||
<GladeWidget>gtkstatusbar</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkhseparator</GladeWidget>
|
||||
<GladeWidget>gtkvseparator</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkimage</GladeWidget>
|
||||
<GladeWidget>gtkdrawingarea</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkdialog</GladeWidget>
|
||||
<GladeWidget>gtkmessagedialog</GladeWidget>
|
||||
<GladeWidget>gtkfileselection</GladeWidget>
|
||||
<GladeWidget>gtkcolorselectiondialog</GladeWidget>
|
||||
<GladeWidget>gtkfontselectiondialog</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkhbox</GladeWidget>
|
||||
<GladeWidget>gtkvbox</GladeWidget>
|
||||
<GladeWidget>gtktable</GladeWidget>
|
||||
<GladeWidget>gtkfixed</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkhbuttonbox</GladeWidget>
|
||||
<GladeWidget>gtkvbuttonbox</GladeWidget>
|
||||
<GladeWidget>gtkhpaned</GladeWidget>
|
||||
<GladeWidget>gtkvpaned</GladeWidget>
|
||||
|
||||
<GladeWidget>gtknotebook</GladeWidget>
|
||||
<GladeWidget>gtkframe</GladeWidget>
|
||||
<GladeWidget>gtkprogressbar</GladeWidget>
|
||||
<GladeWidget>gtkscrolledwindow</GladeWidget>
|
||||
<GladeWidget>gtkviewport</GladeWidget>
|
||||
|
||||
</GladeCatalog>
|
||||
<GladeWidget>gtkhscale</GladeWidget>
|
||||
<GladeWidget>gtkvscale</GladeWidget>
|
||||
<GladeWidget>gtkhruler</GladeWidget>
|
||||
<GladeWidget>gtkvruler</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkalignment</GladeWidget>
|
||||
<GladeWidget>gtkeventbox</GladeWidget>
|
||||
<GladeWidget>gtkcalendar</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkaspectframe</GladeWidget>
|
||||
<GladeWidget>gtkmenu</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkcurve</GladeWidget>
|
||||
<GladeWidget>gtkgammacurve</GladeWidget>
|
||||
<GladeWidget>gtkhscrollbar</GladeWidget>
|
||||
<GladeWidget>gtkvscrollbar</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkcolorselection</GladeWidget>
|
||||
<GladeWidget>gtkfontselection</GladeWidget>
|
||||
|
||||
<GladeWidget>gtkinputdialog</GladeWidget>
|
||||
<GladeWidget>gtkarrow</GladeWidget>
|
||||
|
||||
<GladeWidget>gtklayout</GladeWidget>
|
||||
<GladeWidget>gtkplug</GladeWidget>
|
||||
<GladeWidget>gtksocket</GladeWidget>
|
||||
|
||||
</GladeCatalog>
|
||||
|
||||
30
widgets/gtkaccellabel.xml
Normal file
30
widgets/gtkaccellabel.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkAccelLabel</Name>
|
||||
<GenericName>accellabel</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
<PackingDefaults>
|
||||
|
||||
<PackingDefault id="GtkTable">
|
||||
<Property Id="xexpand" Value="True"/>
|
||||
<Property Id="yexpand" Value="False"/>
|
||||
<Property Id="xshrink" Value="True"/>
|
||||
<Property Id="yshrink" Value="False"/>
|
||||
<Property Id="xfill" Value="False"/>
|
||||
<Property Id="yfill" Value="True"/>
|
||||
</PackingDefault>
|
||||
|
||||
<PackingDefault id="GtkHBox">
|
||||
<Property Id="expand" Value="True"/>
|
||||
<Property Id="fill" Value="False"/>
|
||||
<Property Id="packstart" Value="False"/>
|
||||
</PackingDefault>
|
||||
|
||||
</PackingDefaults>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkalignment.xml
Normal file
11
widgets/gtkalignment.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkAlignment</Name>
|
||||
<GenericName>alignment</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkarrow.xml
Normal file
11
widgets/gtkarrow.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkArrow</Name>
|
||||
<GenericName>arrow</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkaspectframe.xml
Normal file
11
widgets/gtkaspectframe.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkAspectFrame</Name>
|
||||
<GenericName>aspectframe</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkcalendar.xml
Normal file
11
widgets/gtkcalendar.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkCalendar</Name>
|
||||
<GenericName>calendar</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkcolorselection.xml
Normal file
11
widgets/gtkcolorselection.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkColorSelection</Name>
|
||||
<GenericName>colorselection</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkcolorselectiondialog.xml
Normal file
11
widgets/gtkcolorselectiondialog.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkColorSelectionDialog</Name>
|
||||
<GenericName>colorselectiondialog</GenericName>
|
||||
<Toplevel>True</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkcurve.xml
Normal file
11
widgets/gtkcurve.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkCurve</Name>
|
||||
<GenericName>curve</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
13
widgets/gtkdialog.xml
Normal file
13
widgets/gtkdialog.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkDialog</Name>
|
||||
<GenericName>dialog</GenericName>
|
||||
<Toplevel>True</Toplevel>
|
||||
<Placeholder>True</Placeholder>
|
||||
<PostCreateFunction>glade_gtk_dialog_post_create</PostCreateFunction>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkdrawingarea.xml
Normal file
11
widgets/gtkdrawingarea.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkDrawingArea</Name>
|
||||
<GenericName>drawingarea</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkeventbox.xml
Normal file
11
widgets/gtkeventbox.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkEventBox</Name>
|
||||
<GenericName>eventbox</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkfileselection.xml
Normal file
11
widgets/gtkfileselection.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkFileSelection</Name>
|
||||
<GenericName>fileselection</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkfixed.xml
Normal file
11
widgets/gtkfixed.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkFixed</Name>
|
||||
<GenericName>fixed</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkfontselection.xml
Normal file
11
widgets/gtkfontselection.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkFontSelection</Name>
|
||||
<GenericName>fontselection</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkfontselectiondialog.xml
Normal file
11
widgets/gtkfontselectiondialog.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkFontSelectionDialog</Name>
|
||||
<GenericName>fontselectiondialog</GenericName>
|
||||
<Toplevel>True</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkgammacurve.xml
Normal file
11
widgets/gtkgammacurve.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkGammaCurve</Name>
|
||||
<GenericName>gammacurve</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkhbuttonbox.xml
Normal file
11
widgets/gtkhbuttonbox.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkHButtonBox</Name>
|
||||
<GenericName>hbuttonbox</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkhpaned.xml
Normal file
11
widgets/gtkhpaned.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkHPaned</Name>
|
||||
<GenericName>hpaned</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkhruler.xml
Normal file
11
widgets/gtkhruler.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkHRuler</Name>
|
||||
<GenericName>hruler</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkhscale.xml
Normal file
11
widgets/gtkhscale.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkHScale</Name>
|
||||
<GenericName>hscale</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkhscrollbar.xml
Normal file
11
widgets/gtkhscrollbar.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkHScrollbar</Name>
|
||||
<GenericName>hscrollbar</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkimage.xml
Normal file
11
widgets/gtkimage.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkImage</Name>
|
||||
<GenericName>image</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
12
widgets/gtkinputdialog.xml
Normal file
12
widgets/gtkinputdialog.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkInputDialog</Name>
|
||||
<GenericName>inputdialog</GenericName>
|
||||
<Toplevel>True</Toplevel>
|
||||
<Placeholder>True</Placeholder>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtklayout.xml
Normal file
11
widgets/gtklayout.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkLayout</Name>
|
||||
<GenericName>layout</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkmenu.xml
Normal file
11
widgets/gtkmenu.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkMenu</Name>
|
||||
<GenericName>menu</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkmenubar.xml
Normal file
11
widgets/gtkmenubar.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkMenuBar</Name>
|
||||
<GenericName>menubar</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
12
widgets/gtkmessagedialog.xml
Normal file
12
widgets/gtkmessagedialog.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkMessageDialog</Name>
|
||||
<GenericName>messagedialog</GenericName>
|
||||
<Toplevel>True</Toplevel>
|
||||
<Placeholder>True</Placeholder>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkplug.xml
Normal file
11
widgets/gtkplug.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkPlug</Name>
|
||||
<GenericName>plug</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkscrolledwindow.xml
Normal file
11
widgets/gtkscrolledwindow.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkScrolledWindow</Name>
|
||||
<GenericName>scrolledwindow</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtksocket.xml
Normal file
11
widgets/gtksocket.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkSocket</Name>
|
||||
<GenericName>socket</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkstatusbar.xml
Normal file
11
widgets/gtkstatusbar.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkStatusbar</Name>
|
||||
<GenericName>statusbar</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtktextview.xml
Normal file
11
widgets/gtktextview.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkTextView</Name>
|
||||
<GenericName>textview</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtktoolbar.xml
Normal file
11
widgets/gtktoolbar.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkToolbar</Name>
|
||||
<GenericName>toolbar</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtktreeview.xml
Normal file
11
widgets/gtktreeview.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkTreeView</Name>
|
||||
<GenericName>treeview</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkvbuttonbox.xml
Normal file
11
widgets/gtkvbuttonbox.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkVButtonBox</Name>
|
||||
<GenericName>vbuttonbox</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkviewport.xml
Normal file
11
widgets/gtkviewport.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkViewport</Name>
|
||||
<GenericName>viewport</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkvpaned.xml
Normal file
11
widgets/gtkvpaned.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkVPaned</Name>
|
||||
<GenericName>vpaned</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkvruler.xml
Normal file
11
widgets/gtkvruler.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkVRuler</Name>
|
||||
<GenericName>vruler</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkvscale.xml
Normal file
11
widgets/gtkvscale.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkVScale</Name>
|
||||
<GenericName>vscale</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
11
widgets/gtkvscrollbar.xml
Normal file
11
widgets/gtkvscrollbar.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<GladeWidgetClass>
|
||||
|
||||
<Name>GtkVScrollbar</Name>
|
||||
<GenericName>vscrollbar</GenericName>
|
||||
<Toplevel>False</Toplevel>
|
||||
|
||||
<Properties>
|
||||
|
||||
</Properties>
|
||||
|
||||
</GladeWidgetClass>
|
||||
Loading…
x
Reference in New Issue
Block a user