public void set_start_widget (Gtk.Widget widget);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_button_get_type ()")]
- public class CheckButton : Gtk.ToggleButton, Gtk.Accessible, Gtk.Actionable, Gtk.Buildable, Gtk.ConstraintTarget {
+ public class CheckButton : Gtk.Widget, Gtk.Accessible, Gtk.Actionable, Gtk.Buildable, Gtk.ConstraintTarget {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public CheckButton ();
- public bool get_draw_indicator ();
+ public bool get_active ();
public bool get_inconsistent ();
- public void set_draw_indicator (bool draw_indicator);
+ public unowned string? get_label ();
+ public bool get_use_underline ();
+ public void set_active (bool setting);
+ public void set_group (Gtk.CheckButton? group);
public void set_inconsistent (bool inconsistent);
+ public void set_label (string? label);
+ public void set_use_underline (bool setting);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- public CheckButton.with_label (string label);
+ public CheckButton.with_label (string? label);
[CCode (has_construct_function = false, type = "GtkWidget*")]
- public CheckButton.with_mnemonic (string label);
- public bool draw_indicator { get; set; }
+ public CheckButton.with_mnemonic (string? label);
+ public bool active { get; set; }
+ public Gtk.CheckButton group { set; }
public bool inconsistent { get; set; }
+ public string label { get; set; }
+ public bool use_underline { get; set; }
+ public virtual signal void toggled ();
}
[CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_column_view_get_type ()")]
public class ColumnView : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- public ColumnView (owned GLib.ListModel? model);
+ public ColumnView (owned Gtk.SelectionModel? model);
public void append_column (Gtk.ColumnViewColumn column);
public unowned GLib.ListModel get_columns ();
public bool get_enable_rubberband ();
- public unowned GLib.ListModel? get_model ();
+ public unowned Gtk.SelectionModel? get_model ();
public bool get_reorderable ();
public bool get_show_column_separators ();
public bool get_show_row_separators ();
public void insert_column (uint position, Gtk.ColumnViewColumn column);
public void remove_column (Gtk.ColumnViewColumn column);
public void set_enable_rubberband (bool enable_rubberband);
- public void set_model (GLib.ListModel? model);
+ public void set_model (Gtk.SelectionModel? model);
public void set_reorderable (bool reorderable);
public void set_show_column_separators (bool show_column_separators);
public void set_show_row_separators (bool show_row_separators);
public void sort_by_column (Gtk.ColumnViewColumn? column, Gtk.SortType direction);
public GLib.ListModel columns { get; }
public bool enable_rubberband { get; set; }
- public GLib.ListModel model { get; set; }
+ public Gtk.SelectionModel model { get; set; }
public bool reorderable { get; set; }
public bool show_column_separators { get; set; }
public bool show_row_separators { get; set; }
public void ungroup ();
[NoAccessorMethod]
public uint n_points { get; construct; }
- public signal void begin (Gdk.EventSequence sequence);
- public signal void cancel (Gdk.EventSequence sequence);
- public signal void end (Gdk.EventSequence sequence);
- public signal void sequence_state_changed (Gdk.EventSequence sequence, Gtk.EventSequenceState state);
- public signal void update (Gdk.EventSequence sequence);
+ public signal void begin (Gdk.EventSequence? sequence);
+ public signal void cancel (Gdk.EventSequence? sequence);
+ public signal void end (Gdk.EventSequence? sequence);
+ public signal void sequence_state_changed (Gdk.EventSequence? sequence, Gtk.EventSequenceState state);
+ public signal void update (Gdk.EventSequence? sequence);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_click_get_type ()")]
public class GestureClick : Gtk.GestureSingle {
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_grid_view_get_type ()")]
public class GridView : Gtk.ListBase, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Orientable, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- public GridView (owned GLib.ListModel? model);
+ public GridView (owned Gtk.SelectionModel? model, owned Gtk.ListItemFactory? factory);
public bool get_enable_rubberband ();
public unowned Gtk.ListItemFactory? get_factory ();
public uint get_max_columns ();
public uint get_min_columns ();
- public unowned GLib.ListModel? get_model ();
+ public unowned Gtk.SelectionModel? get_model ();
public bool get_single_click_activate ();
public void set_enable_rubberband (bool enable_rubberband);
public void set_factory (Gtk.ListItemFactory? factory);
public void set_max_columns (uint max_columns);
public void set_min_columns (uint min_columns);
- public void set_model (GLib.ListModel? model);
+ public void set_model (Gtk.SelectionModel? model);
public void set_single_click_activate (bool single_click_activate);
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public GridView.with_factory (owned GLib.ListModel? model, owned Gtk.ListItemFactory? factory);
public bool enable_rubberband { get; set; }
public Gtk.ListItemFactory factory { get; set; }
public uint max_columns { get; set; }
public uint min_columns { get; set; }
- public GLib.ListModel model { get; set; }
+ public Gtk.SelectionModel model { get; set; }
public bool single_click_activate { get; set; }
public signal void activate (uint position);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_list_view_get_type ()")]
public class ListView : Gtk.ListBase, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Orientable, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
- public ListView (owned GLib.ListModel? model);
+ public ListView (owned Gtk.SelectionModel? model, owned Gtk.ListItemFactory? factory);
public bool get_enable_rubberband ();
public unowned Gtk.ListItemFactory? get_factory ();
- public unowned GLib.ListModel? get_model ();
+ public unowned Gtk.SelectionModel? get_model ();
public bool get_show_separators ();
public bool get_single_click_activate ();
public void set_enable_rubberband (bool enable_rubberband);
public void set_factory (Gtk.ListItemFactory? factory);
- public void set_model (GLib.ListModel? model);
+ public void set_model (Gtk.SelectionModel? model);
public void set_show_separators (bool show_separators);
public void set_single_click_activate (bool single_click_activate);
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public ListView.with_factory (owned GLib.ListModel? model, owned Gtk.ListItemFactory? factory);
public bool enable_rubberband { get; set; }
public Gtk.ListItemFactory factory { get; set; }
- public GLib.ListModel model { get; set; }
+ public Gtk.SelectionModel model { get; set; }
public bool show_separators { get; set; }
public bool single_click_activate { get; set; }
public signal void activate (uint position);
public unowned Gtk.Expression get_expression ();
public unowned GLib.ParamSpec get_pspec ();
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_button_get_type ()")]
- public class RadioButton : Gtk.CheckButton, Gtk.Accessible, Gtk.Actionable, Gtk.Buildable, Gtk.ConstraintTarget {
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public RadioButton (GLib.SList<Gtk.RadioButton>? group);
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
- public unowned GLib.SList<Gtk.RadioButton> get_group ();
- public void join_group (Gtk.RadioButton? group_source);
- public void set_group (GLib.SList<Gtk.RadioButton>? group);
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label);
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label);
- [NoAccessorMethod]
- public Gtk.RadioButton group { set; }
- public signal void group_changed ();
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
public class Range : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Orientable {
[CCode (has_construct_function = false)]
public ToggleButton ();
public bool get_active ();
public void set_active (bool is_active);
+ public void set_group (Gtk.ToggleButton? group);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ToggleButton.with_label (string label);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ToggleButton.with_mnemonic (string label);
public bool active { get; set; }
+ public Gtk.ToggleButton group { set; }
[HasEmitter]
public virtual signal void toggled ();
}