1
/* gd-1.0.vapi generated by vapigen, do not modify. */
3
[CCode (cprefix = "Gd", gir_namespace = "Gd", gir_version = "1.0", lower_case_cprefix = "gd_")]
5
[CCode (cheader_filename = "libgd/gd.h", type_id = "gd_header_menu_button_get_type ()")]
6
public class HeaderMenuButton : Gtk.MenuButton, Atk.Implementor, Gd.HeaderButton, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
7
[CCode (has_construct_function = false, type = "GtkWidget*")]
8
public HeaderMenuButton ();
10
[CCode (cheader_filename = "libgd/gd.h", type_id = "gd_header_simple_button_get_type ()")]
11
public class HeaderSimpleButton : Gtk.Button, Atk.Implementor, Gd.HeaderButton, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
12
[CCode (has_construct_function = false, type = "GtkWidget*")]
13
public HeaderSimpleButton ();
15
[CCode (cheader_filename = "libgd/gd.h", type_id = "gd_header_toggle_button_get_type ()")]
16
public class HeaderToggleButton : Gtk.ToggleButton, Atk.Implementor, Gd.HeaderButton, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
17
[CCode (has_construct_function = false, type = "GtkWidget*")]
18
public HeaderToggleButton ();
20
[CCode (cheader_filename = "libgd/gd.h", type_id = "gd_main_toolbar_get_type ()")]
21
public class MainToolbar : Gtk.Toolbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.ToolShell {
22
[CCode (has_construct_function = false, type = "GtkWidget*")]
23
public MainToolbar ();
24
public unowned Gtk.Widget add_button (string? icon_name, string? label, bool pack_start);
25
public unowned Gtk.Widget add_menu (string? icon_name, string? label, bool pack_start);
26
public unowned Gtk.Widget add_mode (string label);
27
public unowned Gtk.Widget add_toggle (string? icon_name, string? label, bool pack_start);
28
public void add_widget (Gtk.Widget widget, bool pack_start);
30
public bool get_show_modes ();
31
public void set_labels (string? primary, string? detail);
32
public void set_labels_menu (GLib.MenuModel? menu);
33
public void set_show_modes (bool show_modes);
34
public bool show_modes { get; set; }
36
[CCode (cheader_filename = "libgd/gd.h", type_id = "gd_notification_get_type ()")]
37
public class Notification : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
38
[CCode (has_construct_function = false, type = "GtkWidget*")]
39
public Notification ();
40
public void dismiss ();
41
public void set_show_close_button (bool show_close_button);
42
public void set_timeout (int timeout_sec);
44
public bool show_close_button { get; set construct; }
46
public int timeout { get; set construct; }
47
public virtual signal void dismissed ();
49
[CCode (cheader_filename = "libgd/gd.h", type_id = "gd_revealer_get_type ()")]
50
public class Revealer : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
51
[CCode (has_construct_function = false, type = "GtkWidget*")]
53
public bool get_child_revealed ();
54
public int get_duration ();
55
public Gtk.Orientation get_orientation ();
56
public bool get_reveal_child ();
57
public void set_duration (int duration_msec);
58
public void set_orientation (Gtk.Orientation value);
59
public void set_reveal_child (bool setting);
60
public bool child_revealed { get; }
61
public int duration { get; set construct; }
62
public Gtk.Orientation orientation { get; set construct; }
63
public bool reveal_child { get; set construct; }
65
[CCode (cheader_filename = "libgd/gd.h", type_id = "gd_header_button_get_type ()")]
66
public interface HeaderButton : Gtk.Button {
67
public string get_label ();
68
public string get_symbolic_icon_name ();
69
public void set_label (string? label);
70
public void set_symbolic_icon_name (string? symbolic_icon_name);
72
public abstract string label { owned get; set; }
74
public abstract string symbolic_icon_name { owned get; set; }
76
public abstract bool use_markup { get; set; }
78
[CCode (cheader_filename = "libgd/gd.h")]
79
public static GLib.Icon create_symbolic_icon (string name, int base_size);
80
[CCode (cheader_filename = "libgd/gd.h")]
81
public static Gdk.Pixbuf embed_image_in_frame (Gdk.Pixbuf source_image, string frame_image_url, Gtk.Border slice_width, Gtk.Border border_width);
82
[CCode (cheader_filename = "libgd/gd.h")]
83
public static void entry_focus_hack (Gtk.Widget entry, Gdk.Device device);