mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 20:55:35 +00:00
c8d090f62f
Proper GList, GSList support. Read-only for now. * glue/list.c: Added. * glue/Makefile.am: Add list.c * glue/type.c: Add function gtksharp_is_object. * glib/ListBase.cs, List.cs: Added. * glib/SList.cs: Inherit from ListBase. * glib/Object.cs: Add static method "IsObject". * generator/Method.cs: Pass on element_type to constructor if specified. * generator/SymbolTable.cs: Move GList to manual types. * sample/GladeViewer.cs: Remove list hacks. * sources/Gnome.metadata: Specify element types for CanvasPathDef.Split and IconList.GetSelection. Rename CanvasPathDef *to methods to properly capitalized *To. * sources/Gtk.metadata: Hide Widget.ListAccelClosures until GClosure is handled properly. * sources/Pango.metadata: Added. * sample/test/TestToolbar.cs: Compile with recent delegate changes. svn path=/trunk/gtk-sharp/; revision=7166
298 lines
5.7 KiB
XML
298 lines
5.7 KiB
XML
<?xml version="1.0"?>
|
|
<metadata>
|
|
|
|
<!-- renames -->
|
|
<rule>
|
|
<class name="GnomeAppBar">
|
|
<signal>ClearPrompt</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>PromptCleared</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeClient">
|
|
<signal>Connect</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>Connected</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeClient">
|
|
<signal>Disconnect</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>Disconnected</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeDruidPage">
|
|
<signal>Back</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>BackClicked</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeDruidPage">
|
|
<signal>Finish</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>FinishClicked</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeDruidPage">
|
|
<signal>Cancel</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>CancelClicked</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeDruidPage">
|
|
<signal>Next</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>NextClicked</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeDruidPage">
|
|
<signal>Prepare</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>Prepared</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeIconList">
|
|
<signal>FocusIcon</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>IconFocused</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeEntry">
|
|
<method>GtkEntry</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>name</name>
|
|
<value>GetGtkEntry</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeEntry">
|
|
<signal>Activate</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>Activated</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeIconList">
|
|
<signal>SelectIcon</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>IconSelected</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeIconList">
|
|
<signal>UnselectIcon</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>IconUnselected</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeFileEntry">
|
|
<signal>Activate</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>Activated</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeCanvasItem">
|
|
<signal>Event</signal>
|
|
</class>
|
|
<data>
|
|
<attribute target="signal">
|
|
<name>name</name>
|
|
<value>CanvasEvent</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeCanvasPathDef">
|
|
<method>Moveto</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>name</name>
|
|
<value>MoveTo</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeCanvasPathDef">
|
|
<method>Curveto</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>name</name>
|
|
<value>CurveTo</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeCanvasPathDef">
|
|
<method>Lineto</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>name</name>
|
|
<value>LineTo</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeCanvasPathDef">
|
|
<method>LinetoMoving</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>name</name>
|
|
<value>LineToMoving</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- hides -->
|
|
<rule>
|
|
<class name="GnomeFileEntry">
|
|
<method>GnomeEntry</method>
|
|
<method>GtkEntry</method>
|
|
</class>
|
|
<class name="GnomeIconEntry">
|
|
<method>PickDialog</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>hidden</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- misc -->
|
|
<rule>
|
|
<class name="GnomeAbout">
|
|
<constructor>gnome_about_new</constructor>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">const-gchar**</filter>
|
|
<name>array</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- null args -->
|
|
<rule>
|
|
<class name="GnomeIconList">
|
|
<constructor>gnome_icon_list_new</constructor>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GtkAdjustment*</filter>
|
|
<name>null_ok</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeIconList">
|
|
<method>gnome_icon_list_set_hadjustment</method>
|
|
<method>gnome_icon_list_set_vadjustment</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GtkAdjustment*</filter>
|
|
<name>null_ok</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- list types -->
|
|
<rule>
|
|
<class name="GnomeCanvasPathDef">
|
|
<method>Split</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="return">
|
|
<name>element_type</name>
|
|
<value>Gnome.CanvasPathDef</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GnomeIconList">
|
|
<method>GetSelection</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="return">
|
|
<name>element_type</name>
|
|
<value>int</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
</metadata>
|