Add a rule that stops private classes/structs getting generated into the Gtk assembly.

svn path=/trunk/gtk-sharp/; revision=14079
This commit is contained in:
Lee Mallabone 2003-04-28 21:23:25 +00:00
parent 4bd0192f89
commit 7284a1f6a2
3 changed files with 70 additions and 24 deletions

View File

@ -1,3 +1,8 @@
2003-04-28 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml, sources/Gtk.metadata: Add a rule to
hide classes/structs that are private in Gtk+.
2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com> 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/Scribble.cs: patch from Philip Van Hoof * sample/Scribble.cs: patch from Philip Van Hoof
@ -741,7 +746,7 @@
* */*.custom : make GType params uints * */*.custom : make GType params uints
* sample/Subclass.cs : a simple type registration example * sample/Subclass.cs : a simple type registration example
2002-12-24 Alejandro Sánchez Acosta <raciel@gnome.org> 2002-12-24 Alejandro Sánchez Acosta <raciel@gnome.org>
* samples/tutorial/notebook: Added notebook sample. * samples/tutorial/notebook: Added notebook sample.
@ -777,7 +782,7 @@
* gst/Application.cs: ditto * gst/Application.cs: ditto
* gst/Makefile.in: Reference the newly-built glib-sharp * gst/Makefile.in: Reference the newly-built glib-sharp
2002-12-15 Alejandro Sánchez Acosta <raciel@gnome.org> 2002-12-15 Alejandro Sánchez Acosta <raciel@gnome.org>
* sample/tutorial/spinbutton/SpinButton.cs: Added new SpinButton sample for the GTK# tutorial. * sample/tutorial/spinbutton/SpinButton.cs: Added new SpinButton sample for the GTK# tutorial.
* sample/tutorial/Makefile: Added new SpinButton sample. * sample/tutorial/Makefile: Added new SpinButton sample.
@ -822,7 +827,7 @@
* sample/DbClient/GnomeDbClient.cs: * sample/DbClient/GnomeDbClient.cs:
* sample/DbClient/client.cs: make them build. * sample/DbClient/client.cs: make them build.
2002-11-25 Alejandro Sánchez Acosta <raciel@es.gnu.org> 2002-11-25 Alejandro Sánchez Acosta <raciel@es.gnu.org>
* Added eventbox, rangewidget, scribble and packing sample widget. * Added eventbox, rangewidget, scribble and packing sample widget.
* Changed togglebutton sample. * Changed togglebutton sample.
@ -905,7 +910,7 @@
* api/gtk-api.xml, sources/Gtk.metadata: metadata updates for * api/gtk-api.xml, sources/Gtk.metadata: metadata updates for
hiding some manually-wrapped stuff hiding some manually-wrapped stuff
2002-11-10 Alejandro Sánchez Acosta <raciel@es.gnu.org> 2002-11-10 Alejandro Sánchez Acosta <raciel@es.gnu.org>
* sample/tutorial: added some examples for the gtk# tutorial * sample/tutorial: added some examples for the gtk# tutorial

View File

@ -5685,7 +5685,7 @@
</parameters> </parameters>
</method> </method>
</object> </object>
<object name="SizeGroup" cname="GtkSizeGroup" parent="GObject"> <object name="SizeGroup" cname="GtkSizeGroup" parent="GObject" hidden="1">
<field cname="widgets" type="GSList*"/> <field cname="widgets" type="GSList*"/>
<field cname="mode" type="guint8"/> <field cname="mode" type="guint8"/>
<field cname="have_width" bits="1" type="guint"/> <field cname="have_width" bits="1" type="guint"/>
@ -10259,11 +10259,11 @@
<return-type type="GType"/> <return-type type="GType"/>
</method> </method>
</struct> </struct>
<struct name="BindingArg" cname="GtkBindingArg"> <struct name="BindingArg" cname="GtkBindingArg" hidden="1">
<field cname="arg_type" type="GtkType"/> <field cname="arg_type" type="GtkType"/>
<field cname="long_data" type="glong"/> <field cname="long_data" type="glong"/>
</struct> </struct>
<struct name="BindingEntry" cname="GtkBindingEntry"> <struct name="BindingEntry" cname="GtkBindingEntry" hidden="1">
<field cname="keyval" type="guint"/> <field cname="keyval" type="guint"/>
<field cname="modifiers" type="GdkModifierType"/> <field cname="modifiers" type="GdkModifierType"/>
<field cname="binding_set" type="GtkBindingSet*"/> <field cname="binding_set" type="GtkBindingSet*"/>
@ -10310,7 +10310,7 @@
</parameters> </parameters>
</method> </method>
</struct> </struct>
<struct name="BindingSet" cname="GtkBindingSet"> <struct name="BindingSet" cname="GtkBindingSet" hidden="1">
<field cname="set_name" type="gchar*"/> <field cname="set_name" type="gchar*"/>
<field cname="priority" type="gint"/> <field cname="priority" type="gint"/>
<field cname="widget_path_pspecs" type="GSList*"/> <field cname="widget_path_pspecs" type="GSList*"/>
@ -10353,13 +10353,13 @@
</parameters> </parameters>
</constructor> </constructor>
</struct> </struct>
<struct name="BindingSignal" cname="GtkBindingSignal"> <struct name="BindingSignal" cname="GtkBindingSignal" hidden="1">
<field cname="next" type="GtkBindingSignal*"/> <field cname="next" type="GtkBindingSignal*"/>
<field cname="signal_name" type="gchar*"/> <field cname="signal_name" type="gchar*"/>
<field cname="n_args" type="guint"/> <field cname="n_args" type="guint"/>
<field cname="args" type="GtkBindingArg*"/> <field cname="args" type="GtkBindingArg*"/>
</struct> </struct>
<boxed name="Border" cname="GtkBorder"> <boxed name="Border" cname="GtkBorder" hidden="1">
<field cname="left" type="gint"/> <field cname="left" type="gint"/>
<field cname="right" type="gint"/> <field cname="right" type="gint"/>
<field cname="top" type="gint"/> <field cname="top" type="gint"/>
@ -10374,7 +10374,7 @@
<return-type type="GType"/> <return-type type="GType"/>
</method> </method>
</boxed> </boxed>
<struct name="BoxChild" cname="GtkBoxChild"> <struct name="BoxChild" cname="GtkBoxChild" hidden="1">
<field cname="widget" type="GtkWidget*"/> <field cname="widget" type="GtkWidget*"/>
<field cname="padding" type="guint16"/> <field cname="padding" type="guint16"/>
<field cname="expand" bits="1" type="guint"/> <field cname="expand" bits="1" type="guint"/>
@ -10450,7 +10450,7 @@
<return-type type="gboolean"/> <return-type type="gboolean"/>
</method> </method>
</struct> </struct>
<struct name="FixedChild" cname="GtkFixedChild"> <struct name="FixedChild" cname="GtkFixedChild" hidden="1">
<field cname="widget" type="GtkWidget*"/> <field cname="widget" type="GtkWidget*"/>
<field cname="x" type="gint"/> <field cname="x" type="gint"/>
<field cname="y" type="gint"/> <field cname="y" type="gint"/>
@ -10618,12 +10618,12 @@
<field cname="item_type" type="gchar*"/> <field cname="item_type" type="gchar*"/>
<field cname="extra_data" type="gconstpointer"/> <field cname="extra_data" type="gconstpointer"/>
</struct> </struct>
<struct name="ItemFactoryItem" cname="GtkItemFactoryItem"> <struct name="ItemFactoryItem" cname="GtkItemFactoryItem" hidden="1">
<field cname="path" type="gchar*"/> <field cname="path" type="gchar*"/>
<field cname="widgets" type="GSList*"/> <field cname="widgets" type="GSList*"/>
</struct> </struct>
<struct name="KeyHash" cname="GtkKeyHash" opaque="true"/> <struct name="KeyHash" cname="GtkKeyHash" opaque="true" hidden="1"/>
<struct name="LabelSelectionInfo" cname="GtkLabelSelectionInfo" opaque="true"/> <struct name="LabelSelectionInfo" cname="GtkLabelSelectionInfo" opaque="true" hidden="1"/>
<struct name="NotebookPage" cname="GtkNotebookPage" opaque="true"> <struct name="NotebookPage" cname="GtkNotebookPage" opaque="true">
<method name="Num" cname="gtk_notebook_page_num" shared="true"> <method name="Num" cname="gtk_notebook_page_num" shared="true">
<return-type type="gint"/> <return-type type="gint"/>
@ -10650,9 +10650,9 @@
<field cname="parent_node" type="GtkRBNode*"/> <field cname="parent_node" type="GtkRBNode*"/>
</struct> </struct>
<struct name="RBTreeView" cname="GtkRBTreeView" opaque="true"/> <struct name="RBTreeView" cname="GtkRBTreeView" opaque="true"/>
<struct name="RangeLayout" cname="GtkRangeLayout" opaque="true"/> <struct name="RangeLayout" cname="GtkRangeLayout" opaque="true" hidden="1"/>
<struct name="RangeStepTimer" cname="GtkRangeStepTimer" opaque="true"/> <struct name="RangeStepTimer" cname="GtkRangeStepTimer" opaque="true" hidden="1"/>
<struct name="RcContext" cname="GtkRcContext" opaque="true"/> <struct name="RcContext" cname="GtkRcContext" opaque="true" hidden="1"/>
<struct name="RcProperty" cname="GtkRcProperty"> <struct name="RcProperty" cname="GtkRcProperty">
<field cname="type_name" type="GQuark"/> <field cname="type_name" type="GQuark"/>
<field cname="property_name" type="GQuark"/> <field cname="property_name" type="GQuark"/>
@ -10782,7 +10782,7 @@
<return-type type="void"/> <return-type type="void"/>
</method> </method>
</struct> </struct>
<struct name="TableChild" cname="GtkTableChild"> <struct name="TableChild" cname="GtkTableChild" hidden="1">
<field cname="widget" type="GtkWidget*"/> <field cname="widget" type="GtkWidget*"/>
<field cname="left_attach" type="guint16"/> <field cname="left_attach" type="guint16"/>
<field cname="right_attach" type="guint16"/> <field cname="right_attach" type="guint16"/>
@ -10797,7 +10797,7 @@
<field cname="xfill" bits="1" type="guint"/> <field cname="xfill" bits="1" type="guint"/>
<field cname="yfill" bits="1" type="guint"/> <field cname="yfill" bits="1" type="guint"/>
</struct> </struct>
<struct name="TableRowCol" cname="GtkTableRowCol"> <struct name="TableRowCol" cname="GtkTableRowCol" hidden="1">
<field cname="requisition" type="guint16"/> <field cname="requisition" type="guint16"/>
<field cname="allocation" type="guint16"/> <field cname="allocation" type="guint16"/>
<field cname="spacing" type="guint16"/> <field cname="spacing" type="guint16"/>
@ -11340,7 +11340,7 @@
<field cname="inNodeCounts" type="gboolean"/> <field cname="inNodeCounts" type="gboolean"/>
</struct> </struct>
<struct name="TextWindow" cname="GtkTextWindow" opaque="true"/> <struct name="TextWindow" cname="GtkTextWindow" opaque="true"/>
<struct name="ToolbarChild" cname="GtkToolbarChild"> <struct name="ToolbarChild" cname="GtkToolbarChild" hidden="1">
<field cname="type" type="GtkToolbarChildType"/> <field cname="type" type="GtkToolbarChildType"/>
<field cname="widget" type="GtkWidget*"/> <field cname="widget" type="GtkWidget*"/>
<field cname="icon" type="GtkWidget*"/> <field cname="icon" type="GtkWidget*"/>
@ -11503,7 +11503,7 @@
</method> </method>
</struct> </struct>
<alias name="Type" cname="GtkType" type="GType "/> <alias name="Type" cname="GtkType" type="GType "/>
<struct name="WidgetAuxInfo" cname="GtkWidgetAuxInfo"> <struct name="WidgetAuxInfo" cname="GtkWidgetAuxInfo" hidden="1">
<field cname="x" type="gint"/> <field cname="x" type="gint"/>
<field cname="y" type="gint"/> <field cname="y" type="gint"/>
<field cname="width" type="gint"/> <field cname="width" type="gint"/>
@ -11511,12 +11511,12 @@
<field cname="x_set" bits="1" type="guint"/> <field cname="x_set" bits="1" type="guint"/>
<field cname="y_set" bits="1" type="guint"/> <field cname="y_set" bits="1" type="guint"/>
</struct> </struct>
<struct name="WidgetShapeInfo" cname="GtkWidgetShapeInfo"> <struct name="WidgetShapeInfo" cname="GtkWidgetShapeInfo" hidden="1">
<field cname="offset_x" type="gint16"/> <field cname="offset_x" type="gint16"/>
<field cname="offset_y" type="gint16"/> <field cname="offset_y" type="gint16"/>
<field cname="shape_mask" type="GdkBitmap*"/> <field cname="shape_mask" type="GdkBitmap*"/>
</struct> </struct>
<struct name="WindowGeometryInfo" cname="GtkWindowGeometryInfo" opaque="true"/> <struct name="WindowGeometryInfo" cname="GtkWindowGeometryInfo" opaque="true" hidden="1"/>
<object name="Stock" cname="GtkStock"> <object name="Stock" cname="GtkStock">
<static-string cname="GTK_STOCK_ADD" name="Add" value="gtk-add"/> <static-string cname="GTK_STOCK_ADD" name="Add" value="gtk-add"/>
<static-string cname="GTK_STOCK_APPLY" name="Apply" value="gtk-apply"/> <static-string cname="GTK_STOCK_APPLY" name="Apply" value="gtk-apply"/>

View File

@ -1586,6 +1586,47 @@
</attribute> </attribute>
</data> </data>
</rule> </rule>
<!-- Supress private API bits -->
<rule>
<class name="GtkBorder"/>
<class name="GtkBoxChild"/>
<class name="GtkDebugFlag"/>
<class name="GtkDestDefaults"/>
<class name="GtkExpanderStyle"/>
<class name="GtkFixedChild"/>
<class name="GtkItemFactoryItem"/>
<class name="GtkKeyHash"/>
<class name="GtkLabelSelectionInfo"/>
<class name="GtkObjectFlags"/>
<class name="GtkRangeLayout"/>
<class name="GtkRangeStepTimer"/>
<class name="GtkRcContext"/>
<class name="GtkRcFlags"/>
<class name="GtkReadyEvent"/>
<class name="GtkSizeGroup"/>
<class name="GtkSizeGroupMode"/>
<class name="GtkTableChild"/>
<class name="GtkTableRowCol"/>
<class name="GtkToolbarChild"/>
<class name="GtkToolbarSpaceStyle"/>
<class name="GtkWidgetAuxInfo"/>
<class name="GtkWidgetFlags"/>
<class name="GtkWidgetShapeInfo"/>
<class name="GtkWindowGeometryInfo"/>
<class name="GtkRBNodeColor"/>
<class name="GtkBindingArg"/>
<class name="GtkBindingEntry"/>
<class name="GtkBindingSignal"/>
<class name="GtkBindingSet"/>
<class name="GtkPathPriorityType"/>
<class name="GtkPathType"/>
<data>
<attribute target="class">
<name>hidden</name>
<value>1</value>
</attribute>
</data>
</rule>
<rule> <rule>
<class name="GtkClipboardClearFunc"/> <class name="GtkClipboardClearFunc"/>
<data> <data>