GtkSharp/api/glade-api.xml

363 lines
14 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
2002-08-19 Rachel Hestilow <hestilow@ximian.com> * art/Makefile.in (clean): Change to avoid bugging out on generated/CVS. * glib/ObjectManager.cs: Added. Used to be auto-generated, but now it can infer names, and relies on per-namespace ObjectManager classes to inform it of oddly-named classes. * generator/IGeneratable.cs, GenBase.cs: New "DoGenerate" property. * generator/*Gen.cs: Honor DoGenerate. * generator/CodeGenerator.cs: Support including dependency files which will not be generated. * generator/ObjectGen.cs: Generate mapping file per-namespace, as one that calls back to the one in glib. Only generate if the name does not follow the normal conventions, otherwise, GtkSharp.ObjectManager can infer the name. * generator/Parser.cs: Accept 'generate' flag to pass on to the IGeneratables. Parse a new toplevel element, "symbol", which adds a type to the SymbolTable (instead of hard-coding it). * generator/SignalHandler.cs: Do not optimize signal handler creation, instead creating them in their own namespaces. Do not generate if the calling Signal told us not to. * generator/Signal.cs: Do not generate handlers if container's DoGenerate is false. Adjust to the marshaller name being in a sub-namespace. * generator/SymbolTable.cs (AddSimpleType, AddManualType): Used to add simple and manually wrapped types at runtime instead of compile-time. (FromNative): Remove hard-coded cases for manually wrapped types, use a generic case instead. * api: Added. Move api files and generation targets here. * source: Added. Move source parsing here. * generator/makefile: Move actual generation to api/. * glib/Makefile.in: Remove generated/* target. * glue/Makefile.am: Fix to include canvas-marshal. Move canvas stuff to GNOME target. * gnome/CanvasProxy.cs: Update to work with SignalHandlers being namespace-specific. * parser/Metadata.pm: Moved to GAPI/Metadata.pm, renamed, etc. * parser/gapi2xml.pl: Use GAPI::Metadata. * parser/makefile: Install scripts, remove source parse build target. Rename formatXML to gapi_format_xml. svn path=/trunk/gtk-sharp/; revision=6818
2002-08-20 19:56:18 +00:00
<api>
<!--
This file was automatically generated.
Please DO NOT MODIFY THIS FILE, modify .metadata files instead.
-->
<namespace name="Glade" library="libglade-2.0-0.dll">
2002-08-19 Rachel Hestilow <hestilow@ximian.com> * art/Makefile.in (clean): Change to avoid bugging out on generated/CVS. * glib/ObjectManager.cs: Added. Used to be auto-generated, but now it can infer names, and relies on per-namespace ObjectManager classes to inform it of oddly-named classes. * generator/IGeneratable.cs, GenBase.cs: New "DoGenerate" property. * generator/*Gen.cs: Honor DoGenerate. * generator/CodeGenerator.cs: Support including dependency files which will not be generated. * generator/ObjectGen.cs: Generate mapping file per-namespace, as one that calls back to the one in glib. Only generate if the name does not follow the normal conventions, otherwise, GtkSharp.ObjectManager can infer the name. * generator/Parser.cs: Accept 'generate' flag to pass on to the IGeneratables. Parse a new toplevel element, "symbol", which adds a type to the SymbolTable (instead of hard-coding it). * generator/SignalHandler.cs: Do not optimize signal handler creation, instead creating them in their own namespaces. Do not generate if the calling Signal told us not to. * generator/Signal.cs: Do not generate handlers if container's DoGenerate is false. Adjust to the marshaller name being in a sub-namespace. * generator/SymbolTable.cs (AddSimpleType, AddManualType): Used to add simple and manually wrapped types at runtime instead of compile-time. (FromNative): Remove hard-coded cases for manually wrapped types, use a generic case instead. * api: Added. Move api files and generation targets here. * source: Added. Move source parsing here. * generator/makefile: Move actual generation to api/. * glib/Makefile.in: Remove generated/* target. * glue/Makefile.am: Fix to include canvas-marshal. Move canvas stuff to GNOME target. * gnome/CanvasProxy.cs: Update to work with SignalHandlers being namespace-specific. * parser/Metadata.pm: Moved to GAPI/Metadata.pm, renamed, etc. * parser/gapi2xml.pl: Use GAPI::Metadata. * parser/makefile: Install scripts, remove source parse build target. Rename formatXML to gapi_format_xml. svn path=/trunk/gtk-sharp/; revision=6818
2002-08-20 19:56:18 +00:00
<callback name="ApplyCustomPropFunc" cname="GladeApplyCustomPropFunc">
<return-type type="void"/>
<parameters>
<parameter type="GladeXML*" name="xml"/>
<parameter type="GtkWidget*" name="widget"/>
<parameter type="const-gchar*" name="propname"/>
<parameter type="const-gchar*" name="value"/>
</parameters>
</callback>
<callback name="BuildChildrenFunc" cname="GladeBuildChildrenFunc">
<return-type type="void"/>
<parameters>
<parameter type="GladeXML*" name="xml"/>
<parameter type="GtkWidget*" name="parent"/>
<parameter type="GladeWidgetInfo*" name="info"/>
</parameters>
</callback>
<callback name="FindInternalChildFunc" cname="GladeFindInternalChildFunc">
<return-type type="GtkWidget*"/>
<parameters>
<parameter type="GladeXML*" name="xml"/>
<parameter type="GtkWidget*" name="parent"/>
<parameter type="const-gchar*" name="childname"/>
</parameters>
</callback>
<callback name="NewFunc" cname="GladeNewFunc">
<return-type type="GtkWidget*"/>
<parameters>
<parameter type="GladeXML*" name="xml"/>
<parameter type="GType" name="widget_type"/>
<parameter type="GladeWidgetInfo*" name="info"/>
</parameters>
</callback>
<callback name="XMLConnectFunc" cname="GladeXMLConnectFunc">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="handler_name"/>
<parameter type="GObject*" name="object"/>
<parameter type="const-gchar*" name="signal_name"/>
<parameter type="const-gchar*" name="signal_data"/>
<parameter type="GObject*" name="connect_object"/>
<parameter type="gboolean" name="after"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</callback>
<callback name="XMLCustomWidgetHandler" cname="GladeXMLCustomWidgetHandler">
<return-type type="GtkWidget*"/>
<parameters>
<parameter type="GladeXML*" name="xml"/>
<parameter type="gchar*" name="func_name"/>
<parameter type="gchar*" name="name"/>
<parameter type="gchar*" name="string1"/>
<parameter type="gchar*" name="string2"/>
<parameter type="gint" name="int1"/>
<parameter type="gint" name="int2"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</callback>
<object name="XML" cname="GladeXML" parent="GObject">
<field cname="filename" type="char*"/>
<field cname="priv" type="GladeXMLPrivate*"/>
<method name="BuildWidget" cname="glade_xml_build_widget">
<return-type type="GtkWidget*"/>
<parameters>
<parameter type="GladeWidgetInfo*" name="info"/>
</parameters>
</method>
<method name="Construct" cname="glade_xml_construct">
<return-type type="gboolean"/>
<parameters>
<parameter type="const-char*" name="fname"/>
<parameter type="const-char*" name="root"/>
<parameter type="const-char*" name="domain"/>
</parameters>
</method>
<method name="EnsureAccel" cname="glade_xml_ensure_accel">
<return-type type="GtkAccelGroup*"/>
</method>
<method name="GetType" cname="glade_xml_get_type" shared="true">
<return-type type="GType"/>
</method>
<method name="GetWidget" cname="glade_xml_get_widget">
<return-type type="GtkWidget*"/>
<parameters>
<parameter type="const-char*" name="name"/>
</parameters>
</method>
<method name="GetWidgetPrefix" cname="glade_xml_get_widget_prefix">
<return-type type="GList*"/>
<parameters>
<parameter type="const-char*" name="name"/>
</parameters>
</method>
<method name="HandleInternalChild" cname="glade_xml_handle_internal_child">
<return-type type="void"/>
<parameters>
<parameter type="GtkWidget*" name="parent"/>
<parameter type="GladeChildInfo*" name="child_info"/>
</parameters>
</method>
<method name="HandleWidgetProp" cname="glade_xml_handle_widget_prop">
<return-type type="void"/>
<parameters>
<parameter type="GtkWidget*" name="widget"/>
<parameter type="const-gchar*" name="prop_name"/>
<parameter type="const-gchar*" name="value_name"/>
</parameters>
</method>
<constructor cname="glade_xml_new">
<parameters>
<parameter type="const-char*" name="fname"/>
<parameter type="const-char*" name="root"/>
<parameter type="const-char*" name="domain"/>
</parameters>
</constructor>
<constructor cname="glade_xml_new_from_buffer">
<parameters>
<parameter type="const-char*" name="buffer"/>
<parameter type="int" name="size"/>
<parameter type="const-char*" name="root"/>
<parameter type="const-char*" name="domain"/>
</parameters>
</constructor>
<method name="RelativeFile" cname="glade_xml_relative_file">
<return-type type="gchar*"/>
<parameters>
<parameter type="const-gchar*" name="filename"/>
</parameters>
</method>
<method name="SetCommonParams" cname="glade_xml_set_common_params">
<return-type type="void"/>
<parameters>
<parameter type="GtkWidget*" name="widget"/>
<parameter type="GladeWidgetInfo*" name="info"/>
</parameters>
</method>
<method name="SetPackingProperty" cname="glade_xml_set_packing_property">
<return-type type="void"/>
<parameters>
<parameter type="GtkWidget*" name="parent"/>
<parameter type="GtkWidget*" name="child"/>
<parameter type="const-char*" name="name"/>
<parameter type="const-char*" name="value"/>
</parameters>
</method>
<method name="SetToplevel" cname="glade_xml_set_toplevel">
<return-type type="void"/>
<parameters>
<parameter type="GtkWindow*" name="window"/>
</parameters>
</method>
<method name="SetValueFromString" cname="glade_xml_set_value_from_string">
<return-type type="gboolean"/>
<parameters>
<parameter type="GParamSpec*" name="pspec"/>
<parameter type="const-gchar*" name="string"/>
<parameter type="GValue*" name="value"/>
</parameters>
</method>
<method name="SignalAutoconnect" cname="glade_xml_signal_autoconnect">
<return-type type="void"/>
</method>
<method name="SignalAutoconnectFull" cname="glade_xml_signal_autoconnect_full">
<return-type type="void"/>
<parameters>
<parameter type="GladeXMLConnectFunc" name="func"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</method>
<method name="SignalConnect" cname="glade_xml_signal_connect">
<return-type type="void"/>
<parameters>
<parameter type="const-char*" name="handlername"/>
<parameter type="GCallback" name="func"/>
</parameters>
</method>
<method name="SignalConnectData" cname="glade_xml_signal_connect_data">
<return-type type="void"/>
<parameters>
<parameter type="const-char*" name="handlername"/>
<parameter type="GCallback" name="func"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</method>
<method name="SignalConnectFull" cname="glade_xml_signal_connect_full">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="handler_name"/>
<parameter type="GladeXMLConnectFunc" name="func"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</method>
</object>
<struct name="AccelInfo" cname="GladeAccelInfo">
<field cname="key" type="guint"/>
<field cname="modifiers" type="GdkModifierType"/>
<field cname="signal" type="gchar*"/>
</struct>
<struct name="AtkActionInfo" cname="GladeAtkActionInfo">
<field cname="action_name" type="gchar*"/>
<field cname="description" type="gchar*"/>
</struct>
<struct name="AtkRelationInfo" cname="GladeAtkRelationInfo">
<field cname="target" type="gchar*"/>
<field cname="type" type="gchar*"/>
</struct>
<struct name="ChildInfo" cname="GladeChildInfo">
<field cname="properties" type="GladeProperty*"/>
<field cname="n_properties" type="guint"/>
<field cname="child" type="GladeWidgetInfo*"/>
<field cname="internal_child" type="gchar*"/>
</struct>
<struct name="Interface" cname="GladeInterface">
<field cname="requires" type="gchar**"/>
<field cname="n_requires" type="guint"/>
<field cname="toplevels" type="GladeWidgetInfo**"/>
<field cname="n_toplevels" type="guint"/>
<field cname="names" type="GHashTable*"/>
<field cname="strings" type="GHashTable*"/>
<method name="Destroy" cname="glade_interface_destroy">
<return-type type="void"/>
</method>
<method name="Dump" cname="glade_interface_dump">
<return-type type="void"/>
<parameters>
<parameter type="const-gchar*" name="filename"/>
</parameters>
</method>
</struct>
<struct name="Property" cname="GladeProperty">
<field cname="name" type="gchar*"/>
<field cname="value" type="gchar*"/>
</struct>
<struct name="SignalInfo" cname="GladeSignalInfo">
<field cname="name" type="gchar*"/>
<field cname="handler" type="gchar*"/>
<field cname="object" type="gchar*"/>
<field cname="after" bits="1" type="guint"/>
</struct>
<struct name="WidgetInfo" cname="GladeWidgetInfo">
<field cname="parent" type="GladeWidgetInfo*"/>
<field cname="classname" type="gchar*"/>
<field cname="name" type="gchar*"/>
<field cname="properties" type="GladeProperty*"/>
<field cname="n_properties" type="guint"/>
<field cname="atk_props" type="GladeProperty*"/>
<field cname="n_atk_props" type="guint"/>
<field cname="signals" type="GladeSignalInfo*"/>
<field cname="n_signals" type="guint"/>
<field cname="atk_actions" type="GladeAtkActionInfo*"/>
<field cname="n_atk_actions" type="guint"/>
<field cname="relations" type="GladeAtkRelationInfo*"/>
<field cname="n_relations" type="guint"/>
<field cname="accels" type="GladeAccelInfo*"/>
<field cname="n_accels" type="guint"/>
<field cname="children" type="GladeChildInfo*"/>
<field cname="n_children" type="guint"/>
</struct>
<Class name="Global">
<method name="EnumFromString" cname="glade_enum_from_string" shared="true">
<return-type type="gint"/>
<parameters>
<parameter type="GType" name="type"/>
<parameter type="const-char*" name="string"/>
</parameters>
</method>
<method name="FlagsFromString" cname="glade_flags_from_string" shared="true">
<return-type type="guint"/>
<parameters>
<parameter type="GType" name="type"/>
<parameter type="const-char*" name="string"/>
</parameters>
</method>
<method name="GetWidgetName" cname="glade_get_widget_name" shared="true">
<return-type type="const-char*"/>
<parameters>
<parameter type="GtkWidget*" name="widget"/>
</parameters>
</method>
<method name="GetWidgetTree" cname="glade_get_widget_tree" shared="true">
<return-type type="GladeXML*"/>
<parameters>
<parameter type="GtkWidget*" name="widget"/>
</parameters>
</method>
<method name="ModuleCheckVersion" cname="glade_module_check_version" shared="true">
<return-type type="gchar*"/>
<parameters>
<parameter type="gint" name="version"/>
</parameters>
</method>
<method name="RegisterCustomProp" cname="glade_register_custom_prop" shared="true">
<return-type type="void"/>
<parameters>
<parameter type="GType" name="type"/>
<parameter type="const-gchar*" name="prop_name"/>
<parameter type="GladeApplyCustomPropFunc" name="apply_prop"/>
</parameters>
</method>
<method name="RegisterWidget" cname="glade_register_widget" shared="true">
<return-type type="void"/>
<parameters>
<parameter type="GType" name="type"/>
<parameter type="GladeNewFunc" name="new"/>
<parameter type="GladeBuildChildrenFunc" name="build_children"/>
<parameter type="GladeFindInternalChildFunc" name="find_internal_child"/>
</parameters>
</method>
<method name="SetCustomHandler" cname="glade_set_custom_handler" shared="true">
<return-type type="void"/>
<parameters>
<parameter type="GladeXMLCustomWidgetHandler" name="handler"/>
<parameter type="gpointer" name="user_data"/>
</parameters>
</method>
</Class>
<Class name="Parser">
<method name="ParseBuffer" cname="glade_parser_parse_buffer" shared="true">
<return-type type="GladeInterface*"/>
<parameters>
<parameter type="const-gchar*" name="buffer"/>
<parameter type="gint" name="len"/>
<parameter type="const-gchar*" name="domain"/>
</parameters>
</method>
<method name="ParseFile" cname="glade_parser_parse_file" shared="true">
<return-type type="GladeInterface*"/>
<parameters>
<parameter type="const-gchar*" name="file"/>
<parameter type="const-gchar*" name="domain"/>
</parameters>
</method>
</Class>
<Class name="Standard">
<method name="BuildChildren" cname="glade_standard_build_children" shared="true">
<return-type type="void"/>
<parameters>
<parameter type="GladeXML*" name="self"/>
<parameter type="GtkWidget*" name="parent"/>
<parameter type="GladeWidgetInfo*" name="info"/>
</parameters>
</method>
<method name="BuildWidget" cname="glade_standard_build_widget" shared="true">
<return-type type="GtkWidget*"/>
<parameters>
<parameter type="GladeXML*" name="xml"/>
<parameter type="GType" name="widget_type"/>
<parameter type="GladeWidgetInfo*" name="info"/>
</parameters>
</method>
</Class>
2002-08-19 Rachel Hestilow <hestilow@ximian.com> * art/Makefile.in (clean): Change to avoid bugging out on generated/CVS. * glib/ObjectManager.cs: Added. Used to be auto-generated, but now it can infer names, and relies on per-namespace ObjectManager classes to inform it of oddly-named classes. * generator/IGeneratable.cs, GenBase.cs: New "DoGenerate" property. * generator/*Gen.cs: Honor DoGenerate. * generator/CodeGenerator.cs: Support including dependency files which will not be generated. * generator/ObjectGen.cs: Generate mapping file per-namespace, as one that calls back to the one in glib. Only generate if the name does not follow the normal conventions, otherwise, GtkSharp.ObjectManager can infer the name. * generator/Parser.cs: Accept 'generate' flag to pass on to the IGeneratables. Parse a new toplevel element, "symbol", which adds a type to the SymbolTable (instead of hard-coding it). * generator/SignalHandler.cs: Do not optimize signal handler creation, instead creating them in their own namespaces. Do not generate if the calling Signal told us not to. * generator/Signal.cs: Do not generate handlers if container's DoGenerate is false. Adjust to the marshaller name being in a sub-namespace. * generator/SymbolTable.cs (AddSimpleType, AddManualType): Used to add simple and manually wrapped types at runtime instead of compile-time. (FromNative): Remove hard-coded cases for manually wrapped types, use a generic case instead. * api: Added. Move api files and generation targets here. * source: Added. Move source parsing here. * generator/makefile: Move actual generation to api/. * glib/Makefile.in: Remove generated/* target. * glue/Makefile.am: Fix to include canvas-marshal. Move canvas stuff to GNOME target. * gnome/CanvasProxy.cs: Update to work with SignalHandlers being namespace-specific. * parser/Metadata.pm: Moved to GAPI/Metadata.pm, renamed, etc. * parser/gapi2xml.pl: Use GAPI::Metadata. * parser/makefile: Install scripts, remove source parse build target. Rename formatXML to gapi_format_xml. svn path=/trunk/gtk-sharp/; revision=6818
2002-08-20 19:56:18 +00:00
</namespace>
</api>