Commit 9d9c7826 authored by Jose Maria Celorio's avatar Jose Maria Celorio

*** empty log message ***

parent 4aec257b
2001-08-04 Chema Celorio <chema@celorio.com>
* src/glade-widget.c (glade_widget_set_default_options_real): add a packing
argument.
(glade_widget_set_default_options): we now set the default options in two
steps. Firts the object properties and
(glade_widget_set_default_packing_options): secondly the packing properties.
The packing properties are applied after the widget is appended to the container
* src/glade-property-class.c (glade_property_class_get_default_from_spec):
default is now a member of GladePropertyClass not a GladeParameter.
* src/glade-parameter.c (glade_parameter_adjustment_new): get the default
from the parameters only if def was not specified. Added a default variable
to the function.
* src/glade-packing.c: add file. Takes care of container packing related
stuff.
* src/glade-gtk.c (glade_gtk_vbox_get_size): add the prototype, still
no content
(glade_gtk_vbox_set_size): ditto.
* src/glade-editor.c (glade_editor_load_packing_page): impl. Adds
the packing page.
* src/Makefile.am: add packging.[ch]
* src/glade-popup.c (glade_popup_create_menu): make the popup-menu
work. Select now works.
* src/glade-widget.h: remove ->popup. destroy it right away.
2001-08-03 Chema Celorio <chema@celorio.com>
* src/glade-widget-class.c (glade_widget_class_list_signals): plug a memleak
(glade_widget_class_compose_get_type_func): plug a memleak
2001-08-01 Chema Celorio <chema@celorio.com>
* src/main.c: add <popt.h>.
......
......@@ -8,11 +8,7 @@
<Property Id="border-width"/>
<Property Id="label"/>
<Property Id="active"/>
<Property Id="draw-indicator">
<Parameters>
<Parameter Key="Default" Value="True"/>
</Parameters>
</Property>
<Property Id="draw-indicator" Default="True"/>
</Properties>
......
......@@ -9,10 +9,9 @@
<Property Id="border-width"/>
<Property Id="label"/>
<Property Id="label-xalign">
<Property Id="label-xalign" Default="0.0">
<Parameters>
<Parameter Key="StepIncrement" Value=".05"/>
<Parameter Key="Default" Value="0.0"/>
</Parameters>
</Property>
<Property Id="shadow"/>
......
......@@ -6,13 +6,12 @@
<Properties>
<Property ParamSpec="FALSE" Name="Size" Id="size">
<Property ParamSpec="FALSE" Name="Size" Id="size" Default="3">
<Type>Integer</Type>
<Tooltip>The number of colunms in the box</Tooltip>
<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"/>
......
......@@ -16,13 +16,12 @@
<Property Id="tab-vborder"/>
<Property Id="enable-popup"/>
<Property ParamSpec="FALSE" Id="pages" Name="Number of pages">
<Property ParamSpec="FALSE" Id="pages" Name="Number of pages" Default="3">
<Type>Integer</Type>
<Tooltip>The number of pages in the notebook</Tooltip>
<Parameters>
<Parameter Key="Min" Value="1"/>
<Parameter Key="Max" Value="100"/>
<Parameter Key="Default" Value="3"/>
<Parameter Key="StepIncrement" Value="1"/>
<Parameter Key="PageIncrement" Value="1"/>
<Parameter Key="ClibmRate" Value="1"/>
......
......@@ -7,11 +7,7 @@
<Property Id="border-width"/>
<Property Id="label"/>
<Property Id="draw-indicator">
<Parameters>
<Parameter Key="Default" Value="True"/>
</Parameters>
</Property>
<Property Id="draw-indicator" Default="True"/>
<Property Id="active"/>
<Property Id="group"/>
......
......@@ -23,39 +23,24 @@
<GenericName>adjustment</GenericName>
<Toplevel>False</Toplevel>
<Properties>
<Property ParamSpec="FALSE" Id="minimum" Name="Min">
<Property ParamSpec="FALSE" Id="minimum" Name="Min" Default="0">
<Type>Float</Type>
<Parameters>
<Parameter Key="Default" Value="0"/>
</Parameters>
<SetFunction>glade_gtk_adjustment_set_max</SetFunction>
</Property>
<Property ParamSpec="FALSE" Id="maximum" Name="Max">
<Property ParamSpec="FALSE" Id="maximum" Name="Max" Default="100">
<Type>Float</Type>
<Parameters>
<Parameter Key="Default" Value="100"/>
</Parameters>
<SetFunction>glade_gtk_adjustment_set_min</SetFunction>
</Property>
<Property ParamSpec="FALSE" Id="step-increment" Name="Step Inc.">
<Property ParamSpec="FALSE" Id="step-increment" Name="Step Inc." Default="1">
<Type>Float</Type>
<Parameters>
<Parameter Key="Default" Value="1"/>
</Parameters>
<SetFunction>glade_gtk_adjustment_set_step_increment</SetFunction>
</Property>
<Property ParamSpec="FALSE" Id="page-increment" Name="Page Inc.">
<Property ParamSpec="FALSE" Id="page-increment" Name="Page Inc." Default="10">
<Type>Float</Type>
<Parameters>
<Parameter Key="Default" Value="10"/>
</Parameters>
<SetFunction>glade_gtk_adjustment_set_step_increment</SetFunction>
</Property>
<Property ParamSpec="FALSE" Id="page-size" Name="Page Size">
<Property ParamSpec="FALSE" Id="page-size" Name="Page Size" Default="10">
<Type>Float</Type>
<Parameters>
<Parameter Key="Default" Value="10"/>
</Parameters>
<SetFunction>glade_gtk_adjustment_set_step_increment</SetFunction>
</Property>
</Properties>
......
......@@ -6,11 +6,10 @@
<Properties>
<Property Id="n-rows">
<Property Id="n-rows" Default="3">
<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"/>
......@@ -21,11 +20,10 @@
</Query>
</Property>
<Property Id="n-columns">
<Property Id="n-columns" Default="3">
<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"/>
......
......@@ -8,13 +8,12 @@
<Property Id="border-width"/>
<Property ParamSpec="FALSE" Name="Size" Id="size">
<Property ParamSpec="FALSE" Name="Size" Id="size" Default="3">
<Type>Integer</Type>
<Tooltip>The number of rows in the box</Tooltip>
<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"/>
......@@ -23,6 +22,8 @@
<WindowTitle>New vertical box</WindowTitle>
<Question>Number of rows</Question>
</Query>
<SetFunction>glade_gtk_vbox_set_size</SetFunction>
<GetFunction>glade_gtk_vbox_get_size</GetFunction>
</Property>
<Property Id="spacing"/>
......
......@@ -10,16 +10,8 @@
<Property Id="type"/>
<Property Id="window-position"/>
<Property Id="modal"/>
<Property Id="default-width">
<Parameters>
<Parameter Key="Default" Value="440"/>
</Parameters>
</Property>
<Property Id="default-height">
<Parameters>
<Parameter Key="Default" Value="250"/>
</Parameters>
</Property>
<Property Id="default-width" Default="440"/>
<Property Id="default-height" Default="250"/>
<Property Id="auto-shrink"/>
<Property Id="allow-grow"/>
<Property Id="auto-shrink"/>
......@@ -28,17 +20,14 @@
<Property Common="TRUE" Id="y"/>
<Property Common="TRUE" Id="width"/>
<Property Common="TRUE" Id="height"/>
<Property Common="TRUE" Id="visible">
<Parameters>
<Parameter Key="Default" Value="True"/>
</Parameters>
</Property>
<Property Common="TRUE" Id="visible" Default="True"/>
<Property Common="TRUE" Id="sensitive"/>
<Property Common="TRUE" Id="can-default"/>
<Property Common="TRUE" Id="has-default"/>
<Property Common="TRUE" Id="can-focus"/>
<!-- Not yet implemented
<Property Common="TRUE" Id="events"/>
-->
<Property Common="TRUE" Id="extension-events"/>
</Properties>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment