mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-08 22:15:41 +00:00
2002-07-13 Rachel Hestilow <hestilow@ximian.com>
* generator/Parameters.cs: Allow nulls if null_ok set. * generator/SymbolTable.cs: Add method IsStruct. * parser/Gtk.metadata, Gdk.metadata, Gnome.metadata: Merge in null_ok from *.defs. This is probably incomplete though, I've already found one method that wasn't listed. * sample/GnomeHelloWorld.cs: Remove IntPtr.Zero hack. svn path=/trunk/gtk-sharp/; revision=5792
This commit is contained in:
parent
fb1256d2f3
commit
eb38e65353
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2002-07-13 Rachel Hestilow <hestilow@ximian.com>
|
||||
|
||||
* generator/Parameters.cs: Allow nulls if null_ok set.
|
||||
* generator/SymbolTable.cs: Add method IsStruct.
|
||||
* parser/Gtk.metadata, Gdk.metadata, Gnome.metadata: Merge in
|
||||
null_ok from *.defs. This is probably incomplete though, I've
|
||||
already found one method that wasn't listed.
|
||||
|
||||
* sample/GnomeHelloWorld.cs: Remove IntPtr.Zero hack.
|
||||
|
||||
2002-07-13 Rachel Hestilow <hestilow@ximian.com>
|
||||
|
||||
* parser/Gnome.metadata, Gtk.metadata: More conflict
|
||||
|
|
|
@ -97,12 +97,17 @@ namespace GtkSharp.Generation {
|
|||
string cs_type = SymbolTable.GetCSType(type);
|
||||
string m_type = SymbolTable.GetMarshalType(type);
|
||||
string name = MangleName(p_elem.GetAttribute("name"));
|
||||
string call_parm;
|
||||
string call_parm, call_parm_name;;
|
||||
|
||||
if (is_set && i == 0)
|
||||
call_parm = SymbolTable.CallByName(type, "value");
|
||||
if (is_set && i == 0)
|
||||
call_parm_name = "value";
|
||||
else
|
||||
call_parm = SymbolTable.CallByName(type, name);
|
||||
call_parm_name = name;
|
||||
|
||||
call_parm = SymbolTable.CallByName(type, call_parm_name);
|
||||
|
||||
if (p_elem.HasAttribute ("null_ok") && cs_type != "IntPtr" && cs_type != "System.IntPtr" && !SymbolTable.IsStruct (type))
|
||||
call_parm = String.Format ("({0} != null) ? {1} : IntPtr.Zero", call_parm_name, call_parm);
|
||||
|
||||
if (p_elem.HasAttribute("array")) {
|
||||
cs_type += "[]";
|
||||
|
|
|
@ -229,6 +229,19 @@ namespace GtkSharp.Generation {
|
|||
return false;
|
||||
}
|
||||
|
||||
public static bool IsStruct(string c_type)
|
||||
{
|
||||
c_type = Trim(c_type);
|
||||
c_type = DeAlias(c_type);
|
||||
if (complex_types.ContainsKey(c_type)) {
|
||||
IGeneratable gen = (IGeneratable) complex_types[c_type];
|
||||
if (gen is StructGen) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static bool IsEnum(string c_type)
|
||||
{
|
||||
c_type = Trim(c_type);
|
||||
|
|
|
@ -4150,7 +4150,7 @@
|
|||
<constructor cname="gnome_icon_list_new">
|
||||
<parameters>
|
||||
<parameter type="guint" name="icon_width"/>
|
||||
<parameter type="GtkAdjustment*" name="adj"/>
|
||||
<parameter type="GtkAdjustment*" name="adj" null_ok="1"/>
|
||||
<parameter type="int" name="flags"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
|
@ -6458,7 +6458,7 @@
|
|||
<object name="Pixmap" cname="GdkPixmap" parent="GObject">
|
||||
<constructor cname="gdk_pixmap_new">
|
||||
<parameters>
|
||||
<parameter type="GdkWindow*" name="window"/>
|
||||
<parameter type="GdkWindow*" name="window" null_ok="1"/>
|
||||
<parameter type="gint" name="width"/>
|
||||
<parameter type="gint" name="height"/>
|
||||
<parameter type="gint" name="depth"/>
|
||||
|
@ -8880,8 +8880,8 @@
|
|||
<method name="IterNthChild" cname="gtk_tree_model_iter_nth_child">
|
||||
<return-type type="gboolean"/>
|
||||
<parameters>
|
||||
<parameter type="GtkTreeIter*" name="iter"/>
|
||||
<parameter type="GtkTreeIter*" name="parent"/>
|
||||
<parameter type="GtkTreeIter*" name="iter" null_ok="1"/>
|
||||
<parameter type="GtkTreeIter*" name="parent" null_ok="1"/>
|
||||
<parameter type="gint" name="n"/>
|
||||
</parameters>
|
||||
</method>
|
||||
|
@ -8990,7 +8990,7 @@
|
|||
<method name="IterNChildren" cname="gtk_tree_model_iter_n_children">
|
||||
<return-type type="gint"/>
|
||||
<parameters>
|
||||
<parameter type="GtkTreeIter*" name="iter"/>
|
||||
<parameter type="GtkTreeIter*" name="iter" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="GetValue" cname="gtk_tree_model_get_value">
|
||||
|
@ -10383,7 +10383,7 @@
|
|||
<constructor cname="gtk_dialog_new_with_buttons">
|
||||
<parameters>
|
||||
<parameter type="const-gchar*" name="title"/>
|
||||
<parameter type="GtkWindow*" name="parent"/>
|
||||
<parameter type="GtkWindow*" name="parent" null_ok="1"/>
|
||||
<parameter type="GtkDialogFlags" name="flags"/>
|
||||
<parameter type="const-gchar*" name="first_button_text"/>
|
||||
<parameter type="c" name=""/>
|
||||
|
@ -10960,14 +10960,14 @@
|
|||
</constructor>
|
||||
<constructor cname="gtk_hscale_new">
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
</object>
|
||||
<object name="HScrollbar" cname="GtkHScrollbar" parent="GtkScrollbar">
|
||||
<constructor cname="gtk_hscrollbar_new">
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
</object>
|
||||
|
@ -11152,7 +11152,7 @@
|
|||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter type="GdkPixmap*" name="pixmap"/>
|
||||
<parameter type="GdkBitmap*" name="mask"/>
|
||||
<parameter type="GdkBitmap*" name="mask" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<constructor cname="gtk_image_new"/>
|
||||
|
@ -11385,7 +11385,7 @@
|
|||
<parameters>
|
||||
<parameter type="GtkType" name="container_type"/>
|
||||
<parameter type="const-gchar*" name="path"/>
|
||||
<parameter type="GtkAccelGroup*" name="accel_group"/>
|
||||
<parameter type="GtkAccelGroup*" name="accel_group" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
<method name="DeleteItem" cname="gtk_item_factory_delete_item">
|
||||
|
@ -11666,7 +11666,7 @@
|
|||
<method name="SetVadjustment" cname="gtk_layout_set_vadjustment">
|
||||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="GetHadjustment" cname="gtk_layout_get_hadjustment">
|
||||
|
@ -11677,8 +11677,8 @@
|
|||
</method>
|
||||
<constructor cname="gtk_layout_new">
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="hadjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="vadjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="hadjustment" null_ok="1"/>
|
||||
<parameter type="GtkAdjustment*" name="vadjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
<method name="GetSize" cname="gtk_layout_get_size">
|
||||
|
@ -11714,7 +11714,7 @@
|
|||
<method name="SetHadjustment" cname="gtk_layout_set_hadjustment">
|
||||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
</object>
|
||||
|
@ -12130,7 +12130,7 @@
|
|||
<property name="Buttons" cname="buttons" type="GtkButtonsType" doc-string=" _(The buttons shown in the message dialog)" writeable="true" construct-only="true"/>
|
||||
<constructor cname="gtk_message_dialog_new">
|
||||
<parameters>
|
||||
<parameter type="GtkWindow*" name="parent"/>
|
||||
<parameter type="GtkWindow*" name="parent" null_ok="1"/>
|
||||
<parameter type="GtkDialogFlags" name="flags"/>
|
||||
<parameter type="GtkMessageType" name="type"/>
|
||||
<parameter type="GtkButtonsType" name="buttons"/>
|
||||
|
@ -13086,8 +13086,8 @@
|
|||
</method>
|
||||
<constructor cname="gtk_scrolled_window_new">
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="hadjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="vadjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="hadjustment" null_ok="1"/>
|
||||
<parameter type="GtkAdjustment*" name="vadjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
<method name="GetHadjustment" cname="gtk_scrolled_window_get_hadjustment">
|
||||
|
@ -13330,7 +13330,7 @@
|
|||
<method name="Configure" cname="gtk_spin_button_configure">
|
||||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
<parameter type="gdouble" name="climb_rate"/>
|
||||
<parameter type="guint" name="digits"/>
|
||||
</parameters>
|
||||
|
@ -13369,7 +13369,7 @@
|
|||
</method>
|
||||
<constructor cname="gtk_spin_button_new">
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
<parameter type="gdouble" name="climb_rate"/>
|
||||
<parameter type="guint" name="digits"/>
|
||||
</parameters>
|
||||
|
@ -13850,7 +13850,7 @@
|
|||
</method>
|
||||
<constructor cname="gtk_text_buffer_new">
|
||||
<parameters>
|
||||
<parameter type="GtkTextTagTable*" name="table"/>
|
||||
<parameter type="GtkTextTagTable*" name="table" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
<method name="DeleteInteractive" cname="gtk_text_buffer_delete_interactive">
|
||||
|
@ -14845,7 +14845,7 @@
|
|||
<parameter type="const-char*" name="tooltip_private_text"/>
|
||||
<parameter type="GtkWidget*" name="icon"/>
|
||||
<parameter type="GtkSignalFunc" name="callback"/>
|
||||
<parameter type="gpointer" name="user_data"/>
|
||||
<parameter type="gpointer" name="user_data" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="GetIconSize" cname="gtk_toolbar_get_icon_size">
|
||||
|
@ -15464,7 +15464,7 @@
|
|||
<method name="SetModel" cname="gtk_tree_view_set_model">
|
||||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter type="GtkTreeModel*" name="model"/>
|
||||
<parameter type="GtkTreeModel*" name="model" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="GetPathAtPos" cname="gtk_tree_view_get_path_at_pos">
|
||||
|
@ -15656,7 +15656,7 @@
|
|||
</method>
|
||||
<constructor cname="gtk_tree_view_new_with_model">
|
||||
<parameters>
|
||||
<parameter type="GtkTreeModel*" name="model"/>
|
||||
<parameter type="GtkTreeModel*" name="model" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
<method name="SetDragDestRow" cname="gtk_tree_view_set_drag_dest_row">
|
||||
|
@ -16110,19 +16110,19 @@
|
|||
<method name="SetHadjustment" cname="gtk_viewport_set_hadjustment">
|
||||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<constructor cname="gtk_viewport_new">
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="hadjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="vadjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="hadjustment" null_ok="1"/>
|
||||
<parameter type="GtkAdjustment*" name="vadjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
<method name="SetVadjustment" cname="gtk_viewport_set_vadjustment">
|
||||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="GetShadowType" cname="gtk_viewport_get_shadow_type">
|
||||
|
@ -16144,7 +16144,7 @@
|
|||
<object name="VScale" cname="GtkVScale" parent="GtkScale">
|
||||
<constructor cname="gtk_vscale_new">
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
<constructor cname="gtk_vscale_new_with_range">
|
||||
|
@ -16158,7 +16158,7 @@
|
|||
<object name="VScrollbar" cname="GtkVScrollbar" parent="GtkScrollbar">
|
||||
<constructor cname="gtk_vscrollbar_new">
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="adjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="adjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</constructor>
|
||||
</object>
|
||||
|
@ -16878,7 +16878,7 @@
|
|||
<method name="SetStyle" cname="gtk_widget_set_style">
|
||||
<return-type type="void"/>
|
||||
<parameters>
|
||||
<parameter type="GtkStyle*" name="style"/>
|
||||
<parameter type="GtkStyle*" name="style" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="ShowAll" cname="gtk_widget_show_all">
|
||||
|
@ -16979,8 +16979,8 @@
|
|||
<method name="SetScrollAdjustments" cname="gtk_widget_set_scroll_adjustments">
|
||||
<return-type type="gboolean"/>
|
||||
<parameters>
|
||||
<parameter type="GtkAdjustment*" name="hadjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="vadjustment"/>
|
||||
<parameter type="GtkAdjustment*" name="hadjustment" null_ok="1"/>
|
||||
<parameter type="GtkAdjustment*" name="vadjustment" null_ok="1"/>
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="SetDoubleBuffered" cname="gtk_widget_set_double_buffered">
|
||||
|
|
|
@ -28,4 +28,17 @@
|
|||
</data>
|
||||
</rule>
|
||||
|
||||
<!-- null args -->
|
||||
<rule>
|
||||
<class name="GdkPixmap">
|
||||
<constructor>gdk_pixmap_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkWindow*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
</metadata>
|
||||
|
|
|
@ -177,4 +177,31 @@
|
|||
</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>
|
||||
|
||||
</metadata>
|
||||
|
|
|
@ -1173,4 +1173,463 @@
|
|||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
|
||||
<!-- null args -->
|
||||
<rule>
|
||||
<class name="GtkCList">
|
||||
<method>SetPixmap</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>InsertNode</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkPixmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>InsertNode</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>Move</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkCTreeNode*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>NodeSetPixmap</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>NodeSetPixtext</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>SetNodeInfo</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkPixmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>SetNodeInfo</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkDialog">
|
||||
<constructor>gtk_dialog_new_with_buttons</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkWindow*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkHScale">
|
||||
<constructor>gtk_hscale_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="GtkHScrollbar">
|
||||
<constructor>gtk_hscrollbar_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="GtkImage">
|
||||
<method>SetFromPixmap</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkItemFactory">
|
||||
<constructor>gtk_item_factory_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAccelGroup*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkLayout">
|
||||
<constructor>gtk_layout_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="GtkLayout">
|
||||
<method>SetHadjustment</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkLayout">
|
||||
<method>SetVadjustment</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkMessageDialog">
|
||||
<constructor>gtk_message_dialog_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkWindow*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkPixmap">
|
||||
<constructor>gtk_pixmap_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkPixmap">
|
||||
<method>Set</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkProgressBar">
|
||||
<constructor>gtk_progress_bar_new_with_adjustment</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkScrolledWindow">
|
||||
<constructor>gtk_scrolled_window_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="GtkSpinButton">
|
||||
<method>Configure</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkSpinButton">
|
||||
<constructor>gtk_spin_button_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="GtkTextBuffer">
|
||||
<constructor>gtk_text_buffer_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTextTagTable*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTextIter">
|
||||
<method>ForwardToTagToggle</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTextTag*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTextIter">
|
||||
<method>BackwardToTagToggle</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTextTag*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkToolbar">
|
||||
<method>AppendItem</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">gpointer</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTreeModel">
|
||||
<method>IterNChildren</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTreeIter*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTreeModel">
|
||||
<method>IterNthChild</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTreeIter*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTreeView">
|
||||
<constructor>gtk_tree_view_new_with_model</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTreeModel*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTreeView">
|
||||
<method>SetModel</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTreeModel*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkViewport">
|
||||
<constructor>gtk_viewport_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="GtkViewport">
|
||||
<method>SetHadjustment</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkViewport">
|
||||
<method>SetVadjustment</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkVScale">
|
||||
<constructor>gtk_vscale_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="GtkVScrollbar">
|
||||
<constructor>gtk_vscrollbar_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="GtkWidget">
|
||||
<method>SetScrollAdjustments</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkWidget">
|
||||
<method>SetStyle</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkStyle*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
|
||||
</metadata>
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace GtkSamples {
|
|||
|
||||
IconList CreateList ()
|
||||
{
|
||||
IconList icons = new IconList (64, new Gtk.Adjustment (IntPtr.Zero), 0);
|
||||
IconList icons = new IconList (64, null, 0);
|
||||
|
||||
foreach (DemoEntry entry in entries)
|
||||
{
|
||||
|
|
|
@ -28,4 +28,17 @@
|
|||
</data>
|
||||
</rule>
|
||||
|
||||
<!-- null args -->
|
||||
<rule>
|
||||
<class name="GdkPixmap">
|
||||
<constructor>gdk_pixmap_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkWindow*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
</metadata>
|
||||
|
|
|
@ -177,4 +177,31 @@
|
|||
</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>
|
||||
|
||||
</metadata>
|
||||
|
|
|
@ -1173,4 +1173,463 @@
|
|||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
|
||||
<!-- null args -->
|
||||
<rule>
|
||||
<class name="GtkCList">
|
||||
<method>SetPixmap</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>InsertNode</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkPixmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>InsertNode</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>Move</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkCTreeNode*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>NodeSetPixmap</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>NodeSetPixtext</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>SetNodeInfo</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkPixmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkCTree">
|
||||
<method>SetNodeInfo</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkDialog">
|
||||
<constructor>gtk_dialog_new_with_buttons</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkWindow*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkHScale">
|
||||
<constructor>gtk_hscale_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="GtkHScrollbar">
|
||||
<constructor>gtk_hscrollbar_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="GtkImage">
|
||||
<method>SetFromPixmap</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkItemFactory">
|
||||
<constructor>gtk_item_factory_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAccelGroup*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkLayout">
|
||||
<constructor>gtk_layout_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="GtkLayout">
|
||||
<method>SetHadjustment</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkLayout">
|
||||
<method>SetVadjustment</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkMessageDialog">
|
||||
<constructor>gtk_message_dialog_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkWindow*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkPixmap">
|
||||
<constructor>gtk_pixmap_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkPixmap">
|
||||
<method>Set</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GdkBitmap*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkProgressBar">
|
||||
<constructor>gtk_progress_bar_new_with_adjustment</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkScrolledWindow">
|
||||
<constructor>gtk_scrolled_window_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="GtkSpinButton">
|
||||
<method>Configure</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkSpinButton">
|
||||
<constructor>gtk_spin_button_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="GtkTextBuffer">
|
||||
<constructor>gtk_text_buffer_new</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTextTagTable*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTextIter">
|
||||
<method>ForwardToTagToggle</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTextTag*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTextIter">
|
||||
<method>BackwardToTagToggle</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTextTag*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkToolbar">
|
||||
<method>AppendItem</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">gpointer</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTreeModel">
|
||||
<method>IterNChildren</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTreeIter*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTreeModel">
|
||||
<method>IterNthChild</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTreeIter*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTreeView">
|
||||
<constructor>gtk_tree_view_new_with_model</constructor>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTreeModel*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkTreeView">
|
||||
<method>SetModel</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkTreeModel*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkViewport">
|
||||
<constructor>gtk_viewport_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="GtkViewport">
|
||||
<method>SetHadjustment</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkViewport">
|
||||
<method>SetVadjustment</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkVScale">
|
||||
<constructor>gtk_vscale_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="GtkVScrollbar">
|
||||
<constructor>gtk_vscrollbar_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="GtkWidget">
|
||||
<method>SetScrollAdjustments</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkAdjustment*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
<rule>
|
||||
<class name="GtkWidget">
|
||||
<method>SetStyle</method>
|
||||
</class>
|
||||
<data>
|
||||
<attribute target="param">
|
||||
<filter level="type">GtkStyle*</filter>
|
||||
<name>null_ok</name>
|
||||
<value>1</value>
|
||||
</attribute>
|
||||
</data>
|
||||
</rule>
|
||||
|
||||
</metadata>
|
||||
|
|
Loading…
Reference in a new issue