mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 04:55:39 +00:00
88cc4817f5
/*< private >*/ comments. * parser/gapi2xml.pl: Use those comments to determine the accessibility of struct/object fields, and set the "access" attribute on fields with non-default accessibiliy (private for structs, public for objects). Also, output a StudlyName for each field as well as a c_name. * */*-api.raw: Regen * generator/Field.cs (StudlyName): Use the parser-generated studly name rather than studlifying Name, which might have been mangled to avoid conflicts with an all-lowercase keyword. (Generate): Respect the access property on all field types rather than always making certain types public. Don't bother outputting wrapper properties for private fields, since the only code that could use them is the generated code, which won't. See doc/ChangeLog for the (very minimal) fallout from these changes. * en/Art/AlphaGamma.xml: * en/Gtk/TextAttributes.xml (Refcount): * en/Pango/GlyphString.xml (Space): these are now private * en/Gda/XqlItem.xml: * en/Glade/SignalInfo.xml: * en/Gnome.Vfs/ModuleCallbackSaveAuthenticationIn.xml: * en/Gnome.Vfs/ModuleCallbackFullAuthenticationIn.xml: * en/Gnome.Vfs/ModuleCallbackFillAuthenticationIn.xml: rename Objekt to Object. * en/Atk/KeyEventStruct.xml: rename Str1ng to String svn path=/trunk/gtk-sharp/; revision=37853
370 lines
16 KiB
Plaintext
370 lines
16 KiB
Plaintext
<?xml version="1.0"?>
|
|
<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">
|
|
<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 name="Filename" cname="filename" type="char*"/>
|
|
<field name="Priv" cname="priv" type="GladeXMLPrivate*"/>
|
|
<virtual_method name="LookupType" cname="lookup_type">
|
|
<return-type type="GType"/>
|
|
<parameters>
|
|
<parameter type="GladeXML*self" name="arg1"/>
|
|
<parameter type="const-char*" name="gtypename"/>
|
|
</parameters>
|
|
</virtual_method>
|
|
<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 name="Key" cname="key" type="guint"/>
|
|
<field name="Modifiers" cname="modifiers" type="GdkModifierType"/>
|
|
<field name="Signal" cname="signal" type="gchar*"/>
|
|
</struct>
|
|
<struct name="AtkActionInfo" cname="GladeAtkActionInfo">
|
|
<field name="ActionName" cname="action_name" type="gchar*"/>
|
|
<field name="Description" cname="description" type="gchar*"/>
|
|
</struct>
|
|
<struct name="AtkRelationInfo" cname="GladeAtkRelationInfo">
|
|
<field name="Target" cname="target" type="gchar*"/>
|
|
<field name="Type" cname="type" type="gchar*"/>
|
|
</struct>
|
|
<struct name="ChildInfo" cname="GladeChildInfo">
|
|
<field name="Properties" cname="properties" type="GladeProperty*"/>
|
|
<field name="NProperties" cname="n_properties" type="guint"/>
|
|
<field name="Child" cname="child" type="GladeWidgetInfo*"/>
|
|
<field name="InternalChild" cname="internal_child" type="gchar*"/>
|
|
</struct>
|
|
<struct name="Interface" cname="GladeInterface">
|
|
<field name="Requires" cname="requires" type="gchar**"/>
|
|
<field name="NRequires" cname="n_requires" type="guint"/>
|
|
<field name="Toplevels" cname="toplevels" type="GladeWidgetInfo**"/>
|
|
<field name="NToplevels" cname="n_toplevels" type="guint"/>
|
|
<field name="Names" cname="names" type="GHashTable*"/>
|
|
<field name="Strings" 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 name="Name" cname="name" type="gchar*"/>
|
|
<field name="Value" cname="value" type="gchar*"/>
|
|
</struct>
|
|
<struct name="SignalInfo" cname="GladeSignalInfo">
|
|
<field name="Name" cname="name" type="gchar*"/>
|
|
<field name="Handler" cname="handler" type="gchar*"/>
|
|
<field name="Object" cname="object" type="gchar*"/>
|
|
<field name="After" cname="after" bits="1" type="guint"/>
|
|
</struct>
|
|
<struct name="WidgetInfo" cname="GladeWidgetInfo">
|
|
<field name="Parent" cname="parent" type="GladeWidgetInfo*"/>
|
|
<field name="Classname" cname="classname" type="gchar*"/>
|
|
<field name="Name" cname="name" type="gchar*"/>
|
|
<field name="Properties" cname="properties" type="GladeProperty*"/>
|
|
<field name="NProperties" cname="n_properties" type="guint"/>
|
|
<field name="AtkProps" cname="atk_props" type="GladeProperty*"/>
|
|
<field name="NAtkProps" cname="n_atk_props" type="guint"/>
|
|
<field name="Signals" cname="signals" type="GladeSignalInfo*"/>
|
|
<field name="NSignals" cname="n_signals" type="guint"/>
|
|
<field name="AtkActions" cname="atk_actions" type="GladeAtkActionInfo*"/>
|
|
<field name="NAtkActions" cname="n_atk_actions" type="guint"/>
|
|
<field name="Relations" cname="relations" type="GladeAtkRelationInfo*"/>
|
|
<field name="NRelations" cname="n_relations" type="guint"/>
|
|
<field name="Accels" cname="accels" type="GladeAccelInfo*"/>
|
|
<field name="NAccels" cname="n_accels" type="guint"/>
|
|
<field name="Children" cname="children" type="GladeChildInfo*"/>
|
|
<field name="NChildren" cname="n_children" type="guint"/>
|
|
</struct>
|
|
<class name="Global" cname="GladeGlobal">
|
|
<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_func"/>
|
|
<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" cname="GladeParser_">
|
|
<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" cname="GladeStandard_">
|
|
<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>
|
|
</namespace>
|
|
</api>
|