public void set_subtitle (string? subtitle);
public void set_title (string title);
public Gtk.Widget custom_title { get; set construct; }
- [NoAccessorMethod]
- public int hpadding { get; set; }
public bool show_close_button { get; set; }
[NoAccessorMethod]
public int spacing { get; set; }
public string subtitle { get; set; }
public string title { get; set; }
- [NoAccessorMethod]
- public int vpadding { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtkimmodule.h")]
public class IMContext : GLib.Object {
public void get_layout_offsets (out int x, out int y);
public bool get_line_wrap ();
public Pango.WrapMode get_line_wrap_mode ();
+ public int get_lines ();
public int get_max_width_chars ();
public uint get_mnemonic_keyval ();
public unowned Gtk.Widget get_mnemonic_widget ();
public void set_label (string str);
public void set_line_wrap (bool wrap);
public void set_line_wrap_mode (Pango.WrapMode wrap_mode);
+ public void set_lines (int lines);
public void set_markup (string str);
public void set_markup_with_mnemonic (string str);
public void set_max_width_chars (int n_chars);
public Pango.EllipsizeMode ellipsize { get; set; }
public Gtk.Justification justify { get; set; }
public string label { get; set; }
+ public int lines { get; set; }
public int max_width_chars { get; set; }
public uint mnemonic_keyval { get; }
public Gtk.Widget mnemonic_widget { get; set; }
</parameters>
</method>
<property name="custom-title" type="GtkWidget*" readable="1" writable="1" construct="1" construct-only="0"/>
- <property name="hpadding" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="show-close-button" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="spacing" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="subtitle" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="title" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
- <property name="vpadding" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
</object>
<object name="GtkIMContext" parent="GObject" type-name="GtkIMContext" get-type="gtk_im_context_get_type">
<method name="delete_surrounding" symbol="gtk_im_context_delete_surrounding">
<parameter name="label" type="GtkLabel*"/>
</parameters>
</method>
+ <method name="get_lines" symbol="gtk_label_get_lines">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="label" type="GtkLabel*"/>
+ </parameters>
+ </method>
<method name="get_max_width_chars" symbol="gtk_label_get_max_width_chars">
<return-type type="gint"/>
<parameters>
<parameter name="wrap_mode" type="PangoWrapMode"/>
</parameters>
</method>
+ <method name="set_lines" symbol="gtk_label_set_lines">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="label" type="GtkLabel*"/>
+ <parameter name="lines" type="gint"/>
+ </parameters>
+ </method>
<method name="set_markup" symbol="gtk_label_set_markup">
<return-type type="void"/>
<parameters>
<property name="ellipsize" type="PangoEllipsizeMode" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="justify" type="GtkJustification" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="label" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="lines" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="max-width-chars" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="mnemonic-keyval" type="guint" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="mnemonic-widget" type="GtkWidget*" readable="1" writable="1" construct="0" construct-only="0"/>
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="912"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="913"/>
<constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
<constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
<constant name="GTK_LEVEL_BAR_OFFSET_HIGH" type="char*" value="high"/>
<constant name="GTK_LEVEL_BAR_OFFSET_LOW" type="char*" value="low"/>
<constant name="GTK_MAJOR_VERSION" type="int" value="3"/>
<constant name="GTK_MAX_COMPOSE_LEN" type="int" value="7"/>
- <constant name="GTK_MICRO_VERSION" type="int" value="12"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="13"/>
<constant name="GTK_MINOR_VERSION" type="int" value="9"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>