mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-12-08 00:04:56 -05:00
a lot of cleaning, added new files and converted old .xml files to use
2001-07-04 Chema Celorio <chema@celorio.com> * widgets/gtk*.xml: a lot of cleaning, added new files and converted old .xml files to use ParamSpec. * src/glade-property-class.c (glade_property_class_find_spec): dump the specs (temp)
This commit is contained in:
parent
4c3303d349
commit
df83a51fe0
@ -1,3 +1,10 @@
|
|||||||
|
2001-07-04 Chema Celorio <chema@celorio.com>
|
||||||
|
|
||||||
|
* widgets/gtk*.xml: a lot of cleaning, added new files and converted old .xml
|
||||||
|
files to use ParamSpec.
|
||||||
|
|
||||||
|
* src/glade-property-class.c (glade_property_class_find_spec): dump the specs (temp)
|
||||||
|
|
||||||
2001-07-02 Chema Celorio <chema@celorio.com>
|
2001-07-02 Chema Celorio <chema@celorio.com>
|
||||||
|
|
||||||
* src/glade-project-window.c (gpw_copy_cb): add function names buts still with no content
|
* src/glade-project-window.c (gpw_copy_cb): add function names buts still with no content
|
||||||
|
|||||||
3
TODO
3
TODO
@ -20,6 +20,9 @@ TAKEN ITEMS (someone is already working on)
|
|||||||
|
|
||||||
OPEN ITEMS [PLease let me know before starting working on any of this]
|
OPEN ITEMS [PLease let me know before starting working on any of this]
|
||||||
----------
|
----------
|
||||||
|
- Fix user query for properties that are loaded with paramspec. Take a look
|
||||||
|
at why gtktable query (non-ParamSpec) works and not vbox (Loading with
|
||||||
|
ParamSpec)
|
||||||
- Implement glade_widget_delete inside glade-widget.c, delete can already
|
- Implement glade_widget_delete inside glade-widget.c, delete can already
|
||||||
be called from the popup menu.
|
be called from the popup menu.
|
||||||
- Implement the popup menu option "Select", it needs to create submenus for
|
- Implement the popup menu option "Select", it needs to create submenus for
|
||||||
|
|||||||
@ -6,6 +6,9 @@ pixmaps_DATA = \
|
|||||||
hbox.xpm \
|
hbox.xpm \
|
||||||
label.xpm \
|
label.xpm \
|
||||||
table.xpm \
|
table.xpm \
|
||||||
|
entry.xpm \
|
||||||
|
notebook.xpm \
|
||||||
|
frame.xpm \
|
||||||
\
|
\
|
||||||
selector.xpm \
|
selector.xpm \
|
||||||
placeholder.xpm
|
placeholder.xpm
|
||||||
|
|||||||
33
pixmaps/entry.xpm
Normal file
33
pixmaps/entry.xpm
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* XPM */
|
||||||
|
static char *entry_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 */
|
||||||
|
"+++++++++++++++++++++",
|
||||||
|
"+++++++++++++++++++++",
|
||||||
|
"....................O",
|
||||||
|
". XO",
|
||||||
|
". OOOOOOOOOOOOOOOOOXO",
|
||||||
|
". OOOOOOOOOOOOOOO OXO",
|
||||||
|
". OOOOOOOO OOOOOO OXO",
|
||||||
|
". OOOOOOOO OOOOOO OXO",
|
||||||
|
". OOO OO X OOO OXO",
|
||||||
|
". OO XOX O O. OO OXO",
|
||||||
|
". OOOOOO O OOO OO OXO",
|
||||||
|
". OOO O OOO OO OXO",
|
||||||
|
". OO XOO O OOO OO OXO",
|
||||||
|
". OO XOO O OO. OO OXO",
|
||||||
|
". OOO O OOO OXO",
|
||||||
|
". OOOOOOOOOOOOOOO OXO",
|
||||||
|
". OOOOOOOOOOOOOOOOOXO",
|
||||||
|
".XXXXXXXXXXXXXXXXXXXO",
|
||||||
|
"OOOOOOOOOOOOOOOOOOOOO",
|
||||||
|
"+++++++++++++++++++++",
|
||||||
|
"+++++++++++++++++++++"
|
||||||
|
};
|
||||||
33
pixmaps/frame.xpm
Normal file
33
pixmaps/frame.xpm
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* XPM */
|
||||||
|
static char *frame_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+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+.OXXXXXXXXXXXXXXX.O+",
|
||||||
|
"+..................O+",
|
||||||
|
"+OOOOOOOOOOOOOOOOOOO+",
|
||||||
|
"+++++++++++++++++++++"
|
||||||
|
};
|
||||||
33
pixmaps/notebook.xpm
Normal file
33
pixmaps/notebook.xpm
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* XPM */
|
||||||
|
static char *notebook_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 */
|
||||||
|
"+++++++++++++++++++++",
|
||||||
|
"+++++++++++++++++++++",
|
||||||
|
"+++++++++++++++++++++",
|
||||||
|
"+OOOOOO.OOOO.OOOO.+++",
|
||||||
|
"+OXXXXX.X.X..X.X..+++",
|
||||||
|
"+OXXXXX..X.X..X.X.+++",
|
||||||
|
"+OXXXXX.X.X..X.X..+++",
|
||||||
|
"+OXXXXX.OOOOOOOOOOO +",
|
||||||
|
"+OXXXXXXXXXXXXXXXX. +",
|
||||||
|
"+OXXXXXXXXXXXXXXXX. +",
|
||||||
|
"+OXXXXXXXXXXXXXXXX. +",
|
||||||
|
"+OXXXXXXXXXXXXXXXX. +",
|
||||||
|
"+OXXXXXXXXXXXXXXXX. +",
|
||||||
|
"+OXXXXXXXXXXXXXXXX. +",
|
||||||
|
"+OXXXXXXXXXXXXXXXX. +",
|
||||||
|
"+OXXXXXXXXXXXXXXXX. +",
|
||||||
|
"+O................. +",
|
||||||
|
"+ +",
|
||||||
|
"+++++++++++++++++++++",
|
||||||
|
"+++++++++++++++++++++",
|
||||||
|
"+++++++++++++++++++++"
|
||||||
|
};
|
||||||
@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
bin_PROGRAMS = glade2
|
bin_PROGRAMS = glade2
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
$(GLADE_CFLAGS) \
|
$(GLADE_CFLAGS) \
|
||||||
|
|||||||
@ -158,6 +158,14 @@ glade_property_class_find_spec (GladeWidgetClass *class, const gchar *name)
|
|||||||
|
|
||||||
glade_property_class_get_specs (class, &specs, &n_specs);
|
glade_property_class_get_specs (class, &specs, &n_specs);
|
||||||
|
|
||||||
|
#if 1
|
||||||
|
g_print ("Dumping specs for %s\n\n", class->name);
|
||||||
|
for (i = 0; i < n_specs; i++) {
|
||||||
|
spec = specs[i];
|
||||||
|
g_print ("%02d - %s\n", i, spec->name);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < n_specs; i++) {
|
for (i = 0; i < n_specs; i++) {
|
||||||
spec = specs[i];
|
spec = specs[i];
|
||||||
|
|
||||||
@ -191,7 +199,8 @@ glade_property_class_get_type_from_spec (GParamSpec *spec)
|
|||||||
case G_TYPE_PARAM_ENUM:
|
case G_TYPE_PARAM_ENUM:
|
||||||
return GLADE_PROPERTY_TYPE_CHOICE;
|
return GLADE_PROPERTY_TYPE_CHOICE;
|
||||||
default:
|
default:
|
||||||
g_warning ("Could not determine GladePropertyType from spec");
|
g_warning ("Could not determine GladePropertyType from spec (%d)",
|
||||||
|
G_PARAM_SPEC_TYPE (spec));
|
||||||
}
|
}
|
||||||
|
|
||||||
return GLADE_PROPERTY_TYPE_ERROR;
|
return GLADE_PROPERTY_TYPE_ERROR;
|
||||||
|
|||||||
@ -6,6 +6,9 @@ widgets_DATA = \
|
|||||||
gtklabel.xml \
|
gtklabel.xml \
|
||||||
gtkvbox.xml \
|
gtkvbox.xml \
|
||||||
gtkhbox.xml \
|
gtkhbox.xml \
|
||||||
gtktable.xml
|
gtktable.xml \
|
||||||
|
gtkframe.xml \
|
||||||
|
gtknotebook.xml \
|
||||||
|
gtkentry.xml
|
||||||
|
|
||||||
EXTRA_DIST = $(widgets_DATA)
|
EXTRA_DIST = $(widgets_DATA)
|
||||||
|
|||||||
@ -1,9 +1,23 @@
|
|||||||
<GladeCatalog>
|
<GladeCatalog>
|
||||||
<GladeWidget>gtkwindow</GladeWidget>
|
<GladeWidget>gtkwindow</GladeWidget>
|
||||||
<GladeWidget>gtkbutton</GladeWidget>
|
|
||||||
<GladeWidget>gtkcheckbutton</GladeWidget>
|
<GladeWidget>gtkmenubar</GladeWidget>
|
||||||
|
<GladeWidget>gtktoolbar</GladeWidget>
|
||||||
|
<!-- gtkhandle box ?? -->
|
||||||
<GladeWidget>gtklabel</GladeWidget>
|
<GladeWidget>gtklabel</GladeWidget>
|
||||||
|
<GladeWidget>gtkentry</GladeWidget>
|
||||||
|
<GladeWidget>gtkcombobox</GladeWidget>
|
||||||
|
|
||||||
|
<GladeWidget>gtkbutton</GladeWidget>
|
||||||
|
<GladeWidget>gtktogglebutton</GladeWidget>
|
||||||
|
<GladeWidget>gtkcheckbutton</GladeWidget>
|
||||||
|
<GladeWidget>gtkradiobutton</GladeWidget>
|
||||||
|
|
||||||
<GladeWidget>gtkhbox</GladeWidget>
|
<GladeWidget>gtkhbox</GladeWidget>
|
||||||
<GladeWidget>gtkvbox</GladeWidget>
|
<GladeWidget>gtkvbox</GladeWidget>
|
||||||
<GladeWidget>gtktable</GladeWidget>
|
<GladeWidget>gtktable</GladeWidget>
|
||||||
|
|
||||||
|
<GladeWidget>gtknotebook</GladeWidget>
|
||||||
|
<GladeWidget>gtkframe</GladeWidget>
|
||||||
|
|
||||||
</GladeCatalog>
|
</GladeCatalog>
|
||||||
@ -7,29 +7,13 @@
|
|||||||
<Properties>
|
<Properties>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>border</Name>
|
||||||
<Name>Border Width</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The width of the border arround the container</Tooltip>
|
|
||||||
<GtkArg>border</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="0"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Text</Type>
|
<Name>label</Name>
|
||||||
<Name>Label</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The text to display</Tooltip>
|
|
||||||
<GtkArg>label</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="VisibleLines" Value="1"/>
|
|
||||||
<Parameter Key="Default" Value=""/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
|
|||||||
@ -7,29 +7,13 @@
|
|||||||
<Properties>
|
<Properties>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>border</Name>
|
||||||
<Name>Border Width</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The width of the border arround the container</Tooltip>
|
|
||||||
<GtkArg>border</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="0"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Text</Type>
|
<Name>label</Name>
|
||||||
<Name>Label</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The text to display</Tooltip>
|
|
||||||
<GtkArg>label</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="VisibleLines" Value="1"/>
|
|
||||||
<Parameter Key="Default" Value=""/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
|
|||||||
27
widgets/gtkentry.xml
Normal file
27
widgets/gtkentry.xml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<GladeWidgetClass>
|
||||||
|
|
||||||
|
<Name>GtkEntry</Name>
|
||||||
|
<GetTypeFunction>gtk_entry_get_type</GetTypeFunction>
|
||||||
|
<GenericName>entry</GenericName>
|
||||||
|
<Toplevel>False</Toplevel>
|
||||||
|
<Icon>entry</Icon>
|
||||||
|
<Properties>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>editable</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>visibility</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>max-length</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
</Properties>
|
||||||
|
|
||||||
|
</GladeWidgetClass>
|
||||||
17
widgets/gtkframe.xml
Normal file
17
widgets/gtkframe.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<GladeWidgetClass>
|
||||||
|
|
||||||
|
<Name>GtkFrame</Name>
|
||||||
|
<GetTypeFunction>gtk_frame_get_type</GetTypeFunction>
|
||||||
|
<GenericName>frame</GenericName>
|
||||||
|
<Toplevel>False</Toplevel>
|
||||||
|
<Icon>frame</Icon>
|
||||||
|
<Properties>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>label</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
</Properties>
|
||||||
|
|
||||||
|
</GladeWidgetClass>
|
||||||
@ -7,34 +7,15 @@
|
|||||||
<Icon>hbox</Icon>
|
<Icon>hbox</Icon>
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>border</Name>
|
||||||
<Name>Border Width</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The width of the border arround the container</Tooltip>
|
|
||||||
<GtkArg>border</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="0"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>size</Name>
|
||||||
<Name>Size</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>Number of widgets in the box</Tooltip>
|
|
||||||
<GtkArg>size</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="3"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
<Query>
|
<Query>
|
||||||
<WindowTitle>New vertical box</WindowTitle>
|
<WindowTitle>New vertical box</WindowTitle>
|
||||||
<Question>Number of rows</Question>
|
<Question>Number of rows</Question>
|
||||||
@ -42,19 +23,10 @@
|
|||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>spacing</Name>
|
||||||
<Name>Spacing</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The space between each child</Tooltip>
|
|
||||||
<GtkArg>spacing</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="3"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
</GladeWidgetClass>
|
</GladeWidgetClass>
|
||||||
|
|||||||
@ -1,18 +1,50 @@
|
|||||||
<GladeWidgetClass>
|
<GladeWidgetClass>
|
||||||
|
|
||||||
<Name>GtkLabel</Name>
|
<Name>GtkLabel</Name>
|
||||||
<GetTypeFunction>gtk_label_get_type</GetTypeFunction>
|
<GetTypeFunction>gtk_label_get_type</GetTypeFunction>
|
||||||
<GenericName>label</GenericName>
|
<GenericName>label</GenericName>
|
||||||
<Toplevel>False</Toplevel>
|
<Toplevel>False</Toplevel>
|
||||||
<Icon>label</Icon>
|
<Icon>label</Icon>
|
||||||
<Properties>
|
<Properties>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Text</Type>
|
<Name>label</Name>
|
||||||
|
<ParamSpec/>
|
||||||
<Parameters>
|
<Parameters>
|
||||||
<Parameter Key="VisibleLines" Value="1"/>
|
<Parameter Key="VisibleLines" Value="1"/>
|
||||||
</Parameters>
|
</Parameters>
|
||||||
<Name>Label</Name>
|
|
||||||
<Tooltip>The text to disaplay</Tooltip>
|
|
||||||
<GtkArg>label</GtkArg>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>justify</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>wrap</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>xalign</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>yalign</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>xpad</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>ypad</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
</GladeWidgetClass>
|
</GladeWidgetClass>
|
||||||
|
|||||||
17
widgets/gtknotebook.xml
Normal file
17
widgets/gtknotebook.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<GladeWidgetClass>
|
||||||
|
|
||||||
|
<Name>GtkNotebook</Name>
|
||||||
|
<GetTypeFunction>gtk_notebook_get_type</GetTypeFunction>
|
||||||
|
<GenericName>notebook</GenericName>
|
||||||
|
<Toplevel>False</Toplevel>
|
||||||
|
<Icon>notebook</Icon>
|
||||||
|
<Properties>
|
||||||
|
|
||||||
|
<Property>
|
||||||
|
<Name>name</Name>
|
||||||
|
<ParamSpec/>
|
||||||
|
</Property>
|
||||||
|
|
||||||
|
</Properties>
|
||||||
|
|
||||||
|
</GladeWidgetClass>
|
||||||
@ -7,19 +7,10 @@
|
|||||||
<Placeholder>True</Placeholder>
|
<Placeholder>True</Placeholder>
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>border-width</Name>
|
||||||
<Name>Border Width</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The width of the border arround the container</Tooltip>
|
|
||||||
<GtkArg>border-width</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="0"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
@ -61,41 +52,20 @@
|
|||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Boolean</Type>
|
<Name>homogeneous</Name>
|
||||||
<Name>Homogeneous</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>If the children should be the same size</Tooltip>
|
|
||||||
<GtkArg>homogeneous</GtkArg>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>row-spacing</Name>
|
||||||
<Name>Row Spacing</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The space between each row</Tooltip>
|
|
||||||
<GtkArg>row-spacing</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="3"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>column-spacing</Name>
|
||||||
<Name>Col Spacing</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The space between each column</Tooltip>
|
|
||||||
<GtkArg>column-spacing</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="3"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|
||||||
</GladeWidgetClass>
|
</GladeWidgetClass>
|
||||||
|
|||||||
@ -7,34 +7,14 @@
|
|||||||
<Placeholder>True</Placeholder>
|
<Placeholder>True</Placeholder>
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>border-width</Name>
|
||||||
<Name>Border Width</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The width of the border arround the container</Tooltip>
|
|
||||||
<GtkArg>border-width</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="0"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>size</Name>
|
||||||
<Name>Size</Name>
|
|
||||||
<Tooltip>Number of widgets in the box</Tooltip>
|
|
||||||
<GtkArg>size</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="3"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
<Query>
|
<Query>
|
||||||
<WindowTitle>New vertical box</WindowTitle>
|
<WindowTitle>New vertical box</WindowTitle>
|
||||||
<Question>Number of rows</Question>
|
<Question>Number of rows</Question>
|
||||||
@ -42,18 +22,8 @@
|
|||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
<Property>
|
<Property>
|
||||||
<Type>Integer</Type>
|
<Name>spacing</Name>
|
||||||
<Name>Spacing</Name>
|
<ParamSpec/>
|
||||||
<Tooltip>The space between each child</Tooltip>
|
|
||||||
<GtkArg>spacing</GtkArg>
|
|
||||||
<Parameters>
|
|
||||||
<Parameter Key="Min" Value="0"/>
|
|
||||||
<Parameter Key="Max" Value="10000"/>
|
|
||||||
<Parameter Key="Default" Value="3"/>
|
|
||||||
<Parameter Key="StepIncrement" Value="1"/>
|
|
||||||
<Parameter Key="PageIncrement" Value="10"/>
|
|
||||||
<Parameter Key="ClibmRate" Value="1"/>
|
|
||||||
</Parameters>
|
|
||||||
</Property>
|
</Property>
|
||||||
|
|
||||||
</Properties>
|
</Properties>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user