1 [CCode (cprefix
= "Gtk", lower_case_cprefix
= "gtk_", cheader_filename
= "gtk/gtk.h")]
3 [CCode (cprefix
= "GTK_ACCEL_")]
4 public enum AccelFlags
{
9 [CCode (cprefix
= "GTK_ANCHOR_")]
10 public enum AnchorType
{
29 [CCode (cprefix
= "GTK_ARG_")]
30 public enum ArgFlags
{
37 [CCode (cprefix
= "GTK_ARROW_")]
38 public enum ArrowType
{
45 [CCode (cprefix
= "GTK_ASSISTANT_PAGE_")]
46 public enum AssistantPageType
{
53 [CCode (cprefix
= "GTK_")]
54 public enum AttachOptions
{
59 [CCode (cprefix
= "GTK_BUILDER_ERROR_")]
60 public enum BuilderError
{
61 INVALID_TYPE_FUNCTION
,
67 [CCode (cprefix
= "GTK_BUTTONBOX_")]
68 public enum ButtonBoxStyle
{
76 [CCode (cprefix
= "GTK_BUTTONS_")]
77 public enum ButtonsType
{
85 [CCode (cprefix
= "GTK_CALENDAR_")]
86 public enum CalendarDisplayOptions
{
93 [CCode (cprefix
= "GTK_CELL_RENDERER_ACCEL_MODE_")]
94 public enum CellRendererAccelMode
{
98 [CCode (cprefix
= "GTK_CELL_RENDERER_MODE_")]
99 public enum CellRendererMode
{
104 [CCode (cprefix
= "GTK_CELL_RENDERER_")]
105 public enum CellRendererState
{
112 [CCode (cprefix
= "GTK_CORNER_")]
113 public enum CornerType
{
119 [CCode (cprefix
= "GTK_CURVE_TYPE_")]
120 public enum CurveType
{
125 [CCode (cprefix
= "GTK_DEBUG_")]
126 public enum DebugFlag
{
140 [CCode (cprefix
= "GTK_DELETE_")]
141 public enum DeleteType
{
151 [CCode (cprefix
= "GTK_DEST_DEFAULT_")]
152 public enum DestDefaults
{
158 [CCode (cprefix
= "GTK_DIALOG_")]
159 public enum DialogFlags
{
164 [CCode (cprefix
= "GTK_DIR_")]
165 public enum DirectionType
{
173 [CCode (cprefix
= "GTK_DRAG_RESULT_")]
174 public enum DragResult
{
182 [CCode (cprefix
= "GTK_EXPANDER_")]
183 public enum ExpanderStyle
{
189 [CCode (cprefix
= "GTK_FILE_CHOOSER_ACTION_")]
190 public enum FileChooserAction
{
196 [CCode (cprefix
= "GTK_FILE_CHOOSER_CONFIRMATION_")]
197 public enum FileChooserConfirmation
{
202 [CCode (cprefix
= "GTK_FILE_CHOOSER_ERROR_")]
203 public enum FileChooserError
{
208 [CCode (cprefix
= "GTK_FILE_FILTER_")]
209 public enum FileFilterFlags
{
215 [CCode (cprefix
= "GTK_IM_PREEDIT_")]
216 public enum IMPreeditStyle
{
221 [CCode (cprefix
= "GTK_IM_STATUS_")]
222 public enum IMStatusStyle
{
227 [CCode (cprefix
= "GTK_ICON_LOOKUP_")]
228 public enum IconLookupFlags
{
234 [CCode (cprefix
= "GTK_ICON_SIZE_")]
235 public enum IconSize
{
244 [CCode (cprefix
= "GTK_ICON_THEME_")]
245 public enum IconThemeError
{
249 [CCode (cprefix
= "GTK_ICON_VIEW_")]
250 public enum IconViewDropPosition
{
258 [CCode (cprefix
= "GTK_IMAGE_")]
259 public enum ImageType
{
269 [CCode (cprefix
= "GTK_JUSTIFY_")]
270 public enum Justification
{
276 [CCode (cprefix
= "GTK_MATCH_")]
277 public enum MatchType
{
285 [CCode (cprefix
= "GTK_MENU_DIR_")]
286 public enum MenuDirectionType
{
292 [CCode (cprefix
= "GTK_MESSAGE_")]
293 public enum MessageType
{
300 [CCode (cprefix
= "GTK_")]
301 public enum MetricType
{
306 [CCode (cprefix
= "GTK_MOVEMENT_")]
307 public enum MovementStep
{
319 [CCode (cprefix
= "GTK_NOTEBOOK_TAB_")]
320 public enum NotebookTab
{
324 [CCode (cprefix
= "GTK_")]
325 public enum ObjectFlags
{
331 [CCode (cprefix
= "GTK_ORIENTATION_")]
332 public enum Orientation
{
336 [CCode (cprefix
= "GTK_PACK_DIRECTION_")]
337 public enum PackDirection
{
343 [CCode (cprefix
= "GTK_PACK_")]
344 public enum PackType
{
348 [CCode (cprefix
= "GTK_PAGE_ORIENTATION_")]
349 public enum PageOrientation
{
355 [CCode (cprefix
= "GTK_PAGE_SET_")]
356 public enum PageSet
{
361 [CCode (cprefix
= "GTK_PATH_PRIO_")]
362 public enum PathPriorityType
{
370 [CCode (cprefix
= "GTK_PATH_")]
371 public enum PathType
{
376 [CCode (cprefix
= "GTK_POLICY_")]
377 public enum PolicyType
{
382 [CCode (cprefix
= "GTK_POS_")]
383 public enum PositionType
{
389 [CCode (cprefix
= "GTK_PREVIEW_")]
390 public enum PreviewType
{
394 [CCode (cprefix
= "GTK_PRINT_BACKEND_ERROR_")]
395 public enum PrintBackendError
{
398 [CCode (cprefix
= "GTK_PRINT_CAPABILITY_")]
399 public enum PrintCapabilities
{
410 [CCode (cprefix
= "GTK_PRINT_DUPLEX_")]
411 public enum PrintDuplex
{
416 [CCode (cprefix
= "GTK_PRINT_ERROR_")]
417 public enum PrintError
{
423 [CCode (cprefix
= "GTK_PRINT_OPERATION_ACTION_")]
424 public enum PrintOperationAction
{
430 [CCode (cprefix
= "GTK_PRINT_OPERATION_RESULT_")]
431 public enum PrintOperationResult
{
437 [CCode (cprefix
= "GTK_PRINT_PAGES_")]
438 public enum PrintPages
{
443 [CCode (cprefix
= "GTK_PRINT_QUALITY_")]
444 public enum PrintQuality
{
450 [CCode (cprefix
= "GTK_PRINT_STATUS_")]
451 public enum PrintStatus
{
462 [CCode (cprefix
= "GTK_PRINTER_OPTION_TYPE_")]
463 public enum PrinterOptionType
{
475 [CCode (cprefix
= "GTK_PROGRESS_")]
476 public enum ProgressBarOrientation
{
482 [CCode (cprefix
= "GTK_PROGRESS_")]
483 public enum ProgressBarStyle
{
487 [CCode (cprefix
= "GTK_RC_")]
488 public enum RcFlags
{
494 [CCode (cprefix
= "GTK_RC_TOKEN_")]
495 public enum RcTokenType
{
537 [CCode (cprefix
= "GTK_RECENT_CHOOSER_ERROR_")]
538 public enum RecentChooserError
{
542 [CCode (cprefix
= "GTK_RECENT_CHOOSER_PROP_")]
543 public enum RecentChooserProp
{
557 [CCode (cprefix
= "GTK_RECENT_FILTER_")]
558 public enum RecentFilterFlags
{
566 [CCode (cprefix
= "GTK_RECENT_MANAGER_ERROR_")]
567 public enum RecentManagerError
{
576 [CCode (cprefix
= "GTK_RECENT_SORT_")]
577 public enum RecentSortType
{
583 [CCode (cprefix
= "GTK_RELIEF_")]
584 public enum ReliefStyle
{
589 [CCode (cprefix
= "GTK_RESIZE_")]
590 public enum ResizeMode
{
595 [CCode (cprefix
= "GTK_RESPONSE_")]
596 public enum ResponseType
{
609 [CCode (cprefix
= "GTK_SCROLL_")]
610 public enum ScrollStep
{
618 [CCode (cprefix
= "GTK_SCROLL_")]
619 public enum ScrollType
{
637 [CCode (cprefix
= "GTK_SELECTION_")]
638 public enum SelectionMode
{
645 [CCode (cprefix
= "GTK_SENSITIVITY_")]
646 public enum SensitivityType
{
651 [CCode (cprefix
= "GTK_SHADOW_")]
652 public enum ShadowType
{
659 [CCode (cprefix
= "GTK_SIDE_")]
660 public enum SideType
{
666 [CCode (cprefix
= "GTK_RUN_")]
667 public enum SignalRunType
{
675 [CCode (cprefix
= "GTK_SIZE_GROUP_")]
676 public enum SizeGroupMode
{
682 [CCode (cprefix
= "GTK_SORT_")]
683 public enum SortType
{
687 [CCode (cprefix
= "GTK_UPDATE_")]
688 public enum SpinButtonUpdatePolicy
{
692 [CCode (cprefix
= "GTK_SPIN_")]
693 public enum SpinType
{
702 [CCode (cprefix
= "GTK_STATE_")]
703 public enum StateType
{
710 [CCode (cprefix
= "GTK_DIRECTION_")]
711 public enum SubmenuDirection
{
715 [CCode (cprefix
= "GTK_")]
716 public enum SubmenuPlacement
{
720 [CCode (cprefix
= "GTK_TARGET_")]
721 public enum TargetFlags
{
727 [CCode (cprefix
= "GTK_TEXT_BUFFER_TARGET_INFO_")]
728 public enum TextBufferTargetInfo
{
733 [CCode (cprefix
= "GTK_TEXT_DIR_")]
734 public enum TextDirection
{
739 [CCode (cprefix
= "GTK_TEXT_SEARCH_")]
740 public enum TextSearchFlags
{
744 [CCode (cprefix
= "GTK_TEXT_WINDOW_")]
745 public enum TextWindowType
{
754 [CCode (cprefix
= "GTK_TOOLBAR_CHILD_")]
755 public enum ToolbarChildType
{
762 [CCode (cprefix
= "GTK_TOOLBAR_SPACE_")]
763 public enum ToolbarSpaceStyle
{
767 [CCode (cprefix
= "GTK_TOOLBAR_")]
768 public enum ToolbarStyle
{
774 [CCode (cprefix
= "GTK_TREE_MODEL_")]
775 public enum TreeModelFlags
{
779 [CCode (cprefix
= "GTK_TREE_VIEW_COLUMN_")]
780 public enum TreeViewColumnSizing
{
785 [CCode (cprefix
= "GTK_TREE_VIEW_DROP_")]
786 public enum TreeViewDropPosition
{
792 [CCode (cprefix
= "GTK_TREE_VIEW_GRID_LINES_")]
793 public enum TreeViewGridLines
{
799 [CCode (cprefix
= "GTK_UI_MANAGER_")]
800 public enum UIManagerItemType
{
812 [CCode (cprefix
= "GTK_UNIT_")]
819 [CCode (cprefix
= "GTK_UPDATE_")]
820 public enum UpdateType
{
825 [CCode (cprefix
= "GTK_VISIBILITY_")]
826 public enum Visibility
{
831 [CCode (cprefix
= "GTK_")]
832 public enum WidgetFlags
{
853 [CCode (cprefix
= "GTK_WIDGET_HELP_")]
854 public enum WidgetHelpType
{
858 [CCode (cprefix
= "GTK_WIN32_EMBED_")]
859 public enum Win32EmbedMessageType
{
876 [CCode (cprefix
= "GTK_WIN_POS_")]
877 public enum WindowPosition
{
884 [CCode (cprefix
= "GTK_WINDOW_")]
885 public enum WindowType
{
889 [CCode (cprefix
= "GTK_WRAP_")]
890 public enum WrapMode
{
896 [CCode (cheader_filename
= "gtk/gtk.h")]
897 public class AboutDialog
: Gtk
.Dialog
{
898 public weak string get_artists ();
899 public weak string get_authors ();
900 public weak string get_comments ();
901 public weak string get_copyright ();
902 public weak string get_documenters ();
903 public weak string get_license ();
904 public weak Gdk
.Pixbuf
get_logo ();
905 public weak string get_logo_icon_name ();
906 public weak string get_program_name ();
907 public weak string get_translator_credits ();
908 public static GLib
.Type
get_type ();
909 public weak string get_version ();
910 public weak string get_website ();
911 public weak string get_website_label ();
912 public bool get_wrap_license ();
913 public AboutDialog ();
914 public void set_artists (string artists
);
915 public void set_authors (string authors
);
916 public void set_comments (string comments
);
917 public void set_copyright (string copyright
);
918 public void set_documenters (string documenters
);
919 public static Gtk
.AboutDialogActivateLinkFunc
set_email_hook (Gtk
.AboutDialogActivateLinkFunc func
, pointer data
, GLib
.DestroyNotify destroy
);
920 public void set_license (string license
);
921 public void set_logo (Gdk
.Pixbuf logo
);
922 public void set_logo_icon_name (string icon_name
);
923 public void set_program_name (string name
);
924 public void set_translator_credits (string translator_credits
);
925 public static Gtk
.AboutDialogActivateLinkFunc
set_url_hook (Gtk
.AboutDialogActivateLinkFunc func
, pointer data
, GLib
.DestroyNotify destroy
);
926 public void set_version (string version
);
927 public void set_website (string website
);
928 public void set_website_label (string website_label
);
929 public void set_wrap_license (bool wrap_license
);
930 public weak string program_name
{ get; set; }
931 public weak string version
{ get; set; }
932 public weak string copyright
{ get; set; }
933 public weak string comments
{ get; set; }
934 public weak string license
{ get; set; }
935 public weak string website
{ get; set; }
936 public weak string website_label
{ get; set; }
937 public weak string[] authors
{ get; set; }
938 public weak string[] documenters
{ get; set; }
939 public weak string[] artists
{ get; set; }
940 public weak string translator_credits
{ get; set; }
941 public weak Gdk
.Pixbuf logo
{ get; set; }
942 public weak string logo_icon_name
{ get; set; }
943 public weak bool wrap_license
{ get; set; }
945 [CCode (cheader_filename
= "gtk/gtk.h")]
946 public class AccelGroup
: GLib
.Object
{
947 public bool activate (GLib
.Quark accel_quark
, GLib
.Object acceleratable
, uint accel_key
, Gdk
.ModifierType accel_mods
);
948 public void connect (uint accel_key
, Gdk
.ModifierType accel_mods
, Gtk
.AccelFlags accel_flags
, GLib
.Closure closure
);
949 public void connect_by_path (string accel_path
, GLib
.Closure closure
);
950 public bool disconnect (GLib
.Closure closure
);
951 public bool disconnect_key (uint accel_key
, Gdk
.ModifierType accel_mods
);
952 public weak Gtk
.AccelKey
find (Gtk
.AccelGroupFindFunc find_func
, pointer data
);
953 public static weak Gtk
.AccelGroup
from_accel_closure (GLib
.Closure closure
);
954 public static GLib
.Type
get_type ();
955 public void @
lock ();
956 public AccelGroup ();
957 public weak Gtk
.AccelGroupEntry
query (uint accel_key
, Gdk
.ModifierType accel_mods
, uint n_entries
);
958 public void unlock ();
959 public signal bool accel_activate (GLib
.Object p0
, uint p1
, Gdk
.ModifierType p2
);
960 public signal void accel_changed (uint keyval
, Gdk
.ModifierType modifier
, GLib
.Closure accel_closure
);
962 [CCode (cheader_filename
= "gtk/gtk.h")]
963 public class AccelLabel
: Gtk
.Label
{
964 public weak Gtk
.Widget
get_accel_widget ();
965 public uint get_accel_width ();
966 public static GLib
.Type
get_type ();
967 public AccelLabel (string string);
968 public bool refetch ();
969 public void set_accel_closure (GLib
.Closure accel_closure
);
970 public void set_accel_widget (Gtk
.Widget accel_widget
);
972 public weak GLib
.Closure accel_closure
{ get; set; }
973 public weak Gtk
.Widget accel_widget
{ get; set; }
975 [CCode (cheader_filename
= "gtk/gtk.h")]
976 public class AccelMap
: GLib
.Object
{
977 public static void add_entry (string accel_path
, uint accel_key
, Gdk
.ModifierType accel_mods
);
978 public static void add_filter (string filter_pattern
);
979 public static bool change_entry (string accel_path
, uint accel_key
, Gdk
.ModifierType accel_mods
, bool replace
);
980 public static void @
foreach (pointer data
, Gtk
.AccelMapForeach foreach_func
);
981 public static void foreach_unfiltered (pointer data
, Gtk
.AccelMapForeach foreach_func
);
982 public static weak Gtk
.AccelMap
get ();
983 public static GLib
.Type
get_type ();
984 public static void load (string file_name
);
985 public static void load_fd (int fd
);
986 public static void load_scanner (GLib
.Scanner scanner
);
987 public static void lock_path (string accel_path
);
988 public static bool lookup_entry (string accel_path
, Gtk
.AccelKey key
);
989 public static void save (string file_name
);
990 public static void save_fd (int fd
);
991 public static void unlock_path (string accel_path
);
992 public signal void changed (string p0
, uint p1
, Gdk
.ModifierType p2
);
994 [CCode (cheader_filename
= "gtk/gtk.h")]
995 public class Accessible
: Atk
.Object
{
996 public virtual void connect_widget_destroyed ();
997 public static GLib
.Type
get_type ();
999 [CCode (cheader_filename
= "gtk/gtk.h")]
1000 public class Action
: GLib
.Object
, Gtk
.Buildable
{
1001 public void block_activate_from (Gtk
.Widget proxy
);
1002 public void connect_accelerator ();
1003 public virtual void connect_proxy (Gtk
.Widget proxy
);
1004 public weak Gtk
.Widget
create_icon (Gtk
.IconSize icon_size
);
1005 public virtual weak Gtk
.Widget
create_menu ();
1006 public virtual weak Gtk
.Widget
create_menu_item ();
1007 public virtual weak Gtk
.Widget
create_tool_item ();
1008 public void disconnect_accelerator ();
1009 public virtual void disconnect_proxy (Gtk
.Widget proxy
);
1010 public GLib
.Closure
get_accel_closure ();
1011 public weak string get_accel_path ();
1012 public weak string get_name ();
1013 public weak GLib
.SList
get_proxies ();
1014 public bool get_sensitive ();
1015 public static GLib
.Type
get_type ();
1016 public bool get_visible ();
1017 public bool is_sensitive ();
1018 public bool is_visible ();
1019 public Action (string name
, string label
, string tooltip
, string stock_id
);
1020 public void set_accel_group (Gtk
.AccelGroup accel_group
);
1021 public void set_accel_path (string accel_path
);
1022 public void set_sensitive (bool sensitive
);
1023 public void set_visible (bool visible
);
1024 public void unblock_activate_from (Gtk
.Widget proxy
);
1026 public weak string name
{ get; construct; }
1028 public weak string label
{ get; set; }
1030 public weak string short_label
{ get; set; }
1032 public weak string tooltip
{ get; set; }
1034 public weak string stock_id
{ get; set; }
1036 public weak string icon_name
{ get; set; }
1038 public weak bool visible_horizontal
{ get; set; }
1040 public weak bool visible_overflown
{ get; set; }
1042 public weak bool visible_vertical
{ get; set; }
1044 public weak bool is_important
{ get; set; }
1046 public weak bool hide_if_empty
{ get; set; }
1047 public weak bool sensitive
{ get; set; }
1048 public weak bool visible
{ get; set; }
1050 public weak Gtk
.ActionGroup action_group
{ get; set; }
1052 public signal void activate ();
1054 [CCode (cheader_filename
= "gtk/gtk.h")]
1055 public class ActionGroup
: GLib
.Object
, Gtk
.Buildable
{
1056 public void add_action (Gtk
.Action action
);
1057 public void add_action_with_accel (Gtk
.Action action
, string accelerator
);
1059 public void add_actions (Gtk
.ActionEntry
[] entries
, uint n_entries
, pointer user_data
);
1061 public void add_actions_full (Gtk
.ActionEntry
[] entries
, uint n_entries
, pointer user_data
, GLib
.DestroyNotify destroy
);
1063 public void add_radio_actions (Gtk
.RadioActionEntry
[] entries
, uint n_entries
, int value
, GLib
.Callback on_change
, pointer user_data
);
1065 public void add_radio_actions_full (Gtk
.RadioActionEntry
[] entries
, uint n_entries
, int value
, GLib
.Callback on_change
, pointer user_data
, GLib
.DestroyNotify destroy
);
1067 public void add_toggle_actions (Gtk
.ToggleActionEntry
[] entries
, uint n_entries
, pointer user_data
);
1069 public void add_toggle_actions_full (Gtk
.ToggleActionEntry
[] entries
, uint n_entries
, pointer user_data
, GLib
.DestroyNotify destroy
);
1070 public virtual weak Gtk
.Action
get_action (string action_name
);
1071 public weak string get_name ();
1072 public bool get_sensitive ();
1073 public static GLib
.Type
get_type ();
1074 public bool get_visible ();
1075 public weak GLib
.List
list_actions ();
1076 public ActionGroup (string name
);
1077 public void remove_action (Gtk
.Action action
);
1078 public void set_sensitive (bool sensitive
);
1079 public void set_translate_func (Gtk
.TranslateFunc func
, pointer data
, Gtk
.DestroyNotify notify
);
1080 public void set_translation_domain (string domain
);
1081 public void set_visible (bool visible
);
1082 public weak string translate_string (string string);
1084 public weak string name
{ get; construct; }
1085 public weak bool sensitive
{ get; set; }
1086 public weak bool visible
{ get; set; }
1087 public signal void connect_proxy (Gtk
.Action p0
, Gtk
.Widget p1
);
1088 public signal void disconnect_proxy (Gtk
.Action p0
, Gtk
.Widget p1
);
1089 public signal void pre_activate (Gtk
.Action p0
);
1090 public signal void post_activate (Gtk
.Action p0
);
1092 [CCode (cheader_filename
= "gtk/gtk.h")]
1093 public class Adjustment
: Gtk
.Object
{
1094 public void clamp_page (double lower
, double upper
);
1095 public static GLib
.Type
get_type ();
1096 public double get_value ();
1097 public Adjustment (double value
, double lower
, double upper
, double step_increment
, double page_increment
, double page_size
);
1098 public void set_value (double value
);
1099 public weak double value
{ get; set; }
1101 public weak double lower
{ get; set; }
1103 public weak double upper
{ get; set; }
1105 public weak double step_increment
{ get; set; }
1107 public weak double page_increment
{ get; set; }
1109 public weak double page_size
{ get; set; }
1111 public signal void changed ();
1113 public signal void value_changed ();
1115 [CCode (cheader_filename
= "gtk/gtk.h")]
1116 public class Alignment
: Gtk
.Bin
{
1117 public void get_padding (uint padding_top
, uint padding_bottom
, uint padding_left
, uint padding_right
);
1118 public static GLib
.Type
get_type ();
1119 public Alignment (float xalign
, float yalign
, float xscale
, float yscale
);
1120 public void set (float xalign
, float yalign
, float xscale
, float yscale
);
1121 public void set_padding (uint padding_top
, uint padding_bottom
, uint padding_left
, uint padding_right
);
1123 public weak float xalign
{ get; set; }
1125 public weak float yalign
{ get; set; }
1127 public weak float xscale
{ get; set; }
1129 public weak float yscale
{ get; set; }
1131 public weak uint top_padding
{ get; set; }
1133 public weak uint bottom_padding
{ get; set; }
1135 public weak uint left_padding
{ get; set; }
1137 public weak uint right_padding
{ get; set; }
1139 [CCode (cheader_filename
= "gtk/gtk.h")]
1140 public class Arrow
: Gtk
.Misc
{
1141 public static GLib
.Type
get_type ();
1142 public Arrow (Gtk
.ArrowType arrow_type
, Gtk
.ShadowType shadow_type
);
1143 public void set (Gtk
.ArrowType arrow_type
, Gtk
.ShadowType shadow_type
);
1145 public weak Gtk
.ArrowType arrow_type
{ get; set; }
1147 public weak Gtk
.ShadowType shadow_type
{ get; set; }
1149 [CCode (cheader_filename
= "gtk/gtk.h")]
1150 public class AspectFrame
: Gtk
.Frame
{
1151 public static GLib
.Type
get_type ();
1152 public AspectFrame (string label
, float xalign
, float yalign
, float ratio
, bool obey_child
);
1153 public void set (float xalign
, float yalign
, float ratio
, bool obey_child
);
1155 public weak float xalign
{ get; set; }
1157 public weak float yalign
{ get; set; }
1159 public weak float ratio
{ get; set; }
1161 public weak bool obey_child
{ get; set; }
1163 [CCode (cheader_filename
= "gtk/gtk.h")]
1164 public class Assistant
: Gtk
.Window
{
1165 public void add_action_widget (Gtk
.Widget child
);
1166 public int append_page (Gtk
.Widget page
);
1167 public int get_current_page ();
1168 public int get_n_pages ();
1169 public weak Gtk
.Widget
get_nth_page (int page_num
);
1170 public bool get_page_complete (Gtk
.Widget page
);
1171 public weak Gdk
.Pixbuf
get_page_header_image (Gtk
.Widget page
);
1172 public weak Gdk
.Pixbuf
get_page_side_image (Gtk
.Widget page
);
1173 public weak string get_page_title (Gtk
.Widget page
);
1174 public Gtk
.AssistantPageType
get_page_type (Gtk
.Widget page
);
1175 public static GLib
.Type
get_type ();
1176 public int insert_page (Gtk
.Widget page
, int position
);
1177 public Assistant ();
1178 public int prepend_page (Gtk
.Widget page
);
1179 public void remove_action_widget (Gtk
.Widget child
);
1180 public void set_current_page (int page_num
);
1181 public void set_forward_page_func (Gtk
.AssistantPageFunc page_func
, pointer data
, GLib
.DestroyNotify destroy
);
1182 public void set_page_complete (Gtk
.Widget page
, bool complete
);
1183 public void set_page_header_image (Gtk
.Widget page
, Gdk
.Pixbuf pixbuf
);
1184 public void set_page_side_image (Gtk
.Widget page
, Gdk
.Pixbuf pixbuf
);
1185 public void set_page_title (Gtk
.Widget page
, string title
);
1186 public void set_page_type (Gtk
.Widget page
, Gtk
.AssistantPageType type
);
1187 public void update_buttons_state ();
1188 public signal void cancel ();
1189 public signal void prepare (Gtk
.Widget page
);
1190 public signal void apply ();
1191 public signal void close ();
1193 [CCode (cheader_filename
= "gtk/gtk.h")]
1194 public class Bin
: Gtk
.Container
{
1195 public weak Gtk
.Widget
get_child ();
1196 public static GLib
.Type
get_type ();
1198 [CCode (cheader_filename
= "gtk/gtk.h")]
1199 public class Box
: Gtk
.Container
{
1200 public weak GLib
.List children
;
1201 public bool get_homogeneous ();
1202 public int get_spacing ();
1203 public static GLib
.Type
get_type ();
1204 public void pack_end (Gtk
.Widget child
, bool expand
, bool fill
, uint padding
);
1205 public void pack_end_defaults (Gtk
.Widget widget
);
1206 public void pack_start (Gtk
.Widget child
, bool expand
, bool fill
, uint padding
);
1207 public void pack_start_defaults (Gtk
.Widget widget
);
1208 public void query_child_packing (Gtk
.Widget child
, bool expand
, bool fill
, uint padding
, Gtk
.PackType pack_type
);
1209 public void reorder_child (Gtk
.Widget child
, int position
);
1210 public void set_child_packing (Gtk
.Widget child
, bool expand
, bool fill
, uint padding
, Gtk
.PackType pack_type
);
1211 public void set_homogeneous (bool homogeneous
);
1212 public void set_spacing (int spacing
);
1213 public weak int spacing
{ get; set; }
1214 public weak bool homogeneous
{ get; set; }
1216 [CCode (cheader_filename
= "gtk/gtk.h")]
1217 public class Builder
: GLib
.Object
{
1218 public uint add_from_file (string filename
, GLib
.Error error
);
1219 public uint add_from_string (string buffer
, ulong length
, GLib
.Error error
);
1220 public void connect_signals (pointer user_data
);
1221 public void connect_signals_full (Gtk
.BuilderConnectFunc func
, pointer user_data
);
1222 public static GLib
.Quark
error_quark ();
1223 public weak GLib
.Object
get_object (string name
);
1224 public weak GLib
.SList
get_objects ();
1225 public weak string get_translation_domain ();
1226 public static GLib
.Type
get_type ();
1227 public virtual GLib
.Type
get_type_from_name (string type_name
);
1229 public void set_translation_domain (string domain
);
1230 public static bool value_from_string (GLib
.ParamSpec pspec
, string string, GLib
.Value value
);
1231 public static bool value_from_string_type (GLib
.Type type
, string string, GLib
.Value value
);
1232 public weak string translation_domain
{ get; set; }
1234 [CCode (cheader_filename
= "gtk/gtk.h")]
1235 public class Button
: Gtk
.Bin
{
1236 public static GLib
.Type
action_get_type ();
1237 public void get_alignment (float xalign
, float yalign
);
1238 public bool get_focus_on_click ();
1239 public weak Gtk
.Widget
get_image ();
1240 public Gtk
.PositionType
get_image_position ();
1241 public weak string get_label ();
1242 public Gtk
.ReliefStyle
get_relief ();
1243 public static GLib
.Type
get_type ();
1244 public bool get_use_stock ();
1245 public bool get_use_underline ();
1247 public Button
.from_stock (string stock_id
);
1248 public Button
.with_label (string label
);
1249 public Button
.with_mnemonic (string label
);
1250 public void set_alignment (float xalign
, float yalign
);
1251 public void set_focus_on_click (bool focus_on_click
);
1252 public void set_image (Gtk
.Widget image
);
1253 public void set_image_position (Gtk
.PositionType position
);
1254 public void set_label (string label
);
1255 public void set_relief (Gtk
.ReliefStyle newstyle
);
1256 public void set_use_stock (bool use_stock
);
1257 public void set_use_underline (bool use_underline
);
1258 public weak string label
{ get; set construct; }
1259 public weak bool use_underline
{ get; set construct; }
1260 public weak bool use_stock
{ get; set construct; }
1261 public weak bool focus_on_click
{ get; set; }
1262 public weak Gtk
.ReliefStyle relief
{ get; set; }
1264 public weak float xalign
{ get; set; }
1266 public weak float yalign
{ get; set; }
1267 public weak Gtk
.Widget image
{ get; set; }
1268 public weak Gtk
.PositionType image_position
{ get; set; }
1270 public signal void pressed ();
1272 public signal void released ();
1274 public signal void clicked ();
1276 public signal void enter ();
1278 public signal void leave ();
1279 public signal void activate ();
1281 [CCode (cheader_filename
= "gtk/gtk.h")]
1282 public class ButtonBox
: Gtk
.Box
{
1283 public bool get_child_secondary (Gtk
.Widget child
);
1284 public Gtk
.ButtonBoxStyle
get_layout ();
1285 public static GLib
.Type
get_type ();
1286 public void set_child_secondary (Gtk
.Widget child
, bool is_secondary
);
1287 public void set_layout (Gtk
.ButtonBoxStyle layout_style
);
1289 public weak Gtk
.ButtonBoxStyle layout_style
{ get; set; }
1291 [CCode (cheader_filename
= "gtk/gtk.h")]
1292 public class Calendar
: Gtk
.Widget
{
1293 public void clear_marks ();
1294 public void get_date (uint year
, uint month
, uint day
);
1295 public Gtk
.CalendarDisplayOptions
get_display_options ();
1296 public static GLib
.Type
get_type ();
1297 public bool mark_day (uint day
);
1299 public void select_day (uint day
);
1300 public bool select_month (uint month
, uint year
);
1301 public void set_display_options (Gtk
.CalendarDisplayOptions @flags
);
1302 public bool unmark_day (uint day
);
1304 public weak int year
{ get; set; }
1306 public weak int month
{ get; set; }
1308 public weak int day
{ get; set; }
1310 public weak bool show_heading
{ get; set; }
1312 public weak bool show_day_names
{ get; set; }
1314 public weak bool no_month_change
{ get; set; }
1316 public weak bool show_week_numbers
{ get; set; }
1317 public signal void month_changed ();
1318 public signal void day_selected ();
1319 public signal void day_selected_double_click ();
1320 public signal void prev_month ();
1321 public signal void next_month ();
1322 public signal void prev_year ();
1323 public signal void next_year ();
1325 [CCode (cheader_filename
= "gtk/gtk.h")]
1326 public class CellRenderer
: Gtk
.Object
{
1327 public virtual bool activate (Gdk
.Event event
, Gtk
.Widget widget
, string path
, Gdk
.Rectangle background_area
, Gdk
.Rectangle cell_area
, Gtk
.CellRendererState @flags
);
1328 public void get_fixed_size (int width
, int height
);
1329 public virtual void get_size (Gtk
.Widget widget
, Gdk
.Rectangle cell_area
, int x_offset
, int y_offset
, int width
, int height
);
1330 public static GLib
.Type
get_type ();
1331 public virtual void render (Gdk
.Window window
, Gtk
.Widget widget
, Gdk
.Rectangle background_area
, Gdk
.Rectangle cell_area
, Gdk
.Rectangle expose_area
, Gtk
.CellRendererState @flags
);
1332 public void set_fixed_size (int width
, int height
);
1333 public virtual weak Gtk
.CellEditable
start_editing (Gdk
.Event event
, Gtk
.Widget widget
, string path
, Gdk
.Rectangle background_area
, Gdk
.Rectangle cell_area
, Gtk
.CellRendererState @flags
);
1334 public void stop_editing (bool canceled
);
1336 public weak Gtk
.CellRendererMode mode
{ get; set; }
1338 public weak bool visible
{ get; set; }
1340 public weak bool sensitive
{ get; set; }
1342 public weak float xalign
{ get; set; }
1344 public weak float yalign
{ get; set; }
1346 public weak uint xpad
{ get; set; }
1348 public weak uint ypad
{ get; set; }
1350 public weak int width
{ get; set; }
1352 public weak int height
{ get; set; }
1354 public weak bool is_expander
{ get; set; }
1356 public weak bool is_expanded
{ get; set; }
1358 public weak string cell_background
{ set; }
1360 public weak Gdk
.Color cell_background_gdk
{ get; set; }
1361 public signal void editing_canceled ();
1362 public signal void editing_started (Gtk
.CellEditable editable
, string path
);
1364 [CCode (cheader_filename
= "gtk/gtk.h")]
1365 public class CellRendererAccel
: Gtk
.CellRendererText
{
1366 public static GLib
.Type
get_type ();
1367 public CellRendererAccel ();
1369 public weak uint accel_key
{ get; set; }
1371 public weak Gdk
.ModifierType accel_mods
{ get; set; }
1373 public weak uint keycode
{ get; set; }
1375 public weak Gtk
.CellRendererAccelMode accel_mode
{ get; set; }
1376 public signal void accel_edited (string path_string
, uint accel_key
, Gdk
.ModifierType accel_mods
, uint hardware_keycode
);
1377 public signal void accel_cleared (string path_string
);
1379 [CCode (cheader_filename
= "gtk/gtk.h")]
1380 public class CellRendererCombo
: Gtk
.CellRendererText
{
1381 public static GLib
.Type
get_type ();
1382 public CellRendererCombo ();
1384 public weak Gtk
.TreeModel model
{ get; set; }
1386 public weak int text_column
{ get; set; }
1388 public weak bool has_entry
{ get; set; }
1390 [CCode (cheader_filename
= "gtk/gtk.h")]
1391 public class CellRendererPixbuf
: Gtk
.CellRenderer
{
1392 public static GLib
.Type
get_type ();
1393 public CellRendererPixbuf ();
1395 public weak Gdk
.Pixbuf pixbuf
{ get; set; }
1397 public weak Gdk
.Pixbuf pixbuf_expander_open
{ get; set; }
1399 public weak Gdk
.Pixbuf pixbuf_expander_closed
{ get; set; }
1401 public weak string stock_id
{ get; set; }
1403 public weak uint stock_size
{ get; set; }
1405 public weak string stock_detail
{ get; set; }
1407 public weak string icon_name
{ get; set; }
1409 public weak bool follow_state
{ get; set; }
1411 [CCode (cheader_filename
= "gtk/gtk.h")]
1412 public class CellRendererProgress
: Gtk
.CellRenderer
{
1413 public static GLib
.Type
get_type ();
1414 public CellRendererProgress ();
1416 public weak int value
{ get; set; }
1418 public weak string text
{ get; set; }
1420 public weak int pulse
{ get; set; }
1422 public weak float text_xalign
{ get; set; }
1424 public weak float text_yalign
{ get; set; }
1426 public weak Gtk
.ProgressBarOrientation orientation
{ get; set; }
1428 [CCode (cheader_filename
= "gtk/gtk.h")]
1429 public class CellRendererSpin
: Gtk
.CellRendererText
{
1430 public static GLib
.Type
get_type ();
1431 public CellRendererSpin ();
1433 public weak Gtk
.Adjustment adjustment
{ get; set; }
1435 public weak double climb_rate
{ get; set; }
1437 public weak uint digits
{ get; set; }
1439 [CCode (cheader_filename
= "gtk/gtk.h")]
1440 public class CellRendererText
: Gtk
.CellRenderer
{
1441 public static GLib
.Type
get_type ();
1442 public CellRendererText ();
1443 public void set_fixed_height_from_font (int number_of_rows
);
1445 public weak string text
{ get; set; }
1447 public weak string markup
{ set; }
1449 public weak Pango
.AttrList attributes
{ get; set; }
1451 public weak bool single_paragraph_mode
{ get; set; }
1453 public weak string background
{ set; }
1455 public weak Gdk
.Color background_gdk
{ get; set; }
1457 public weak string foreground
{ set; }
1459 public weak Gdk
.Color foreground_gdk
{ get; set; }
1461 public weak bool editable
{ get; set; }
1463 public weak string font
{ get; set; }
1465 public weak Pango
.FontDescription font_desc
{ get; set; }
1467 public weak string family
{ get; set; }
1469 public weak Pango
.Style style
{ get; set; }
1471 public weak Pango
.Variant variant
{ get; set; }
1473 public weak int weight
{ get; set; }
1475 public weak Pango
.Stretch stretch
{ get; set; }
1477 public weak int size
{ get; set; }
1479 public weak double size_points
{ get; set; }
1481 public weak double scale
{ get; set; }
1483 public weak int rise
{ get; set; }
1485 public weak bool strikethrough
{ get; set; }
1487 public weak Pango
.Underline underline
{ get; set; }
1489 public weak string language
{ get; set; }
1491 public weak Pango
.EllipsizeMode ellipsize
{ get; set; }
1493 public weak int width_chars
{ get; set; }
1495 public weak Pango
.WrapMode wrap_mode
{ get; set; }
1497 public weak int wrap_width
{ get; set; }
1499 public weak Pango
.Alignment alignment
{ get; set; }
1500 public signal void edited (string path
, string new_text
);
1502 [CCode (cheader_filename
= "gtk/gtk.h")]
1503 public class CellRendererToggle
: Gtk
.CellRenderer
{
1504 public bool get_active ();
1505 public bool get_radio ();
1506 public static GLib
.Type
get_type ();
1507 public CellRendererToggle ();
1508 public void set_active (bool setting
);
1509 public void set_radio (bool radio
);
1510 public weak bool active
{ get; set; }
1512 public weak bool inconsistent
{ get; set; }
1514 public weak bool activatable
{ get; set; }
1515 public weak bool radio
{ get; set; }
1517 public weak int indicator_size
{ get; set; }
1518 public signal void toggled (string path
);
1520 [CCode (cheader_filename
= "gtk/gtk.h")]
1521 public class CellView
: Gtk
.Widget
, Gtk
.CellLayout
, Gtk
.Buildable
{
1522 public weak GLib
.List
get_cell_renderers ();
1523 public weak Gtk
.TreePath
get_displayed_row ();
1524 public bool get_size_of_row (Gtk
.TreePath path
, ref Gtk
.Requisition requisition
);
1525 public static GLib
.Type
get_type ();
1527 public CellView
.with_markup (string markup
);
1528 public CellView
.with_pixbuf (Gdk
.Pixbuf pixbuf
);
1529 public CellView
.with_text (string text
);
1530 public void set_background_color (Gdk
.Color color
);
1531 public void set_displayed_row (Gtk
.TreePath path
);
1532 public void set_model (Gtk
.TreeModel model
);
1534 public weak string background
{ set; }
1536 public weak Gdk
.Color background_gdk
{ get; set; }
1538 public weak Gtk
.TreeModel model
{ get; set; }
1540 [CCode (cheader_filename
= "gtk/gtk.h")]
1541 public class CheckButton
: Gtk
.ToggleButton
{
1542 public static GLib
.Type
get_type ();
1543 public CheckButton ();
1544 public CheckButton
.with_label (string label
);
1545 public CheckButton
.with_mnemonic (string label
);
1547 [CCode (cheader_filename
= "gtk/gtk.h")]
1548 public class CheckMenuItem
: Gtk
.MenuItem
{
1549 public bool get_active ();
1550 public bool get_draw_as_radio ();
1551 public bool get_inconsistent ();
1552 public static GLib
.Type
get_type ();
1553 public CheckMenuItem ();
1554 public CheckMenuItem
.with_label (string label
);
1555 public CheckMenuItem
.with_mnemonic (string label
);
1556 public void set_active (bool is_active
);
1557 public void set_draw_as_radio (bool draw_as_radio
);
1558 public void set_inconsistent (bool setting
);
1559 public weak bool active
{ get; set; }
1560 public weak bool inconsistent
{ get; set; }
1561 public weak bool draw_as_radio
{ get; set; }
1563 public signal void toggled ();
1565 [CCode (cheader_filename
= "gtk/gtk.h")]
1566 public class Clipboard
: GLib
.Object
{
1567 public void clear ();
1568 public static weak Gtk
.Clipboard
get (Gdk
.Atom selection
);
1569 public weak Gdk
.Display
get_display ();
1570 public static weak Gtk
.Clipboard
get_for_display (Gdk
.Display display
, Gdk
.Atom selection
);
1571 public weak GLib
.Object
get_owner ();
1572 public static GLib
.Type
get_type ();
1573 public void request_contents (Gdk
.Atom target
, Gtk
.ClipboardReceivedFunc @
callback, pointer user_data
);
1574 public void request_image (Gtk
.ClipboardImageReceivedFunc @
callback, pointer user_data
);
1575 public void request_rich_text (Gtk
.TextBuffer buffer
, Gtk
.ClipboardRichTextReceivedFunc @
callback, pointer user_data
);
1576 public void request_targets (Gtk
.ClipboardTargetsReceivedFunc @
callback, pointer user_data
);
1577 public void request_text (Gtk
.ClipboardTextReceivedFunc @
callback, pointer user_data
);
1579 public void set_can_store (Gtk
.TargetEntry
[] targets
, int n_targets
);
1580 public void set_image (Gdk
.Pixbuf pixbuf
);
1581 public void set_text (string text
, int len
);
1583 public bool set_with_data (Gtk
.TargetEntry
[] targets
, uint n_targets
, Gtk
.ClipboardGetFunc get_func
, Gtk
.ClipboardClearFunc clear_func
, pointer user_data
);
1585 public bool set_with_owner (Gtk
.TargetEntry
[] targets
, uint n_targets
, Gtk
.ClipboardGetFunc get_func
, Gtk
.ClipboardClearFunc clear_func
, GLib
.Object owner
);
1586 public void store ();
1587 public weak Gtk
.SelectionData
wait_for_contents (Gdk
.Atom target
);
1588 public weak Gdk
.Pixbuf
wait_for_image ();
1589 public uchar wait_for_rich_text (Gtk
.TextBuffer buffer
, Gdk
.Atom format
, ulong length
);
1591 public bool wait_for_targets (Gdk
.Atom
[] targets
, int n_targets
);
1592 public weak string wait_for_text ();
1593 public bool wait_is_image_available ();
1594 public bool wait_is_rich_text_available (Gtk
.TextBuffer buffer
);
1595 public bool wait_is_target_available (Gdk
.Atom target
);
1596 public bool wait_is_text_available ();
1597 public signal void owner_change (Gdk
.EventOwnerChange event
);
1599 [CCode (cheader_filename
= "gtk/gtk.h")]
1600 public class ColorButton
: Gtk
.Button
{
1601 public ushort get_alpha ();
1602 public void get_color (Gdk
.Color color
);
1603 public weak string get_title ();
1604 public static GLib
.Type
get_type ();
1605 public bool get_use_alpha ();
1606 public ColorButton ();
1607 public ColorButton
.with_color (Gdk
.Color color
);
1608 public void set_alpha (ushort alpha
);
1609 public void set_color (Gdk
.Color color
);
1610 public void set_title (string title
);
1611 public void set_use_alpha (bool use_alpha
);
1612 public weak bool use_alpha
{ get; set; }
1613 public weak string title
{ get; set; }
1614 public weak Gdk
.Color color
{ get; set; }
1615 public weak uint alpha
{ get; set; }
1616 public signal void color_set ();
1618 [CCode (cheader_filename
= "gtk/gtk.h")]
1619 public class ColorSelection
: Gtk
.VBox
{
1620 public ushort get_current_alpha ();
1621 public void get_current_color (Gdk
.Color color
);
1622 public bool get_has_opacity_control ();
1623 public bool get_has_palette ();
1624 public ushort get_previous_alpha ();
1625 public void get_previous_color (Gdk
.Color color
);
1626 public static GLib
.Type
get_type ();
1627 public bool is_adjusting ();
1628 public ColorSelection ();
1630 public static bool palette_from_string (string str
, Gdk
.Color
[] colors
, int n_colors
);
1632 public static weak string palette_to_string (Gdk
.Color
[] colors
, int n_colors
);
1633 public static Gtk
.ColorSelectionChangePaletteWithScreenFunc
set_change_palette_with_screen_hook (Gtk
.ColorSelectionChangePaletteWithScreenFunc func
);
1634 public void set_current_alpha (ushort alpha
);
1635 public void set_current_color (Gdk
.Color color
);
1636 public void set_has_opacity_control (bool has_opacity
);
1637 public void set_has_palette (bool has_palette
);
1638 public void set_previous_alpha (ushort alpha
);
1639 public void set_previous_color (Gdk
.Color color
);
1640 public weak bool has_opacity_control
{ get; set; }
1641 public weak bool has_palette
{ get; set; }
1642 public weak Gdk
.Color current_color
{ get; set; }
1643 public weak uint current_alpha
{ get; set; }
1644 public signal void color_changed ();
1646 [CCode (cheader_filename
= "gtk/gtk.h")]
1647 public class ColorSelectionDialog
: Gtk
.Dialog
, Gtk
.Buildable
{
1648 public static GLib
.Type
get_type ();
1649 public ColorSelectionDialog (string title
);
1651 [CCode (cheader_filename
= "gtk/gtk.h")]
1652 public class Combo
: Gtk
.HBox
{
1653 public weak Gtk
.Widget entry
;
1654 public weak Gtk
.Widget list
;
1656 public weak bool enable_arrow_keys
{ get; set; }
1658 public weak bool enable_arrows_always
{ get; set; }
1660 public weak bool case_sensitive
{ get; set; }
1662 public weak bool allow_empty
{ get; set; }
1664 public weak bool value_in_list
{ get; set; }
1666 [CCode (cheader_filename
= "gtk/gtk.h")]
1667 public class ComboBox
: Gtk
.Bin
, Gtk
.CellLayout
, Gtk
.CellEditable
, Gtk
.Buildable
{
1668 public void append_text (string text
);
1669 public int get_active ();
1670 public bool get_active_iter (ref Gtk
.TreeIter iter
);
1671 public virtual weak string get_active_text ();
1672 public bool get_add_tearoffs ();
1673 public int get_column_span_column ();
1674 public bool get_focus_on_click ();
1675 public weak Gtk
.TreeModel
get_model ();
1676 public weak Atk
.Object
get_popup_accessible ();
1677 public Gtk
.TreeViewRowSeparatorFunc
get_row_separator_func ();
1678 public int get_row_span_column ();
1679 public weak string get_title ();
1680 public static GLib
.Type
get_type ();
1681 public int get_wrap_width ();
1682 public void insert_text (int position
, string text
);
1684 public ComboBox
.text ();
1685 public ComboBox
.with_model (Gtk
.TreeModel model
);
1686 public void popdown ();
1687 public void popup ();
1688 public void prepend_text (string text
);
1689 public void remove_text (int position
);
1690 public void set_active (int index_
);
1691 public void set_active_iter (ref Gtk
.TreeIter iter
);
1692 public void set_add_tearoffs (bool add_tearoffs
);
1693 public void set_column_span_column (int column_span
);
1694 public void set_focus_on_click (bool focus_on_click
);
1695 public void set_model (Gtk
.TreeModel model
);
1696 public void set_row_separator_func (Gtk
.TreeViewRowSeparatorFunc func
, pointer data
, Gtk
.DestroyNotify destroy
);
1697 public void set_row_span_column (int row_span
);
1698 public void set_title (string title
);
1699 public void set_wrap_width (int width
);
1700 public weak Gtk
.TreeModel model
{ get; set; }
1701 public weak int wrap_width
{ get; set; }
1702 public weak int row_span_column
{ get; set; }
1703 public weak int column_span_column
{ get; set; }
1704 public weak int active
{ get; set; }
1705 public weak bool add_tearoffs
{ get; set; }
1707 public weak bool has_frame
{ get; set; }
1708 public weak bool focus_on_click
{ get; set; }
1710 public weak string tearoff_title
{ get; set; }
1712 public weak bool popup_shown
{ get; }
1713 public signal void changed ();
1715 [CCode (cheader_filename
= "gtk/gtk.h")]
1716 public class ComboBoxEntry
: Gtk
.ComboBox
, Gtk
.Buildable
{
1717 public int get_text_column ();
1718 public static GLib
.Type
get_type ();
1719 public ComboBoxEntry ();
1720 public ComboBoxEntry
.text ();
1721 public ComboBoxEntry
.with_model (Gtk
.TreeModel model
, int text_column
);
1722 public void set_text_column (int text_column
);
1723 public weak int text_column
{ get; set; }
1725 [CCode (cheader_filename
= "gtk/gtk.h")]
1726 public class Container
: Gtk
.Widget
, Gtk
.Buildable
{
1727 public void add_with_properties (Gtk
.Widget widget
, string first_prop_name
);
1728 public void child_get (Gtk
.Widget child
, string first_prop_name
);
1729 public void child_get_property (Gtk
.Widget child
, string property_name
, GLib
.Value value
);
1730 public void child_get_valist (Gtk
.Widget child
, string first_property_name
, pointer var_args
);
1731 public void child_set (Gtk
.Widget child
, string first_prop_name
);
1732 public void child_set_property (Gtk
.Widget child
, string property_name
, GLib
.Value value
);
1733 public void child_set_valist (Gtk
.Widget child
, string first_property_name
, pointer var_args
);
1734 public virtual GLib
.Type
child_type ();
1735 public static weak GLib
.ParamSpec
class_find_child_property (pointer cclass
, string property_name
);
1736 public static void class_install_child_property (pointer cclass
, uint property_id
, GLib
.ParamSpec pspec
);
1737 public static weak GLib
.ParamSpec
class_list_child_properties (pointer cclass
, uint n_properties
);
1738 public virtual void forall (Gtk
.Callback @
callback, pointer callback_data
);
1739 public void @
foreach (Gtk
.Callback @
callback, pointer callback_data
);
1740 public uint get_border_width ();
1741 public weak GLib
.List
get_children ();
1742 public bool get_focus_chain (GLib
.List focusable_widgets
);
1743 public weak Gtk
.Adjustment
get_focus_hadjustment ();
1744 public weak Gtk
.Adjustment
get_focus_vadjustment ();
1745 public Gtk
.ResizeMode
get_resize_mode ();
1746 public static GLib
.Type
get_type ();
1747 public void propagate_expose (Gtk
.Widget child
, Gdk
.EventExpose event
);
1748 public void resize_children ();
1749 public void set_border_width (uint border_width
);
1750 public void set_focus_chain (GLib
.List focusable_widgets
);
1751 public void set_focus_hadjustment (Gtk
.Adjustment adjustment
);
1752 public void set_focus_vadjustment (Gtk
.Adjustment adjustment
);
1753 public void set_reallocate_redraws (bool needs_redraws
);
1754 public void set_resize_mode (Gtk
.ResizeMode resize_mode
);
1755 public void unset_focus_chain ();
1756 public weak Gtk
.ResizeMode resize_mode
{ get; set; }
1757 public weak uint border_width
{ get; set; }
1759 public weak Gtk
.Widget child
{ set; }
1761 public signal void add (Gtk
.Widget widget
);
1763 public signal void remove (Gtk
.Widget widget
);
1765 public signal void check_resize ();
1767 public signal void set_focus_child (Gtk
.Widget widget
);
1769 [CCode (cheader_filename
= "gtk/gtk.h")]
1770 public class Curve
: Gtk
.DrawingArea
{
1771 public static GLib
.Type
get_type ();
1773 public void get_vector (int veclen
, float[] vector
);
1775 public void reset ();
1776 public void set_curve_type (Gtk
.CurveType type
);
1777 public void set_gamma (float gamma_
);
1778 public void set_range (float min_x
, float max_x
, float min_y
, float max_y
);
1780 public void set_vector (int veclen
, float[] vector
);
1782 public weak Gtk
.CurveType curve_type
{ get; set; }
1784 public weak float min_x
{ get; set; }
1786 public weak float max_x
{ get; set; }
1788 public weak float min_y
{ get; set; }
1790 public weak float max_y
{ get; set; }
1791 public signal void curve_type_changed ();
1793 [CCode (cheader_filename
= "gtk/gtk.h")]
1794 public class Dialog
: Gtk
.Window
, Gtk
.Buildable
{
1795 public weak Gtk
.Widget vbox
;
1796 public weak Gtk
.Widget action_area
;
1797 public void add_action_widget (Gtk
.Widget child
, int response_id
);
1798 public weak Gtk
.Widget
add_button (string button_text
, int response_id
);
1799 public void add_buttons (string first_button_text
);
1800 public bool get_has_separator ();
1801 public int get_response_for_widget (Gtk
.Widget widget
);
1802 public static GLib
.Type
get_type ();
1804 public Dialog
.with_buttons (string title
, Gtk
.Window parent
, Gtk
.DialogFlags @flags
, string first_button_text
);
1806 public void set_alternative_button_order (int first_response_id
);
1807 public void set_alternative_button_order_from_array (int n_params
, int new_order
);
1808 public void set_default_response (int response_id
);
1809 public void set_has_separator (bool setting
);
1810 public void set_response_sensitive (int response_id
, bool setting
);
1811 public weak bool has_separator
{ get; set; }
1813 public signal void response (int response_id
);
1814 public signal void close ();
1816 [CCode (cheader_filename
= "gtk/gtk.h")]
1817 public class DrawingArea
: Gtk
.Widget
{
1818 public static GLib
.Type
get_type ();
1819 public DrawingArea ();
1821 [CCode (cheader_filename
= "gtk/gtk.h")]
1822 public class Entry
: Gtk
.Widget
, Gtk
.Editable
, Gtk
.CellEditable
{
1823 public bool get_activates_default ();
1824 public float get_alignment ();
1825 public weak Gtk
.EntryCompletion
get_completion ();
1826 public weak Gtk
.Adjustment
get_cursor_hadjustment ();
1827 public bool get_has_frame ();
1828 public Gtk
.Border
get_inner_border ();
1829 public unichar
get_invisible_char ();
1830 public weak Pango
.Layout
get_layout ();
1831 public void get_layout_offsets (int x
, int y
);
1832 public int get_max_length ();
1833 public weak string get_text ();
1834 public static GLib
.Type
get_type ();
1835 public bool get_visibility ();
1836 public int get_width_chars ();
1837 public int layout_index_to_text_index (int layout_index
);
1839 public void set_activates_default (bool setting
);
1840 public void set_alignment (float xalign
);
1841 public void set_completion (Gtk
.EntryCompletion completion
);
1842 public void set_cursor_hadjustment (Gtk
.Adjustment adjustment
);
1843 public void set_has_frame (bool setting
);
1844 public void set_inner_border (ref Gtk
.Border border
);
1845 public void set_invisible_char (unichar ch
);
1846 public void set_max_length (int max
);
1847 public void set_text (string text
);
1848 public void set_visibility (bool visible
);
1849 public void set_width_chars (int n_chars
);
1850 public int text_index_to_layout_index (int text_index
);
1852 public weak int cursor_position
{ get; }
1854 public weak int selection_bound
{ get; }
1856 public weak bool editable
{ get; set; }
1857 public weak int max_length
{ get; set; }
1858 public weak bool visibility
{ get; set; }
1859 public weak bool has_frame
{ get; set; }
1860 public weak Gtk
.Border inner_border
{ get; set; }
1861 public weak unichar invisible_char
{ get; set; }
1862 public weak bool activates_default
{ get; set; }
1863 public weak int width_chars
{ get; set; }
1865 public weak int scroll_offset
{ get; }
1866 public weak string text
{ get; set; }
1868 public weak float xalign
{ get; set; }
1870 public weak bool truncate_multiline
{ get; set; }
1872 public weak Gtk
.ShadowType shadow_type
{ get; set; }
1873 public signal void populate_popup (Gtk
.Menu menu
);
1874 public signal void activate ();
1875 public signal void move_cursor (Gtk
.MovementStep step
, int count
, bool extend_selection
);
1876 public signal void insert_at_cursor (string str
);
1877 public signal void delete_from_cursor (Gtk
.DeleteType type
, int count
);
1878 public signal void backspace ();
1879 public signal void cut_clipboard ();
1880 public signal void copy_clipboard ();
1881 public signal void paste_clipboard ();
1882 public signal void toggle_overwrite ();
1884 [CCode (cheader_filename
= "gtk/gtk.h")]
1885 public class EntryCompletion
: GLib
.Object
, Gtk
.CellLayout
, Gtk
.Buildable
{
1886 public void complete ();
1887 public void delete_action (int index_
);
1888 public weak string get_completion_prefix ();
1889 public weak Gtk
.Widget
get_entry ();
1890 public bool get_inline_completion ();
1891 public bool get_inline_selection ();
1892 public int get_minimum_key_length ();
1893 public weak Gtk
.TreeModel
get_model ();
1894 public bool get_popup_completion ();
1895 public bool get_popup_set_width ();
1896 public bool get_popup_single_match ();
1897 public int get_text_column ();
1898 public static GLib
.Type
get_type ();
1899 public void insert_action_markup (int index_
, string markup
);
1900 public void insert_action_text (int index_
, string text
);
1901 public EntryCompletion ();
1902 public void set_inline_completion (bool inline_completion
);
1903 public void set_inline_selection (bool inline_selection
);
1904 public void set_match_func (Gtk
.EntryCompletionMatchFunc func
, pointer func_data
, GLib
.DestroyNotify func_notify
);
1905 public void set_minimum_key_length (int length
);
1906 public void set_model (Gtk
.TreeModel model
);
1907 public void set_popup_completion (bool popup_completion
);
1908 public void set_popup_set_width (bool popup_set_width
);
1909 public void set_popup_single_match (bool popup_single_match
);
1910 public void set_text_column (int column
);
1911 public weak Gtk
.TreeModel model
{ get; set; }
1912 public weak int minimum_key_length
{ get; set; }
1913 public weak int text_column
{ get; set; }
1914 public weak bool inline_completion
{ get; set; }
1915 public weak bool popup_completion
{ get; set; }
1916 public weak bool popup_set_width
{ get; set; }
1917 public weak bool popup_single_match
{ get; set; }
1918 public weak bool inline_selection
{ get; set; }
1920 public signal bool insert_prefix (string prefix
);
1921 public signal bool match_selected (Gtk
.TreeModel model
, ref Gtk
.TreeIter iter
);
1922 public signal bool cursor_on_match (Gtk
.TreeModel model
, ref Gtk
.TreeIter iter
);
1923 public signal void action_activated (int index_
);
1925 [CCode (cheader_filename
= "gtk/gtk.h")]
1926 public class EventBox
: Gtk
.Bin
{
1927 public bool get_above_child ();
1928 public static GLib
.Type
get_type ();
1929 public bool get_visible_window ();
1931 public void set_above_child (bool above_child
);
1932 public void set_visible_window (bool visible_window
);
1933 public weak bool visible_window
{ get; set; }
1934 public weak bool above_child
{ get; set; }
1936 [CCode (cheader_filename
= "gtk/gtk.h")]
1937 public class Expander
: Gtk
.Bin
, Gtk
.Buildable
{
1938 public bool get_expanded ();
1939 public weak string get_label ();
1940 public weak Gtk
.Widget
get_label_widget ();
1941 public int get_spacing ();
1942 public static GLib
.Type
get_type ();
1943 public bool get_use_markup ();
1944 public bool get_use_underline ();
1945 public Expander (string label
);
1946 public Expander
.with_mnemonic (string label
);
1947 public void set_expanded (bool expanded
);
1948 public void set_label (string label
);
1949 public void set_label_widget (Gtk
.Widget label_widget
);
1950 public void set_spacing (int spacing
);
1951 public void set_use_markup (bool use_markup
);
1952 public void set_use_underline (bool use_underline
);
1953 public weak bool expanded
{ get; set construct; }
1954 public weak string label
{ get; set construct; }
1955 public weak bool use_underline
{ get; set construct; }
1956 public weak bool use_markup
{ get; set construct; }
1957 public weak int spacing
{ get; set; }
1958 public weak Gtk
.Widget label_widget
{ get; set; }
1959 public signal void activate ();
1961 [CCode (cheader_filename
= "gtk/gtk.h")]
1962 public class FileChooserButton
: Gtk
.HBox
, Gtk
.FileChooser
{
1963 public bool get_focus_on_click ();
1964 public weak string get_title ();
1965 public static GLib
.Type
get_type ();
1966 public int get_width_chars ();
1967 public FileChooserButton (string title
, Gtk
.FileChooserAction action
);
1968 public FileChooserButton
.with_backend (string title
, Gtk
.FileChooserAction action
, string backend
);
1969 public FileChooserButton
.with_dialog (Gtk
.Widget dialog
);
1970 public void set_focus_on_click (bool focus_on_click
);
1971 public void set_title (string title
);
1972 public void set_width_chars (int n_chars
);
1974 public weak Gtk
.FileChooser dialog
{ construct; }
1975 public weak bool focus_on_click
{ get; set; }
1976 public weak string title
{ get; set; }
1977 public weak int width_chars
{ get; set; }
1978 public signal void file_set ();
1980 [CCode (cheader_filename
= "gtk/gtk.h")]
1981 public class FileChooserDialog
: Gtk
.Dialog
, Gtk
.FileChooser
{
1982 public static GLib
.Type
get_type ();
1983 public FileChooserDialog (string title
, Gtk
.Window parent
, Gtk
.FileChooserAction action
, string first_button_text
);
1984 public FileChooserDialog
.with_backend (string title
, Gtk
.Window parent
, Gtk
.FileChooserAction action
, string backend
, string first_button_text
);
1986 [CCode (cheader_filename
= "gtk/gtk.h")]
1987 public class FileChooserWidget
: Gtk
.VBox
, Gtk
.FileChooser
{
1988 public static GLib
.Type
get_type ();
1989 public FileChooserWidget (Gtk
.FileChooserAction action
);
1990 public FileChooserWidget
.with_backend (Gtk
.FileChooserAction action
, string backend
);
1992 [CCode (cheader_filename
= "gtk/gtk.h")]
1993 public class FileFilter
: Gtk
.Object
{
1994 public void add_custom (Gtk
.FileFilterFlags needed
, Gtk
.FileFilterFunc func
, pointer data
, GLib
.DestroyNotify notify
);
1995 public void add_mime_type (string mime_type
);
1996 public void add_pattern (string pattern
);
1997 public void add_pixbuf_formats ();
1998 public bool filter (Gtk
.FileFilterInfo filter_info
);
1999 public weak string get_name ();
2000 public Gtk
.FileFilterFlags
get_needed ();
2001 public static GLib
.Type
get_type ();
2002 public FileFilter ();
2003 public void set_name (string name
);
2005 [CCode (cheader_filename
= "gtk/gtk.h")]
2006 public class FileSelection
: Gtk
.Dialog
{
2007 public weak Gtk
.Widget dir_list
;
2008 public weak Gtk
.Widget file_list
;
2009 public weak Gtk
.Widget selection_entry
;
2010 public weak Gtk
.Widget selection_text
;
2011 public weak Gtk
.Widget main_vbox
;
2012 public weak Gtk
.Widget ok_button
;
2013 public weak Gtk
.Widget cancel_button
;
2014 public weak Gtk
.Widget help_button
;
2015 public weak Gtk
.Widget history_pulldown
;
2016 public weak Gtk
.Widget history_menu
;
2017 public weak GLib
.List history_list
;
2018 public weak Gtk
.Widget fileop_dialog
;
2019 public weak Gtk
.Widget fileop_entry
;
2020 public weak string fileop_file
;
2021 public pointer cmpl_state
;
2022 public weak Gtk
.Widget fileop_c_dir
;
2023 public weak Gtk
.Widget fileop_del_file
;
2024 public weak Gtk
.Widget fileop_ren_file
;
2025 public weak Gtk
.Widget button_area
;
2026 public weak Gtk
.Widget action_area
;
2028 public weak string filename
{ get; set; }
2030 public weak bool show_fileops
{ get; set; }
2032 public weak bool select_multiple
{ get; set; }
2034 [CCode (cheader_filename
= "gtk/gtk.h")]
2035 public class Fixed
: Gtk
.Container
{
2036 public bool get_has_window ();
2037 public static GLib
.Type
get_type ();
2038 public void move (Gtk
.Widget widget
, int x
, int y
);
2040 public void put (Gtk
.Widget widget
, int x
, int y
);
2041 public void set_has_window (bool has_window
);
2043 [CCode (cheader_filename
= "gtk/gtk.h")]
2044 public class FontButton
: Gtk
.Button
{
2045 public weak string get_font_name ();
2046 public bool get_show_size ();
2047 public bool get_show_style ();
2048 public weak string get_title ();
2049 public static GLib
.Type
get_type ();
2050 public bool get_use_font ();
2051 public bool get_use_size ();
2052 public FontButton ();
2053 public FontButton
.with_font (string fontname
);
2054 public bool set_font_name (string fontname
);
2055 public void set_show_size (bool show_size
);
2056 public void set_show_style (bool show_style
);
2057 public void set_title (string title
);
2058 public void set_use_font (bool use_font
);
2059 public void set_use_size (bool use_size
);
2060 public weak string title
{ get; set; }
2061 public weak string font_name
{ get; set; }
2062 public weak bool use_font
{ get; set; }
2063 public weak bool use_size
{ get; set; }
2064 public weak bool show_style
{ get; set; }
2065 public weak bool show_size
{ get; set; }
2066 public signal void font_set ();
2068 [CCode (cheader_filename
= "gtk/gtk.h")]
2069 public class FontSelection
: Gtk
.VBox
{
2070 public weak string get_font_name ();
2071 public weak string get_preview_text ();
2072 public static GLib
.Type
get_type ();
2073 public FontSelection ();
2074 public bool set_font_name (string fontname
);
2075 public void set_preview_text (string text
);
2076 public weak string font_name
{ get; set; }
2078 public weak Gdk
.Font font
{ get; }
2079 public weak string preview_text
{ get; set; }
2081 [CCode (cheader_filename
= "gtk/gtk.h")]
2082 public class FontSelectionDialog
: Gtk
.Dialog
, Gtk
.Buildable
{
2083 public weak Gtk
.Widget ok_button
;
2084 public weak Gtk
.Widget apply_button
;
2085 public weak Gtk
.Widget cancel_button
;
2086 public weak string get_font_name ();
2087 public weak string get_preview_text ();
2088 public static GLib
.Type
get_type ();
2089 public FontSelectionDialog (string title
);
2090 public bool set_font_name (string fontname
);
2091 public void set_preview_text (string text
);
2093 [CCode (cheader_filename
= "gtk/gtk.h")]
2094 public class Frame
: Gtk
.Bin
, Gtk
.Buildable
{
2095 public weak string get_label ();
2096 public void get_label_align (float xalign
, float yalign
);
2097 public weak Gtk
.Widget
get_label_widget ();
2098 public Gtk
.ShadowType
get_shadow_type ();
2099 public static GLib
.Type
get_type ();
2100 public Frame (string label
);
2101 public void set_label (string label
);
2102 public void set_label_align (float xalign
, float yalign
);
2103 public void set_label_widget (Gtk
.Widget label_widget
);
2104 public void set_shadow_type (Gtk
.ShadowType type
);
2105 public weak string label
{ get; set; }
2107 public weak float label_xalign
{ get; set; }
2109 public weak float label_yalign
{ get; set; }
2111 public weak Gtk
.ShadowType shadow
{ get; set; }
2112 public weak Gtk
.ShadowType shadow_type
{ get; set; }
2113 public weak Gtk
.Widget label_widget
{ get; set; }
2115 [CCode (cheader_filename
= "gtk/gtk.h")]
2116 public class GammaCurve
: Gtk
.VBox
{
2117 public static GLib
.Type
get_type ();
2118 public GammaCurve ();
2120 [CCode (cheader_filename
= "gtk/gtk.h")]
2121 public class HandleBox
: Gtk
.Bin
{
2122 public Gtk
.PositionType
get_handle_position ();
2123 public Gtk
.ShadowType
get_shadow_type ();
2124 public Gtk
.PositionType
get_snap_edge ();
2125 public static GLib
.Type
get_type ();
2126 public HandleBox ();
2127 public void set_handle_position (Gtk
.PositionType position
);
2128 public void set_shadow_type (Gtk
.ShadowType type
);
2129 public void set_snap_edge (Gtk
.PositionType edge
);
2131 public weak Gtk
.ShadowType shadow
{ get; set; }
2132 public weak Gtk
.ShadowType shadow_type
{ get; set; }
2133 public weak Gtk
.PositionType handle_position
{ get; set; }
2134 public weak Gtk
.PositionType snap_edge
{ get; set; }
2136 public weak bool snap_edge_set
{ get; set; }
2137 public signal void child_attached (Gtk
.Widget child
);
2138 public signal void child_detached (Gtk
.Widget child
);
2140 [CCode (cheader_filename
= "gtk/gtk.h")]
2141 public class HBox
: Gtk
.Box
{
2142 public static GLib
.Type
get_type ();
2143 public HBox (bool homogeneous
, int spacing
);
2145 [CCode (cheader_filename
= "gtk/gtk.h")]
2146 public class HButtonBox
: Gtk
.ButtonBox
{
2147 public static GLib
.Type
get_type ();
2148 public HButtonBox ();
2150 [CCode (cheader_filename
= "gtk/gtk.h")]
2151 public class HPaned
: Gtk
.Paned
{
2152 public static GLib
.Type
get_type ();
2155 [CCode (cheader_filename
= "gtk/gtk.h")]
2156 public class HRuler
: Gtk
.Ruler
{
2157 public static GLib
.Type
get_type ();
2160 [CCode (cheader_filename
= "gtk/gtk.h")]
2161 public class HScale
: Gtk
.Scale
{
2162 public static GLib
.Type
get_type ();
2163 public HScale (Gtk
.Adjustment adjustment
);
2164 public HScale
.with_range (double min
, double max
, double step
);
2166 [CCode (cheader_filename
= "gtk/gtk.h")]
2167 public class HScrollbar
: Gtk
.Scrollbar
{
2168 public static GLib
.Type
get_type ();
2169 public HScrollbar (Gtk
.Adjustment adjustment
);
2171 [CCode (cheader_filename
= "gtk/gtk.h")]
2172 public class HSeparator
: Gtk
.Separator
{
2173 public static GLib
.Type
get_type ();
2174 public HSeparator ();
2176 [CCode (cheader_filename
= "gtk/gtk.h")]
2177 public class HSV
: Gtk
.Widget
{
2178 public void get_color (double h
, double s
, double v
);
2179 public void get_metrics (int size
, int ring_width
);
2180 public static GLib
.Type
get_type ();
2181 public bool is_adjusting ();
2183 public void set_color (double h
, double s
, double v
);
2184 public void set_metrics (int size
, int ring_width
);
2185 public static void to_rgb (double h
, double s
, double v
, double r
, double g
, double b
);
2186 public signal void changed ();
2187 public signal void move (Gtk
.DirectionType type
);
2189 [CCode (cheader_filename
= "gtk/gtk.h")]
2190 public class IconFactory
: GLib
.Object
{
2191 public void add (string stock_id
, Gtk
.IconSet icon_set
);
2192 public void add_default ();
2193 public static GLib
.Type
get_type ();
2194 public weak Gtk
.IconSet
lookup (string stock_id
);
2195 public static weak Gtk
.IconSet
lookup_default (string stock_id
);
2196 public IconFactory ();
2197 public void remove_default ();
2199 [CCode (cheader_filename
= "gtk/gtk.h")]
2200 public class IconTheme
: GLib
.Object
{
2201 public static void add_builtin_icon (string icon_name
, int size
, Gdk
.Pixbuf pixbuf
);
2202 public void append_search_path (string path
);
2204 public weak Gtk
.IconInfo
choose_icon (string[] icon_names
, int size
, Gtk
.IconLookupFlags @flags
);
2205 public static GLib
.Quark
error_quark ();
2206 public static weak Gtk
.IconTheme
get_default ();
2207 public weak string get_example_icon_name ();
2208 public static weak Gtk
.IconTheme
get_for_screen (Gdk
.Screen screen
);
2210 public weak int[] get_icon_sizes (string icon_name
);
2211 public void get_search_path (string path
, int n_elements
);
2212 public static GLib
.Type
get_type ();
2213 public bool has_icon (string icon_name
);
2214 public weak GLib
.List
list_contexts ();
2215 public weak GLib
.List
list_icons (string context
);
2216 public weak Gdk
.Pixbuf
load_icon (string icon_name
, int size
, Gtk
.IconLookupFlags @flags
, GLib
.Error error
);
2217 public weak Gtk
.IconInfo
lookup_icon (string icon_name
, int size
, Gtk
.IconLookupFlags @flags
);
2218 public IconTheme ();
2219 public void prepend_search_path (string path
);
2220 public bool rescan_if_needed ();
2221 public void set_custom_theme (string theme_name
);
2222 public void set_screen (Gdk
.Screen screen
);
2224 public void set_search_path (string[] path
, int n_elements
);
2225 public signal void changed ();
2227 [CCode (cheader_filename
= "gtk/gtk.h")]
2228 public class IconView
: Gtk
.Container
, Gtk
.CellLayout
, Gtk
.Buildable
{
2229 public weak Gdk
.Pixmap
create_drag_icon (Gtk
.TreePath path
);
2231 public void enable_model_drag_dest (Gtk
.TargetEntry
[] targets
, int n_targets
, Gdk
.DragAction actions
);
2233 public void enable_model_drag_source (Gdk
.ModifierType start_button_mask
, Gtk
.TargetEntry
[] targets
, int n_targets
, Gdk
.DragAction actions
);
2234 public int get_column_spacing ();
2235 public int get_columns ();
2236 public bool get_cursor (Gtk
.TreePath path
, Gtk
.CellRenderer cell
);
2237 public bool get_dest_item_at_pos (int drag_x
, int drag_y
, Gtk
.TreePath path
, Gtk
.IconViewDropPosition pos
);
2238 public void get_drag_dest_item (Gtk
.TreePath path
, Gtk
.IconViewDropPosition pos
);
2239 public bool get_item_at_pos (int x
, int y
, Gtk
.TreePath path
, Gtk
.CellRenderer cell
);
2240 public int get_item_width ();
2241 public int get_margin ();
2242 public int get_markup_column ();
2243 public weak Gtk
.TreeModel
get_model ();
2244 public Gtk
.Orientation
get_orientation ();
2245 public weak Gtk
.TreePath
get_path_at_pos (int x
, int y
);
2246 public int get_pixbuf_column ();
2247 public bool get_reorderable ();
2248 public int get_row_spacing ();
2249 public weak GLib
.List
get_selected_items ();
2250 public Gtk
.SelectionMode
get_selection_mode ();
2251 public int get_spacing ();
2252 public int get_text_column ();
2253 public static GLib
.Type
get_type ();
2254 public bool get_visible_range (Gtk
.TreePath start_path
, Gtk
.TreePath end_path
);
2256 public IconView
.with_model (Gtk
.TreeModel model
);
2257 public bool path_is_selected (Gtk
.TreePath path
);
2258 public void scroll_to_path (Gtk
.TreePath path
, bool use_align
, float row_align
, float col_align
);
2259 public void select_path (Gtk
.TreePath path
);
2260 public void selected_foreach (Gtk
.IconViewForeachFunc func
, pointer data
);
2261 public void set_column_spacing (int column_spacing
);
2262 public void set_columns (int columns
);
2263 public void set_cursor (Gtk
.TreePath path
, Gtk
.CellRenderer cell
, bool start_editing
);
2264 public void set_drag_dest_item (Gtk
.TreePath path
, Gtk
.IconViewDropPosition pos
);
2265 public void set_item_width (int item_width
);
2266 public void set_margin (int margin
);
2267 public void set_markup_column (int column
);
2268 public void set_model (Gtk
.TreeModel model
);
2269 public void set_orientation (Gtk
.Orientation orientation
);
2270 public void set_pixbuf_column (int column
);
2271 public void set_reorderable (bool reorderable
);
2272 public void set_row_spacing (int row_spacing
);
2273 public void set_selection_mode (Gtk
.SelectionMode mode
);
2274 public void set_spacing (int spacing
);
2275 public void set_text_column (int column
);
2276 public void unselect_path (Gtk
.TreePath path
);
2277 public void unset_model_drag_dest ();
2278 public void unset_model_drag_source ();
2279 public weak Gtk
.SelectionMode selection_mode
{ get; set; }
2280 public weak int pixbuf_column
{ get; set; }
2281 public weak int text_column
{ get; set; }
2282 public weak int markup_column
{ get; set; }
2283 public weak Gtk
.TreeModel model
{ get; set; }
2284 public weak int columns
{ get; set; }
2285 public weak int item_width
{ get; set; }
2286 public weak int spacing
{ get; set; }
2287 public weak int row_spacing
{ get; set; }
2288 public weak int column_spacing
{ get; set; }
2289 public weak int margin
{ get; set; }
2290 public weak Gtk
.Orientation orientation
{ get; set; }
2291 public weak bool reorderable
{ get; set; }
2292 public signal void set_scroll_adjustments (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
2294 public signal void item_activated (Gtk
.TreePath path
);
2295 public signal void selection_changed ();
2296 public signal void select_all ();
2297 public signal void unselect_all ();
2298 public signal void select_cursor_item ();
2299 public signal void toggle_cursor_item ();
2300 public signal bool activate_cursor_item ();
2301 public signal bool move_cursor (Gtk
.MovementStep step
, int count
);
2303 [CCode (cheader_filename
= "gtk/gtk.h")]
2304 public class Image
: Gtk
.Misc
{
2305 public void clear ();
2306 public weak Gdk
.PixbufAnimation
get_animation ();
2307 public void get_icon_name (string icon_name
, Gtk
.IconSize size
);
2308 public void get_icon_set (Gtk
.IconSet icon_set
, Gtk
.IconSize size
);
2309 public void get_image (Gdk
.Image gdk_image
, Gdk
.Bitmap mask
);
2310 public weak Gdk
.Pixbuf
get_pixbuf ();
2311 public int get_pixel_size ();
2312 public void get_pixmap (Gdk
.Pixmap pixmap
, Gdk
.Bitmap mask
);
2313 public void get_stock (string stock_id
, Gtk
.IconSize size
);
2314 public Gtk
.ImageType
get_storage_type ();
2315 public static GLib
.Type
get_type ();
2317 public Image
.from_animation (Gdk
.PixbufAnimation animation
);
2318 public Image
.from_file (string filename
);
2319 public Image
.from_icon_name (string icon_name
, Gtk
.IconSize size
);
2320 public Image
.from_icon_set (Gtk
.IconSet icon_set
, Gtk
.IconSize size
);
2321 public Image
.from_image (Gdk
.Image image
, Gdk
.Bitmap mask
);
2322 public Image
.from_pixbuf (Gdk
.Pixbuf pixbuf
);
2323 public Image
.from_pixmap (Gdk
.Pixmap pixmap
, Gdk
.Bitmap mask
);
2324 public Image
.from_stock (string stock_id
, Gtk
.IconSize size
);
2325 public void set_from_animation (Gdk
.PixbufAnimation animation
);
2326 public void set_from_file (string filename
);
2327 public void set_from_icon_name (string icon_name
, Gtk
.IconSize size
);
2328 public void set_from_icon_set (Gtk
.IconSet icon_set
, Gtk
.IconSize size
);
2329 public void set_from_image (Gdk
.Image gdk_image
, Gdk
.Bitmap mask
);
2330 public void set_from_pixbuf (Gdk
.Pixbuf pixbuf
);
2331 public void set_from_pixmap (Gdk
.Pixmap pixmap
, Gdk
.Bitmap mask
);
2332 public void set_from_stock (string stock_id
, Gtk
.IconSize size
);
2333 public void set_pixel_size (int pixel_size
);
2335 public weak Gdk
.Pixbuf pixbuf
{ get; set; }
2337 public weak Gdk
.Pixmap pixmap
{ get; set; }
2339 public weak Gdk
.Image image
{ get; set; }
2341 public weak Gdk
.Pixmap mask
{ get; set; }
2343 public weak string file
{ get; set; }
2345 public weak string stock
{ get; set; }
2347 public weak Gtk
.IconSet icon_set
{ get; set; }
2349 public weak int icon_size
{ get; set; }
2350 public weak int pixel_size
{ get; set; }
2352 public weak Gdk
.PixbufAnimation pixbuf_animation
{ get; set; }
2354 public weak string icon_name
{ get; set; }
2355 public weak Gtk
.ImageType storage_type
{ get; }
2357 [CCode (cheader_filename
= "gtk/gtk.h")]
2358 public class ImageMenuItem
: Gtk
.MenuItem
{
2359 public weak Gtk
.Widget
get_image ();
2360 public static GLib
.Type
get_type ();
2361 public ImageMenuItem ();
2362 public ImageMenuItem
.from_stock (string stock_id
, Gtk
.AccelGroup accel_group
);
2363 public ImageMenuItem
.with_label (string label
);
2364 public ImageMenuItem
.with_mnemonic (string label
);
2365 public void set_image (Gtk
.Widget image
);
2366 public weak Gtk
.Widget image
{ get; set; }
2368 [CCode (cheader_filename
= "gtk/gtk.h")]
2369 public class IMContext
: GLib
.Object
{
2370 public virtual bool filter_keypress (Gdk
.EventKey event
);
2371 public virtual void focus_in ();
2372 public virtual void focus_out ();
2373 public virtual void get_preedit_string (string str
, Pango
.AttrList attrs
, int cursor_pos
);
2374 public virtual bool get_surrounding (string text
, int cursor_index
);
2375 public static GLib
.Type
get_type ();
2376 public virtual void reset ();
2377 public virtual void set_client_window (Gdk
.Window window
);
2378 public virtual void set_cursor_location (Gdk
.Rectangle area
);
2379 public virtual void set_surrounding (string text
, int len
, int cursor_index
);
2380 public virtual void set_use_preedit (bool use_preedit
);
2381 public signal void preedit_start ();
2382 public signal void preedit_end ();
2383 public signal void preedit_changed ();
2384 public signal void commit (string str
);
2385 public signal bool retrieve_surrounding ();
2387 public signal bool delete_surrounding (int offset
, int n_chars
);
2389 [CCode (cheader_filename
= "gtk/gtk.h")]
2390 public class IMContextSimple
: Gtk
.IMContext
{
2391 public void add_table (ushort data
, int max_seq_len
, int n_seqs
);
2392 public static GLib
.Type
get_type ();
2393 public IMContextSimple ();
2395 [CCode (cheader_filename
= "gtk/gtk.h")]
2396 public class IMMulticontext
: Gtk
.IMContext
{
2397 public void append_menuitems (Gtk
.MenuShell menushell
);
2398 public static GLib
.Type
get_type ();
2399 public IMMulticontext ();
2401 [CCode (cheader_filename
= "gtk/gtk.h")]
2402 public class InputDialog
: Gtk
.Dialog
{
2403 public static GLib
.Type
get_type ();
2404 public InputDialog ();
2405 public signal void enable_device (Gdk
.Device device
);
2406 public signal void disable_device (Gdk
.Device device
);
2408 [CCode (cheader_filename
= "gtk/gtk.h")]
2409 public class Invisible
: Gtk
.Widget
{
2410 public weak Gdk
.Screen
get_screen ();
2411 public static GLib
.Type
get_type ();
2412 public Invisible ();
2413 public Invisible
.for_screen (Gdk
.Screen screen
);
2414 public void set_screen (Gdk
.Screen screen
);
2415 public weak Gdk
.Screen screen
{ get; set; }
2417 [CCode (cheader_filename
= "gtk/gtk.h")]
2418 public class Item
: Gtk
.Bin
{
2419 public static GLib
.Type
get_type ();
2421 public signal void select ();
2423 public signal void deselect ();
2425 public signal void toggle ();
2427 [CCode (cheader_filename
= "gtk/gtk.h")]
2428 public class ItemFactory
: Gtk
.Object
{
2430 [CCode (cheader_filename
= "gtk/gtk.h")]
2431 public class Label
: Gtk
.Misc
{
2432 public double get_angle ();
2433 public weak Pango
.AttrList
get_attributes ();
2434 public Pango
.EllipsizeMode
get_ellipsize ();
2435 public Gtk
.Justification
get_justify ();
2436 public weak string get_label ();
2437 public weak Pango
.Layout
get_layout ();
2438 public void get_layout_offsets (int x
, int y
);
2439 public bool get_line_wrap ();
2440 public Pango
.WrapMode
get_line_wrap_mode ();
2441 public int get_max_width_chars ();
2442 public uint get_mnemonic_keyval ();
2443 public weak Gtk
.Widget
get_mnemonic_widget ();
2444 public bool get_selectable ();
2445 public bool get_selection_bounds (int start
, int end
);
2446 public bool get_single_line_mode ();
2447 public weak string get_text ();
2448 public static GLib
.Type
get_type ();
2449 public bool get_use_markup ();
2450 public bool get_use_underline ();
2451 public int get_width_chars ();
2452 public Label (string str
);
2453 public Label
.with_mnemonic (string str
);
2454 public void select_region (int start_offset
, int end_offset
);
2455 public void set_angle (double angle
);
2456 public void set_attributes (Pango
.AttrList attrs
);
2457 public void set_ellipsize (Pango
.EllipsizeMode mode
);
2458 public void set_justify (Gtk
.Justification jtype
);
2459 public void set_label (string str
);
2460 public void set_line_wrap (bool wrap
);
2461 public void set_line_wrap_mode (Pango
.WrapMode wrap_mode
);
2462 public void set_markup (string str
);
2463 public void set_markup_with_mnemonic (string str
);
2464 public void set_max_width_chars (int n_chars
);
2465 public void set_mnemonic_widget (Gtk
.Widget widget
);
2466 public void set_pattern (string pattern
);
2467 public void set_selectable (bool setting
);
2468 public void set_single_line_mode (bool single_line_mode
);
2469 public void set_text (string str
);
2470 public void set_text_with_mnemonic (string str
);
2471 public void set_use_markup (bool setting
);
2472 public void set_use_underline (bool setting
);
2473 public void set_width_chars (int n_chars
);
2474 public weak string label
{ get; set; }
2475 public weak Pango
.AttrList attributes
{ get; set; }
2476 public weak bool use_markup
{ get; set; }
2477 public weak bool use_underline
{ get; set; }
2478 public weak Gtk
.Justification justify
{ get; set; }
2479 public weak string pattern
{ set; }
2481 public weak bool wrap
{ get; set; }
2483 public weak Pango
.WrapMode wrap_mode
{ get; set; }
2484 public weak bool selectable
{ get; set; }
2485 public weak uint mnemonic_keyval
{ get; }
2486 public weak Gtk
.Widget mnemonic_widget
{ get; set; }
2488 public weak int cursor_position
{ get; }
2490 public weak int selection_bound
{ get; }
2491 public weak Pango
.EllipsizeMode ellipsize
{ get; set; }
2492 public weak int width_chars
{ get; set; }
2493 public weak bool single_line_mode
{ get; set; }
2494 public weak double angle
{ get; set; }
2495 public weak int max_width_chars
{ get; set; }
2496 public signal void move_cursor (Gtk
.MovementStep step
, int count
, bool extend_selection
);
2497 public signal void copy_clipboard ();
2498 public signal void populate_popup (Gtk
.Menu menu
);
2500 [CCode (cheader_filename
= "gtk/gtk.h")]
2501 public class Layout
: Gtk
.Container
{
2502 public weak Gdk
.Window bin_window
;
2503 public weak Gtk
.Adjustment
get_hadjustment ();
2504 public void get_size (uint width
, uint height
);
2505 public static GLib
.Type
get_type ();
2506 public weak Gtk
.Adjustment
get_vadjustment ();
2507 public void move (Gtk
.Widget child_widget
, int x
, int y
);
2508 public Layout (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
2509 public void put (Gtk
.Widget child_widget
, int x
, int y
);
2510 public void set_hadjustment (Gtk
.Adjustment adjustment
);
2511 public void set_size (uint width
, uint height
);
2512 public void set_vadjustment (Gtk
.Adjustment adjustment
);
2513 public weak Gtk
.Adjustment hadjustment
{ get; set; }
2514 public weak Gtk
.Adjustment vadjustment
{ get; set; }
2516 public weak uint width
{ get; set; }
2518 public weak uint height
{ get; set; }
2519 public signal void set_scroll_adjustments (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
2521 [CCode (cheader_filename
= "gtk/gtk.h")]
2522 public class LinkButton
: Gtk
.Button
{
2523 public static GLib
.Type
get_type ();
2524 public weak string get_uri ();
2525 public LinkButton (string uri
);
2526 public LinkButton
.with_label (string uri
, string label
);
2527 public void set_uri (string uri
);
2528 public static Gtk
.LinkButtonUriFunc
set_uri_hook (Gtk
.LinkButtonUriFunc func
, pointer data
, GLib
.DestroyNotify destroy
);
2529 public weak string uri
{ get; set; }
2531 [CCode (cheader_filename
= "gtk/gtk.h")]
2532 public class ListStore
: GLib
.Object
, Gtk
.TreeModel
, Gtk
.TreeDragSource
, Gtk
.TreeDragDest
, Gtk
.TreeSortable
, Gtk
.Buildable
{
2533 public void append (ref Gtk
.TreeIter iter
);
2534 public void clear ();
2535 public static GLib
.Type
get_type ();
2536 public void insert (ref Gtk
.TreeIter iter
, int position
);
2537 public void insert_after (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter sibling
);
2538 public void insert_before (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter sibling
);
2539 public void insert_with_values (ref Gtk
.TreeIter iter
, int position
, ...);
2541 public void insert_with_valuesv (ref Gtk
.TreeIter iter
, int position
, int columns
, GLib
.Value
[] values
, int n_values
);
2542 public bool iter_is_valid (ref Gtk
.TreeIter iter
);
2543 public void move_after (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter position
);
2544 public void move_before (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter position
);
2545 public ListStore (int n_columns
, ...);
2546 [CCode (cname
= "gtk_list_store_newv")]
2547 public ListStore
.newv (int n_columns
, GLib
.Type types
);
2548 public void prepend (ref Gtk
.TreeIter iter
);
2549 public bool remove (ref Gtk
.TreeIter iter
);
2550 public void reorder (int new_order
);
2551 public void set (ref Gtk
.TreeIter iter
, ...);
2552 public void set_column_types (int n_columns
, GLib
.Type types
);
2553 public void set_valist (ref Gtk
.TreeIter iter
, pointer var_args
);
2554 public void set_value (ref Gtk
.TreeIter iter
, int column
, GLib
.Value value
);
2556 public void set_valuesv (ref Gtk
.TreeIter iter
, int columns
, GLib
.Value
[] values
, int n_values
);
2557 public void swap (ref Gtk
.TreeIter a
, ref Gtk
.TreeIter b
);
2559 [CCode (cheader_filename
= "gtk/gtk.h")]
2560 public class Menu
: Gtk
.MenuShell
{
2561 public void attach (Gtk
.Widget child
, uint left_attach
, uint right_attach
, uint top_attach
, uint bottom_attach
);
2562 public void attach_to_widget (Gtk
.Widget attach_widget
, Gtk
.MenuDetachFunc detacher
);
2563 public void detach ();
2564 public weak Gtk
.AccelGroup
get_accel_group ();
2565 public weak Gtk
.Widget
get_active ();
2566 public weak Gtk
.Widget
get_attach_widget ();
2567 public static weak GLib
.List
get_for_attach_widget (Gtk
.Widget widget
);
2568 public bool get_tearoff_state ();
2569 public weak string get_title ();
2570 public static GLib
.Type
get_type ();
2572 public void popdown ();
2573 public void popup (Gtk
.Widget parent_menu_shell
, Gtk
.Widget parent_menu_item
, Gtk
.MenuPositionFunc func
, pointer data
, uint button
, uint activate_time
);
2574 public void reorder_child (Gtk
.Widget child
, int position
);
2575 public void reposition ();
2576 public void set_accel_group (Gtk
.AccelGroup accel_group
);
2577 public void set_accel_path (string accel_path
);
2578 public void set_active (uint index_
);
2579 public void set_monitor (int monitor_num
);
2580 public void set_screen (Gdk
.Screen screen
);
2581 public void set_tearoff_state (bool torn_off
);
2582 public void set_title (string title
);
2584 public weak string tearoff_title
{ get; set; }
2585 public weak bool tearoff_state
{ get; set; }
2587 [CCode (cheader_filename
= "gtk/gtk.h")]
2588 public class MenuBar
: Gtk
.MenuShell
{
2589 public Gtk
.PackDirection
get_child_pack_direction ();
2590 public Gtk
.PackDirection
get_pack_direction ();
2591 public static GLib
.Type
get_type ();
2593 public void set_child_pack_direction (Gtk
.PackDirection child_pack_dir
);
2594 public void set_pack_direction (Gtk
.PackDirection pack_dir
);
2595 public weak Gtk
.PackDirection pack_direction
{ get; set; }
2596 public weak Gtk
.PackDirection child_pack_direction
{ get; set; }
2598 [CCode (cheader_filename
= "gtk/gtk.h")]
2599 public class MenuItem
: Gtk
.Item
{
2600 public void deselect ();
2601 public bool get_right_justified ();
2602 public weak Gtk
.Widget
get_submenu ();
2603 public static GLib
.Type
get_type ();
2605 public MenuItem
.with_label (string label
);
2606 public MenuItem
.with_mnemonic (string label
);
2607 public void select ();
2608 public void set_accel_path (string accel_path
);
2609 public void set_right_justified (bool right_justified
);
2610 public void set_submenu (Gtk
.Widget submenu
);
2611 public weak Gtk
.Menu submenu
{ get; set; }
2613 public signal void activate ();
2614 public signal void activate_item ();
2616 public signal void toggle_size_request (int requisition
);
2618 public signal void toggle_size_allocate (int allocation
);
2620 [CCode (cheader_filename
= "gtk/gtk.h")]
2621 public class MenuShell
: Gtk
.Container
{
2622 public void activate_item (Gtk
.Widget menu_item
, bool force_deactivate
);
2623 public void append (Gtk
.Widget child
);
2624 public void deselect ();
2625 public bool get_take_focus ();
2626 public static GLib
.Type
get_type ();
2627 public virtual void insert (Gtk
.Widget child
, int position
);
2628 public void prepend (Gtk
.Widget child
);
2629 public void select_first (bool search_sensitive
);
2630 public virtual void select_item (Gtk
.Widget menu_item
);
2631 public void set_take_focus (bool take_focus
);
2632 public weak bool take_focus
{ get; set; }
2634 public signal void deactivate ();
2635 public signal void selection_done ();
2636 public signal void move_current (Gtk
.MenuDirectionType direction
);
2637 public signal void activate_current (bool force_hide
);
2639 public signal void cancel ();
2640 public signal bool move_selected (int distance
);
2642 [CCode (cheader_filename
= "gtk/gtk.h")]
2643 public class MenuToolButton
: Gtk
.ToolButton
{
2644 public weak Gtk
.Widget
get_menu ();
2645 public static GLib
.Type
get_type ();
2646 public MenuToolButton (Gtk
.Widget icon_widget
, string label
);
2647 public MenuToolButton
.from_stock (string stock_id
);
2648 public void set_arrow_tooltip (Gtk
.Tooltips tooltips
, string tip_text
, string tip_private
);
2649 public void set_menu (Gtk
.Widget menu
);
2650 public weak Gtk
.Menu menu
{ get; set; }
2651 public signal void show_menu ();
2653 [CCode (cheader_filename
= "gtk/gtk.h")]
2654 public class MessageDialog
: Gtk
.Dialog
{
2655 public void format_secondary_markup (string message_format
);
2656 public void format_secondary_text (string message_format
);
2657 public static GLib
.Type
get_type ();
2658 public MessageDialog (Gtk
.Window parent
, Gtk
.DialogFlags @flags
, Gtk
.MessageType type
, Gtk
.ButtonsType buttons
, string message_format
);
2659 public MessageDialog
.with_markup (Gtk
.Window parent
, Gtk
.DialogFlags @flags
, Gtk
.MessageType type
, Gtk
.ButtonsType buttons
, string message_format
);
2660 public void set_image (Gtk
.Widget image
);
2661 public void set_markup (string str
);
2663 public weak Gtk
.MessageType message_type
{ get; set construct; }
2665 public weak Gtk
.ButtonsType buttons
{ construct; }
2667 public weak string text
{ get; set; }
2669 public weak bool use_markup
{ get; set; }
2671 public weak string secondary_text
{ get; set; }
2673 public weak bool secondary_use_markup
{ get; set; }
2675 public weak Gtk
.Widget image
{ get; set; }
2677 [CCode (cheader_filename
= "gtk/gtk.h")]
2678 public class Misc
: Gtk
.Widget
{
2679 public void get_alignment (float xalign
, float yalign
);
2680 public void get_padding (int xpad
, int ypad
);
2681 public static GLib
.Type
get_type ();
2682 public void set_alignment (float xalign
, float yalign
);
2683 public void set_padding (int xpad
, int ypad
);
2685 public weak float xalign
{ get; set; }
2687 public weak float yalign
{ get; set; }
2689 public weak int xpad
{ get; set; }
2691 public weak int ypad
{ get; set; }
2693 [CCode (cheader_filename
= "gtk/gtk.h")]
2694 public class Notebook
: Gtk
.Container
, Gtk
.Buildable
{
2695 public int append_page (Gtk
.Widget child
, Gtk
.Widget tab_label
);
2696 public int append_page_menu (Gtk
.Widget child
, Gtk
.Widget tab_label
, Gtk
.Widget menu_label
);
2697 public int get_current_page ();
2698 public pointer
get_group ();
2699 public weak Gtk
.Widget
get_menu_label (Gtk
.Widget child
);
2700 public weak string get_menu_label_text (Gtk
.Widget child
);
2701 public int get_n_pages ();
2702 public weak Gtk
.Widget
get_nth_page (int page_num
);
2703 public bool get_scrollable ();
2704 public bool get_show_border ();
2705 public bool get_show_tabs ();
2706 public bool get_tab_detachable (Gtk
.Widget child
);
2707 public weak Gtk
.Widget
get_tab_label (Gtk
.Widget child
);
2708 public weak string get_tab_label_text (Gtk
.Widget child
);
2709 public Gtk
.PositionType
get_tab_pos ();
2710 public bool get_tab_reorderable (Gtk
.Widget child
);
2711 public static GLib
.Type
get_type ();
2712 public virtual int insert_page (Gtk
.Widget child
, Gtk
.Widget tab_label
, int position
);
2713 public int insert_page_menu (Gtk
.Widget child
, Gtk
.Widget tab_label
, Gtk
.Widget menu_label
, int position
);
2715 public void next_page ();
2716 public void popup_disable ();
2717 public void popup_enable ();
2718 public int prepend_page (Gtk
.Widget child
, Gtk
.Widget tab_label
);
2719 public int prepend_page_menu (Gtk
.Widget child
, Gtk
.Widget tab_label
, Gtk
.Widget menu_label
);
2720 public void prev_page ();
2721 public void query_tab_label_packing (Gtk
.Widget child
, bool expand
, bool fill
, Gtk
.PackType pack_type
);
2722 public void remove_page (int page_num
);
2723 public void reorder_child (Gtk
.Widget child
, int position
);
2724 public void set_current_page (int page_num
);
2725 public void set_group (pointer group
);
2726 public void set_menu_label (Gtk
.Widget child
, Gtk
.Widget menu_label
);
2727 public void set_menu_label_text (Gtk
.Widget child
, string menu_text
);
2728 public void set_scrollable (bool scrollable
);
2729 public void set_show_border (bool show_border
);
2730 public void set_show_tabs (bool show_tabs
);
2731 public void set_tab_detachable (Gtk
.Widget child
, bool detachable
);
2732 public void set_tab_label (Gtk
.Widget child
, Gtk
.Widget tab_label
);
2733 public void set_tab_label_packing (Gtk
.Widget child
, bool expand
, bool fill
, Gtk
.PackType pack_type
);
2734 public void set_tab_label_text (Gtk
.Widget child
, string tab_text
);
2735 public void set_tab_pos (Gtk
.PositionType pos
);
2736 public void set_tab_reorderable (Gtk
.Widget child
, bool reorderable
);
2737 public static void set_window_creation_hook (Gtk
.NotebookWindowCreationFunc func
, pointer data
, GLib
.DestroyNotify destroy
);
2739 public weak int page
{ get; set; }
2740 public weak Gtk
.PositionType tab_pos
{ get; set; }
2742 public weak uint tab_border
{ set; }
2744 public weak uint tab_hborder
{ get; set; }
2746 public weak uint tab_vborder
{ get; set; }
2747 public weak bool show_tabs
{ get; set; }
2748 public weak bool show_border
{ get; set; }
2749 public weak bool scrollable
{ get; set; }
2751 public weak bool enable_popup
{ get; set; }
2753 public weak bool homogeneous
{ get; set; }
2755 public weak int group_id
{ get; set; }
2756 public weak pointer group
{ get; set; }
2757 public signal void switch_page (Gtk
.NotebookPage page
, uint page_num
);
2758 public signal bool focus_tab (Gtk
.NotebookTab type
);
2759 public signal bool select_page (bool move_focus
);
2760 public signal bool change_current_page (int offset
);
2761 public signal void move_focus_out (Gtk
.DirectionType direction
);
2762 public signal bool reorder_tab (Gtk
.DirectionType direction
, bool move_to_last
);
2763 public signal void page_reordered (Gtk
.Widget p0
, uint p1
);
2764 public signal void page_removed (Gtk
.Widget p0
, uint p1
);
2765 public signal void page_added (Gtk
.Widget p0
, uint p1
);
2766 public signal Gtk
.Notebook
create_window (Gtk
.Widget page
, int x
, int y
);
2768 [CCode (cheader_filename
= "gtk/gtk.h")]
2769 public class Object
: GLib
.InitiallyUnowned
{
2770 public static weak Gtk
.Type
get_type ();
2772 public weak pointer user_data
{ get; set; }
2773 public signal void destroy ();
2775 [CCode (cheader_filename
= "gtk/gtk.h")]
2776 public class OptionMenu
: Gtk
.Button
{
2778 public weak Gtk
.Menu menu
{ get; set; }
2779 public signal void changed ();
2781 [CCode (cheader_filename
= "gtk/gtk.h")]
2782 public class PageSetup
: GLib
.Object
{
2783 public weak Gtk
.PageSetup
copy ();
2784 public double get_bottom_margin (Gtk
.Unit unit
);
2785 public double get_left_margin (Gtk
.Unit unit
);
2786 public Gtk
.PageOrientation
get_orientation ();
2787 public double get_page_height (Gtk
.Unit unit
);
2788 public double get_page_width (Gtk
.Unit unit
);
2789 public double get_paper_height (Gtk
.Unit unit
);
2790 public weak Gtk
.PaperSize
get_paper_size ();
2791 public double get_paper_width (Gtk
.Unit unit
);
2792 public double get_right_margin (Gtk
.Unit unit
);
2793 public double get_top_margin (Gtk
.Unit unit
);
2794 public static GLib
.Type
get_type ();
2795 public PageSetup ();
2796 public PageSetup
.from_file (string file_name
, GLib
.Error error
);
2797 public PageSetup
.from_key_file (GLib
.KeyFile key_file
, string group_name
, GLib
.Error error
);
2798 public void set_bottom_margin (double margin
, Gtk
.Unit unit
);
2799 public void set_left_margin (double margin
, Gtk
.Unit unit
);
2800 public void set_orientation (Gtk
.PageOrientation orientation
);
2801 public void set_paper_size (Gtk
.PaperSize size
);
2802 public void set_paper_size_and_default_margins (Gtk
.PaperSize size
);
2803 public void set_right_margin (double margin
, Gtk
.Unit unit
);
2804 public void set_top_margin (double margin
, Gtk
.Unit unit
);
2805 public bool to_file (string file_name
, GLib
.Error error
);
2806 public void to_key_file (GLib
.KeyFile key_file
, string group_name
);
2808 [CCode (cheader_filename
= "gtk/gtk.h")]
2809 public class PageSetupUnixDialog
: Gtk
.Dialog
{
2810 public weak Gtk
.PageSetup
get_page_setup ();
2811 public weak Gtk
.PrintSettings
get_print_settings ();
2812 public static GLib
.Type
get_type ();
2813 public PageSetupUnixDialog (string title
, Gtk
.Window parent
);
2814 public void set_page_setup (Gtk
.PageSetup page_setup
);
2815 public void set_print_settings (Gtk
.PrintSettings print_settings
);
2817 [CCode (cheader_filename
= "gtk/gtk.h")]
2818 public class Paned
: Gtk
.Container
{
2819 public void add1 (Gtk
.Widget child
);
2820 public void add2 (Gtk
.Widget child
);
2821 public weak Gtk
.Widget
get_child1 ();
2822 public weak Gtk
.Widget
get_child2 ();
2823 public int get_position ();
2824 public static GLib
.Type
get_type ();
2825 public void pack1 (Gtk
.Widget child
, bool resize
, bool shrink
);
2826 public void pack2 (Gtk
.Widget child
, bool resize
, bool shrink
);
2827 public void set_position (int position
);
2828 public weak int position
{ get; set; }
2830 public weak bool position_set
{ get; set; }
2832 public weak int min_position
{ get; }
2834 public weak int max_position
{ get; }
2835 public signal bool cycle_child_focus (bool reverse
);
2836 public signal bool toggle_handle_focus ();
2837 public signal bool move_handle (Gtk
.ScrollType scroll
);
2838 public signal bool cycle_handle_focus (bool reverse
);
2839 public signal bool accept_position ();
2840 public signal bool cancel_position ();
2842 [CCode (cheader_filename
= "gtk/gtk.h")]
2843 public class Plug
: Gtk
.Window
{
2844 public void @
construct (pointer socket_id
);
2845 public void construct_for_display (Gdk
.Display display
, pointer socket_id
);
2846 public pointer
get_id ();
2847 public static GLib
.Type
get_type ();
2848 public Plug (pointer socket_id
);
2849 public Plug
.for_display (Gdk
.Display display
, pointer socket_id
);
2851 public weak bool embedded
{ get; }
2853 [CCode (cheader_filename
= "gtk/gtk.h")]
2854 public class Printer
: GLib
.Object
{
2855 public int compare (Gtk
.Printer b
);
2856 public weak Gtk
.PrintBackend
get_backend ();
2857 public Gtk
.PrintCapabilities
get_capabilities ();
2858 public weak string get_description ();
2859 public weak string get_icon_name ();
2860 public int get_job_count ();
2861 public weak string get_location ();
2862 public weak string get_name ();
2863 public weak string get_state_message ();
2864 public static GLib
.Type
get_type ();
2865 public bool has_details ();
2866 public bool is_active ();
2867 public bool is_default ();
2868 public bool is_new ();
2869 public weak GLib
.List
list_papers ();
2870 public Printer (string name
, Gtk
.PrintBackend backend
, bool virtual_
);
2871 public void request_details ();
2872 public bool set_description (string description
);
2873 public void set_has_details (bool val
);
2874 public void set_icon_name (string icon
);
2875 public void set_is_active (bool active
);
2876 public void set_is_default (bool val
);
2877 public void set_is_new (bool val
);
2878 public bool set_job_count (int count
);
2879 public bool set_location (string location
);
2880 public bool set_state_message (string message
);
2882 public weak string name
{ get; construct; }
2884 public weak Gtk
.PrintBackend backend
{ get; construct; }
2886 public weak bool is_virtual
{ get; construct; }
2888 public weak bool accepts_pdf
{ get; construct; }
2890 public weak bool accepts_ps
{ get; construct; }
2891 public weak string state_message
{ get; }
2892 public weak string location
{ get; }
2893 public weak string icon_name
{ get; }
2894 public weak int job_count
{ get; }
2895 public signal void details_acquired (bool success
);
2897 [CCode (cheader_filename
= "gtk/gtk.h")]
2898 public class PrinterOption
: GLib
.Object
{
2899 public void allocate_choices (int num
);
2901 public void choices_from_array (int num_choices
, string[] choices
, string[] choices_display
);
2902 public void clear_has_conflict ();
2903 public static GLib
.Type
get_type ();
2904 public bool has_choice (string choice
);
2905 public PrinterOption (string name
, string display_text
, Gtk
.PrinterOptionType type
);
2906 public void set (string value
);
2907 public signal void changed ();
2909 [CCode (cheader_filename
= "gtk/gtk.h")]
2910 public class PrinterOptionSet
: GLib
.Object
{
2911 public void add (Gtk
.PrinterOption option
);
2912 public static void boolean (Gtk
.PrinterOption option
, bool value
);
2913 public void clear_conflicts ();
2914 public void @
foreach (Gtk
.PrinterOptionSetFunc func
, pointer user_data
);
2915 public void foreach_in_group (string group
, Gtk
.PrinterOptionSetFunc func
, pointer user_data
);
2916 public weak GLib
.List
get_groups ();
2917 public static GLib
.Type
get_type ();
2918 public static void has_conflict (Gtk
.PrinterOption option
, bool has_conflict
);
2919 public weak Gtk
.PrinterOption
lookup (string name
);
2920 public PrinterOptionSet ();
2921 public void remove (Gtk
.PrinterOption option
);
2922 public signal void changed ();
2924 [CCode (cheader_filename
= "gtk/gtk.h")]
2925 public class PrinterOptionWidget
: Gtk
.HBox
{
2926 public weak Gtk
.Widget
get_external_label ();
2927 public static GLib
.Type
get_type ();
2928 public weak string get_value ();
2929 public bool has_external_label ();
2930 public PrinterOptionWidget (Gtk
.PrinterOption source
);
2931 public void set_source (Gtk
.PrinterOption source
);
2933 public weak Gtk
.PrinterOption source
{ get; set construct; }
2934 public signal void changed ();
2936 [CCode (cheader_filename
= "gtk/gtk.h")]
2937 public class PrintBackend
: GLib
.Object
{
2938 public void add_printer (Gtk
.Printer printer
);
2939 public void destroy ();
2940 public static GLib
.Quark
error_quark ();
2941 public weak Gtk
.Printer
find_printer (string printer_name
);
2942 public weak GLib
.List
get_printer_list ();
2943 public static GLib
.Type
get_type ();
2944 public static weak GLib
.List
load_modules ();
2945 public virtual void print_stream (Gtk
.PrintJob job
, GLib
.IOChannel data_io
, Gtk
.PrintJobCompleteFunc @
callback, pointer user_data
, GLib
.DestroyNotify dnotify
);
2946 public bool printer_list_is_done ();
2947 public void remove_printer (Gtk
.Printer printer
);
2948 public void set_list_done ();
2949 public signal void printer_list_changed ();
2950 public signal void printer_list_done ();
2951 public signal void printer_added (Gtk
.Printer printer
);
2952 public signal void printer_removed (Gtk
.Printer printer
);
2953 public signal void printer_status_changed (Gtk
.Printer printer
);
2955 [CCode (cheader_filename
= "gtk/gtk.h")]
2956 public class PrintContext
: GLib
.Object
{
2957 public weak Pango
.Context
create_pango_context ();
2958 public weak Pango
.Layout
create_pango_layout ();
2959 public weak Cairo
.Context
get_cairo_context ();
2960 public double get_dpi_x ();
2961 public double get_dpi_y ();
2962 public double get_height ();
2963 public weak Gtk
.PageSetup
get_page_setup ();
2964 public weak Pango
.FontMap
get_pango_fontmap ();
2965 public static GLib
.Type
get_type ();
2966 public double get_width ();
2967 public void set_cairo_context (Cairo
.Context cr
, double dpi_x
, double dpi_y
);
2969 [CCode (cheader_filename
= "gtk/gtk.h")]
2970 public class PrintJob
: GLib
.Object
{
2971 public weak Gtk
.Printer
get_printer ();
2972 public weak Gtk
.PrintSettings
get_settings ();
2973 public Gtk
.PrintStatus
get_status ();
2974 public weak Cairo
.Surface
get_surface (GLib
.Error error
);
2975 public weak string get_title ();
2976 public bool get_track_print_status ();
2977 public static GLib
.Type
get_type ();
2978 public PrintJob (string title
, Gtk
.Printer printer
, Gtk
.PrintSettings settings
, Gtk
.PageSetup page_setup
);
2979 public void send (Gtk
.PrintJobCompleteFunc @
callback, pointer user_data
, GLib
.DestroyNotify dnotify
);
2980 public bool set_source_file (string filename
, GLib
.Error error
);
2981 public void set_track_print_status (bool track_status
);
2983 public weak string title
{ get; construct; }
2985 public weak Gtk
.Printer printer
{ get; construct; }
2987 public weak Gtk
.PrintSettings settings
{ get; construct; }
2989 public weak Gtk
.PageSetup page_setup
{ get; construct; }
2990 public weak bool track_print_status
{ get; set; }
2991 public signal void status_changed ();
2993 [CCode (cheader_filename
= "gtk/gtk.h")]
2994 public class PrintOperation
: GLib
.Object
, Gtk
.PrintOperationPreview
{
2995 public void cancel ();
2996 public weak Gtk
.PageSetup
get_default_page_setup ();
2997 public void get_error (GLib
.Error error
);
2998 public weak Gtk
.PrintSettings
get_print_settings ();
2999 public Gtk
.PrintStatus
get_status ();
3000 public weak string get_status_string ();
3001 public static GLib
.Type
get_type ();
3002 public bool is_finished ();
3003 public PrintOperation ();
3004 public Gtk
.PrintOperationResult
run (Gtk
.PrintOperationAction action
, Gtk
.Window parent
, GLib
.Error error
);
3005 public void set_allow_async (bool allow_async
);
3006 public void set_current_page (int current_page
);
3007 public void set_custom_tab_label (string label
);
3008 public void set_default_page_setup (Gtk
.PageSetup default_page_setup
);
3009 public void set_export_filename (string filename
);
3010 public void set_job_name (string job_name
);
3011 public void set_n_pages (int n_pages
);
3012 public void set_print_settings (Gtk
.PrintSettings print_settings
);
3013 public void set_show_progress (bool show_progress
);
3014 public void set_track_print_status (bool track_status
);
3015 public void set_unit (Gtk
.Unit unit
);
3016 public void set_use_full_page (bool full_page
);
3017 public weak Gtk
.PageSetup default_page_setup
{ get; set; }
3018 public weak Gtk
.PrintSettings print_settings
{ get; set; }
3020 public weak string job_name
{ get; set; }
3022 public weak int n_pages
{ get; set; }
3024 public weak int current_page
{ get; set; }
3026 public weak bool use_full_page
{ get; set; }
3028 public weak bool track_print_status
{ get; set; }
3030 public weak Gtk
.Unit unit
{ get; set; }
3032 public weak bool show_progress
{ get; set; }
3034 public weak bool allow_async
{ get; set; }
3036 public weak string export_filename
{ get; set; }
3037 public weak Gtk
.PrintStatus status
{ get; }
3038 public weak string status_string
{ get; }
3040 public weak string custom_tab_label
{ get; set; }
3041 public signal void done (Gtk
.PrintOperationResult result
);
3042 public signal void begin_print (Gtk
.PrintContext context
);
3043 public signal bool paginate (Gtk
.PrintContext context
);
3044 public signal void request_page_setup (Gtk
.PrintContext context
, int page_nr
, Gtk
.PageSetup setup
);
3045 public signal void draw_page (Gtk
.PrintContext context
, int page_nr
);
3046 public signal void end_print (Gtk
.PrintContext context
);
3047 public signal void status_changed ();
3048 public signal Gtk
.Widget
create_custom_widget ();
3049 public signal void custom_widget_apply (Gtk
.Widget widget
);
3050 public signal bool preview (Gtk
.PrintOperationPreview preview
, Gtk
.PrintContext context
, Gtk
.Window parent
);
3052 [CCode (cheader_filename
= "gtk/gtk.h")]
3053 public class PrintSettings
: GLib
.Object
{
3054 public weak Gtk
.PrintSettings
copy ();
3055 public void @
foreach (Gtk
.PrintSettingsFunc func
, pointer user_data
);
3056 public weak string get (string key
);
3057 public bool get_bool (string key
);
3058 public bool get_collate ();
3059 public weak string get_default_source ();
3060 public weak string get_dither ();
3061 public double get_double (string key
);
3062 public double get_double_with_default (string key
, double def
);
3063 public Gtk
.PrintDuplex
get_duplex ();
3064 public weak string get_finishings ();
3065 public int get_int (string key
);
3066 public int get_int_with_default (string key
, int def
);
3067 public double get_length (string key
, Gtk
.Unit unit
);
3068 public weak string get_media_type ();
3069 public int get_n_copies ();
3070 public int get_number_up ();
3071 public Gtk
.PageOrientation
get_orientation ();
3072 public weak string get_output_bin ();
3073 public weak Gtk
.PageRange
get_page_ranges (int num_ranges
);
3074 public Gtk
.PageSet
get_page_set ();
3075 public double get_paper_height (Gtk
.Unit unit
);
3076 public weak Gtk
.PaperSize
get_paper_size ();
3077 public double get_paper_width (Gtk
.Unit unit
);
3078 public Gtk
.PrintPages
get_print_pages ();
3079 public weak string get_printer ();
3080 public Gtk
.PrintQuality
get_quality ();
3081 public int get_resolution ();
3082 public bool get_reverse ();
3083 public double get_scale ();
3084 public static GLib
.Type
get_type ();
3085 public bool get_use_color ();
3086 public bool has_key (string key
);
3087 public PrintSettings ();
3088 public PrintSettings
.from_file (string file_name
, GLib
.Error error
);
3089 public PrintSettings
.from_key_file (GLib
.KeyFile key_file
, string group_name
, GLib
.Error error
);
3090 public void set (string key
, string value
);
3091 public void set_bool (string key
, bool value
);
3092 public void set_collate (bool collate
);
3093 public void set_default_source (string default_source
);
3094 public void set_dither (string dither
);
3095 public void set_double (string key
, double value
);
3096 public void set_duplex (Gtk
.PrintDuplex duplex
);
3097 public void set_finishings (string finishings
);
3098 public void set_int (string key
, int value
);
3099 public void set_length (string key
, double value
, Gtk
.Unit unit
);
3100 public void set_media_type (string media_type
);
3101 public void set_n_copies (int num_copies
);
3102 public void set_number_up (int number_up
);
3103 public void set_orientation (Gtk
.PageOrientation orientation
);
3104 public void set_output_bin (string output_bin
);
3105 public void set_page_ranges (Gtk
.PageRange page_ranges
, int num_ranges
);
3106 public void set_page_set (Gtk
.PageSet page_set
);
3107 public void set_paper_height (double height
, Gtk
.Unit unit
);
3108 public void set_paper_size (Gtk
.PaperSize paper_size
);
3109 public void set_paper_width (double width
, Gtk
.Unit unit
);
3110 public void set_print_pages (Gtk
.PrintPages pages
);
3111 public void set_printer (string printer
);
3112 public void set_quality (Gtk
.PrintQuality quality
);
3113 public void set_resolution (int resolution
);
3114 public void set_reverse (bool reverse
);
3115 public void set_scale (double scale
);
3116 public void set_use_color (bool use_color
);
3117 public bool to_file (string file_name
, GLib
.Error error
);
3118 public void to_key_file (GLib
.KeyFile key_file
, string group_name
);
3119 public void unset (string key
);
3121 [CCode (cheader_filename
= "gtk/gtk.h")]
3122 public class PrintUnixDialog
: Gtk
.Dialog
{
3123 public void add_custom_tab (Gtk
.Widget child
, Gtk
.Widget tab_label
);
3124 public int get_current_page ();
3125 public weak Gtk
.PageSetup
get_page_setup ();
3126 public weak Gtk
.Printer
get_selected_printer ();
3127 public weak Gtk
.PrintSettings
get_settings ();
3128 public static GLib
.Type
get_type ();
3129 public PrintUnixDialog (string title
, Gtk
.Window parent
);
3130 public void set_current_page (int current_page
);
3131 public void set_manual_capabilities (Gtk
.PrintCapabilities capabilities
);
3132 public void set_page_setup (Gtk
.PageSetup page_setup
);
3133 public void set_settings (Gtk
.PrintSettings settings
);
3134 public weak Gtk
.PageSetup page_setup
{ get; set; }
3135 public weak int current_page
{ get; set; }
3137 public weak Gtk
.PrintSettings print_settings
{ get; set; }
3138 public weak Gtk
.Printer selected_printer
{ get; }
3140 [CCode (cheader_filename
= "gtk/gtk.h")]
3141 public class Progress
: Gtk
.Widget
{
3143 public weak bool activity_mode
{ get; set; }
3145 public weak bool show_text
{ get; set; }
3147 public weak float text_xalign
{ get; set; }
3149 public weak float text_yalign
{ get; set; }
3151 [CCode (cheader_filename
= "gtk/gtk.h")]
3152 public class ProgressBar
: Gtk
.Progress
{
3153 public Pango
.EllipsizeMode
get_ellipsize ();
3154 public double get_fraction ();
3155 public Gtk
.ProgressBarOrientation
get_orientation ();
3156 public double get_pulse_step ();
3157 public weak string get_text ();
3158 public static GLib
.Type
get_type ();
3159 public ProgressBar ();
3160 public void pulse ();
3161 public void set_ellipsize (Pango
.EllipsizeMode mode
);
3162 public void set_fraction (double fraction
);
3163 public void set_orientation (Gtk
.ProgressBarOrientation orientation
);
3164 public void set_pulse_step (double fraction
);
3165 public void set_text (string text
);
3167 public weak Gtk
.Adjustment adjustment
{ get; set; }
3168 public weak Gtk
.ProgressBarOrientation orientation
{ get; set; }
3170 public weak Gtk
.ProgressBarStyle bar_style
{ get; set; }
3172 public weak uint activity_step
{ get; set; }
3174 public weak uint activity_blocks
{ get; set; }
3176 public weak uint discrete_blocks
{ get; set; }
3177 public weak double fraction
{ get; set; }
3178 public weak double pulse_step
{ get; set; }
3179 public weak string text
{ get; set; }
3180 public weak Pango
.EllipsizeMode ellipsize
{ get; set; }
3182 [CCode (cheader_filename
= "gtk/gtk.h")]
3183 public class Query
: GLib
.Object
{
3185 [CCode (cheader_filename
= "gtk/gtk.h")]
3186 public class RadioAction
: Gtk
.ToggleAction
{
3187 public int get_current_value ();
3188 public weak GLib
.SList
get_group ();
3189 public static GLib
.Type
get_type ();
3190 public RadioAction (string name
, string label
, string tooltip
, string stock_id
, int value
);
3191 public void set_current_value (int current_value
);
3192 public void set_group (GLib
.SList group
);
3194 public weak int value
{ get; set; }
3195 public weak Gtk
.RadioAction group
{ set; }
3196 public weak int current_value
{ get; set; }
3197 public signal void changed (Gtk
.RadioAction current
);
3199 [CCode (cheader_filename
= "gtk/gtk.h")]
3200 public class RadioButton
: Gtk
.CheckButton
{
3201 public weak GLib
.SList
get_group ();
3202 public static GLib
.Type
get_type ();
3203 public RadioButton (GLib
.SList group
);
3204 public RadioButton
.from_widget ();
3205 public RadioButton
.with_label (GLib
.SList group
, string label
);
3206 public RadioButton
.with_label_from_widget (string label
);
3207 public RadioButton
.with_mnemonic (GLib
.SList group
, string label
);
3208 public RadioButton
.with_mnemonic_from_widget (string label
);
3209 public void set_group (GLib
.SList group
);
3210 public weak Gtk
.RadioButton group
{ set; }
3211 public signal void group_changed ();
3213 [CCode (cheader_filename
= "gtk/gtk.h")]
3214 public class RadioMenuItem
: Gtk
.CheckMenuItem
{
3215 public weak GLib
.SList
get_group ();
3216 public static GLib
.Type
get_type ();
3217 public RadioMenuItem (GLib
.SList group
);
3218 public RadioMenuItem
.from_widget ();
3219 public RadioMenuItem
.with_label (GLib
.SList group
, string label
);
3220 public RadioMenuItem
.with_label_from_widget (string label
);
3221 public RadioMenuItem
.with_mnemonic (GLib
.SList group
, string label
);
3222 public RadioMenuItem
.with_mnemonic_from_widget (string label
);
3223 public void set_group (GLib
.SList group
);
3224 public weak Gtk
.RadioMenuItem group
{ set; }
3225 public signal void group_changed ();
3227 [CCode (cheader_filename
= "gtk/gtk.h")]
3228 public class RadioToolButton
: Gtk
.ToggleToolButton
{
3229 public weak GLib
.SList
get_group ();
3230 public static GLib
.Type
get_type ();
3231 public RadioToolButton (GLib
.SList group
);
3232 public RadioToolButton
.from_stock (GLib
.SList group
, string stock_id
);
3233 public RadioToolButton
.from_widget ();
3234 public RadioToolButton
.with_stock_from_widget (string stock_id
);
3235 public void set_group (GLib
.SList group
);
3236 public weak Gtk
.RadioToolButton group
{ set; }
3238 [CCode (cheader_filename
= "gtk/gtk.h")]
3239 public class Range
: Gtk
.Widget
{
3240 public weak Gtk
.Adjustment
get_adjustment ();
3241 public double get_fill_level ();
3242 public bool get_inverted ();
3243 public Gtk
.SensitivityType
get_lower_stepper_sensitivity ();
3244 public bool get_restrict_to_fill_level ();
3245 public bool get_show_fill_level ();
3246 public static GLib
.Type
get_type ();
3247 public Gtk
.UpdateType
get_update_policy ();
3248 public Gtk
.SensitivityType
get_upper_stepper_sensitivity ();
3249 public double get_value ();
3250 public void set_adjustment (Gtk
.Adjustment adjustment
);
3251 public void set_fill_level (double fill_level
);
3252 public void set_increments (double step
, double page
);
3253 public void set_inverted (bool setting
);
3254 public void set_lower_stepper_sensitivity (Gtk
.SensitivityType sensitivity
);
3255 public void set_range (double min
, double max
);
3256 public void set_restrict_to_fill_level (bool restrict_to_fill_level
);
3257 public void set_show_fill_level (bool show_fill_level
);
3258 public void set_update_policy (Gtk
.UpdateType policy
);
3259 public void set_upper_stepper_sensitivity (Gtk
.SensitivityType sensitivity
);
3260 public void set_value (double value
);
3261 public weak Gtk
.UpdateType update_policy
{ get; set; }
3262 public weak Gtk
.Adjustment adjustment
{ get; set construct; }
3263 public weak bool inverted
{ get; set; }
3264 public weak Gtk
.SensitivityType lower_stepper_sensitivity
{ get; set; }
3265 public weak Gtk
.SensitivityType upper_stepper_sensitivity
{ get; set; }
3266 public weak bool show_fill_level
{ get; set; }
3267 public weak bool restrict_to_fill_level
{ get; set; }
3268 public weak double fill_level
{ get; set; }
3269 public signal void value_changed ();
3270 public signal void adjust_bounds (double new_value
);
3271 public signal void move_slider (Gtk
.ScrollType scroll
);
3272 public signal bool change_value (Gtk
.ScrollType scroll
, double new_value
);
3274 [CCode (cheader_filename
= "gtk/gtk.h")]
3275 public class RcStyle
: GLib
.Object
{
3276 public weak string name
;
3277 public weak string bg_pixmap_name
;
3278 public weak Pango
.FontDescription font_desc
;
3279 public Gtk
.RcFlags color_flags
;
3280 public Gdk
.Color fg
;
3281 public Gdk
.Color bg
;
3282 public Gdk
.Color text
;
3283 public Gdk
.Color @
base;
3284 public int xthickness
;
3285 public int ythickness
;
3286 public weak Gtk
.RcStyle
copy ();
3287 public static GLib
.Type
get_type ();
3290 [CCode (cheader_filename
= "gtk/gtk.h")]
3291 public class RecentAction
: Gtk
.Action
, Gtk
.RecentChooser
{
3292 public bool get_show_numbers ();
3293 public static GLib
.Type
get_type ();
3294 public RecentAction (string name
, string label
, string tooltip
, string stock_id
);
3295 public RecentAction
.for_manager (string name
, string label
, string tooltip
, string stock_id
, Gtk
.RecentManager manager
);
3296 public void set_show_numbers (bool show_numbers
);
3297 public weak bool show_numbers
{ get; set; }
3299 [CCode (cheader_filename
= "gtk/gtk.h")]
3300 public class RecentChooserDefault
: Gtk
.VBox
, Gtk
.RecentChooser
{
3302 [CCode (cheader_filename
= "gtk/gtk.h")]
3303 public class RecentChooserDialog
: Gtk
.Dialog
, Gtk
.RecentChooser
{
3304 public static GLib
.Type
get_type ();
3305 public RecentChooserDialog (string title
, Gtk
.Window parent
, string first_button_text
);
3306 public RecentChooserDialog
.for_manager (string title
, Gtk
.Window parent
, Gtk
.RecentManager manager
, string first_button_text
);
3308 [CCode (cheader_filename
= "gtk/gtk.h")]
3309 public class RecentChooserMenu
: Gtk
.Menu
, Gtk
.RecentChooser
{
3310 public bool get_show_numbers ();
3311 public static GLib
.Type
get_type ();
3312 public RecentChooserMenu ();
3313 public RecentChooserMenu
.for_manager (Gtk
.RecentManager manager
);
3314 public void set_show_numbers (bool show_numbers
);
3315 public weak bool show_numbers
{ get; set; }
3317 [CCode (cheader_filename
= "gtk/gtk.h")]
3318 public class RecentChooserWidget
: Gtk
.VBox
, Gtk
.RecentChooser
{
3319 public static GLib
.Type
get_type ();
3320 public RecentChooserWidget ();
3321 public RecentChooserWidget
.for_manager (Gtk
.RecentManager manager
);
3323 [CCode (cheader_filename
= "gtk/gtk.h")]
3324 public class RecentFilter
: Gtk
.Object
{
3325 public void add_age (int days
);
3326 public void add_application (string application
);
3327 public void add_custom (Gtk
.RecentFilterFlags needed
, Gtk
.RecentFilterFunc func
, pointer data
, GLib
.DestroyNotify data_destroy
);
3328 public void add_group (string group
);
3329 public void add_mime_type (string mime_type
);
3330 public void add_pattern (string pattern
);
3331 public void add_pixbuf_formats ();
3332 public bool filter (Gtk
.RecentFilterInfo filter_info
);
3333 public weak string get_name ();
3334 public Gtk
.RecentFilterFlags
get_needed ();
3335 public static GLib
.Type
get_type ();
3336 public RecentFilter ();
3337 public void set_name (string name
);
3339 [CCode (cheader_filename
= "gtk/gtk.h")]
3340 public class RecentManager
: GLib
.Object
{
3341 public bool add_full (string uri
, Gtk
.RecentData recent_data
);
3342 public bool add_item (string uri
);
3343 public static GLib
.Quark
error_quark ();
3344 public static weak Gtk
.RecentManager
get_default ();
3345 public weak GLib
.List
get_items ();
3346 public int get_limit ();
3347 public static GLib
.Type
get_type ();
3348 public bool has_item (string uri
);
3349 public weak Gtk
.RecentInfo
lookup_item (string uri
, GLib
.Error error
);
3350 public bool move_item (string uri
, string new_uri
, GLib
.Error error
);
3351 public RecentManager ();
3352 public int purge_items (GLib
.Error error
);
3353 public bool remove_item (string uri
, GLib
.Error error
);
3354 public void set_limit (int limit
);
3356 public weak string filename
{ get; construct; }
3357 public weak int limit
{ get; set; }
3359 public weak int size
{ get; }
3360 public signal void changed ();
3362 [CCode (cheader_filename
= "gtk/gtk.h")]
3363 public class Ruler
: Gtk
.Widget
{
3364 public virtual void draw_pos ();
3365 public virtual void draw_ticks ();
3366 public Gtk
.MetricType
get_metric ();
3367 public void get_range (double lower
, double upper
, double position
, double max_size
);
3368 public static GLib
.Type
get_type ();
3369 public void set_metric (Gtk
.MetricType metric
);
3370 public void set_range (double lower
, double upper
, double position
, double max_size
);
3372 public weak double lower
{ get; set; }
3374 public weak double upper
{ get; set; }
3376 public weak double position
{ get; set; }
3378 public weak double max_size
{ get; set; }
3379 public weak Gtk
.MetricType metric
{ get; set; }
3381 [CCode (cheader_filename
= "gtk/gtk.h")]
3382 public class Scale
: Gtk
.Range
{
3383 public int get_digits ();
3384 public bool get_draw_value ();
3385 public weak Pango
.Layout
get_layout ();
3386 public virtual void get_layout_offsets (int x
, int y
);
3387 public static GLib
.Type
get_type ();
3388 public Gtk
.PositionType
get_value_pos ();
3389 public void set_digits (int digits
);
3390 public void set_draw_value (bool draw_value
);
3391 public void set_value_pos (Gtk
.PositionType pos
);
3392 public weak int digits
{ get; set; }
3393 public weak bool draw_value
{ get; set; }
3394 public weak Gtk
.PositionType value_pos
{ get; set; }
3395 public signal string format_value (double value
);
3397 [CCode (cheader_filename
= "gtk/gtk.h")]
3398 public class ScaleButton
: Gtk
.Button
{
3399 public weak Gtk
.Adjustment
get_adjustment ();
3400 public static GLib
.Type
get_type ();
3401 public double get_value ();
3402 public ScaleButton (Gtk
.IconSize size
, double min
, double max
, double step
, string icons
);
3403 public void set_adjustment (Gtk
.Adjustment adjustment
);
3404 public void set_icons (string icons
);
3405 public void set_value (double value
);
3406 public weak double value
{ get; set; }
3408 public weak Gtk
.IconSize size
{ get; set; }
3409 public weak Gtk
.Adjustment adjustment
{ get; set; }
3411 public weak string[] icons
{ get; set; }
3412 public signal void value_changed (double value
);
3414 [CCode (cheader_filename
= "gtk/gtk.h")]
3415 public class Scrollbar
: Gtk
.Range
{
3416 public static GLib
.Type
get_type ();
3418 [CCode (cheader_filename
= "gtk/gtk.h")]
3419 public class ScrolledWindow
: Gtk
.Bin
{
3420 public weak Gtk
.Widget hscrollbar
;
3421 public weak Gtk
.Widget vscrollbar
;
3422 public void add_with_viewport (Gtk
.Widget child
);
3423 public weak Gtk
.Adjustment
get_hadjustment ();
3424 public weak Gtk
.Widget
get_hscrollbar ();
3425 public Gtk
.CornerType
get_placement ();
3426 public void get_policy (Gtk
.PolicyType hscrollbar_policy
, Gtk
.PolicyType vscrollbar_policy
);
3427 public Gtk
.ShadowType
get_shadow_type ();
3428 public static GLib
.Type
get_type ();
3429 public weak Gtk
.Adjustment
get_vadjustment ();
3430 public weak Gtk
.Widget
get_vscrollbar ();
3431 public ScrolledWindow (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
3432 public void set_hadjustment (Gtk
.Adjustment hadjustment
);
3433 public void set_placement (Gtk
.CornerType window_placement
);
3434 public void set_policy (Gtk
.PolicyType hscrollbar_policy
, Gtk
.PolicyType vscrollbar_policy
);
3435 public void set_shadow_type (Gtk
.ShadowType type
);
3436 public void set_vadjustment (Gtk
.Adjustment vadjustment
);
3437 public void unset_placement ();
3438 public weak Gtk
.Adjustment hadjustment
{ get; set construct; }
3439 public weak Gtk
.Adjustment vadjustment
{ get; set construct; }
3441 public weak Gtk
.PolicyType hscrollbar_policy
{ get; set; }
3443 public weak Gtk
.PolicyType vscrollbar_policy
{ get; set; }
3445 public weak Gtk
.CornerType window_placement
{ get; set; }
3447 public weak bool window_placement_set
{ get; set; }
3448 public weak Gtk
.ShadowType shadow_type
{ get; set; }
3449 public signal bool scroll_child (Gtk
.ScrollType scroll
, bool horizontal
);
3450 public signal void move_focus_out (Gtk
.DirectionType direction
);
3452 [CCode (cheader_filename
= "gtk/gtk.h")]
3453 public class SearchEngine
: GLib
.Object
{
3454 public signal void hits_added (GLib
.List hits
);
3455 public signal void hits_subtracted (GLib
.List hits
);
3456 public signal void finished ();
3457 public signal void error (string error_message
);
3459 [CCode (cheader_filename
= "gtk/gtk.h")]
3460 public class SearchEngineBeagle
: Gtk
.SearchEngine
{
3462 [CCode (cheader_filename
= "gtk/gtk.h")]
3463 public class SearchEngineSimple
: Gtk
.SearchEngine
{
3465 [CCode (cheader_filename
= "gtk/gtk.h")]
3466 public class SearchEngineTracker
: Gtk
.SearchEngine
{
3468 [CCode (cheader_filename
= "gtk/gtk.h")]
3469 public class Separator
: Gtk
.Widget
{
3470 public static GLib
.Type
get_type ();
3472 [CCode (cheader_filename
= "gtk/gtk.h")]
3473 public class SeparatorMenuItem
: Gtk
.MenuItem
{
3474 public static GLib
.Type
get_type ();
3475 public SeparatorMenuItem ();
3477 [CCode (cheader_filename
= "gtk/gtk.h")]
3478 public class SeparatorToolItem
: Gtk
.ToolItem
{
3479 public bool get_draw ();
3480 public static GLib
.Type
get_type ();
3481 public SeparatorToolItem ();
3482 public void set_draw (bool draw
);
3483 public weak bool draw
{ get; set; }
3485 [CCode (cheader_filename
= "gtk/gtk.h")]
3486 public class Settings
: GLib
.Object
{
3487 public static weak Gtk
.Settings
get_default ();
3488 public static weak Gtk
.Settings
get_for_screen (Gdk
.Screen screen
);
3489 public static GLib
.Type
get_type ();
3490 public static void install_property (GLib
.ParamSpec pspec
);
3491 public static void install_property_parser (GLib
.ParamSpec pspec
, Gtk
.RcPropertyParser parser
);
3492 public void set_double_property (string name
, double v_double
, string origin
);
3493 public void set_long_property (string name
, long v_long
, string origin
);
3494 public void set_property_value (string name
, Gtk
.SettingsValue svalue
);
3495 public void set_string_property (string name
, string v_string
, string origin
);
3497 [CCode (cheader_filename
= "gtk/gtk.h")]
3498 public class SizeGroup
: GLib
.Object
, Gtk
.Buildable
{
3499 public void add_widget (Gtk
.Widget widget
);
3500 public bool get_ignore_hidden ();
3501 public Gtk
.SizeGroupMode
get_mode ();
3502 public static GLib
.Type
get_type ();
3503 public weak GLib
.SList
get_widgets ();
3504 public SizeGroup (Gtk
.SizeGroupMode mode
);
3505 public void remove_widget (Gtk
.Widget widget
);
3506 public void set_ignore_hidden (bool ignore_hidden
);
3507 public void set_mode (Gtk
.SizeGroupMode mode
);
3508 public weak Gtk
.SizeGroupMode mode
{ get; set; }
3509 public weak bool ignore_hidden
{ get; set; }
3511 [CCode (cheader_filename
= "gtk/gtk.h")]
3512 public class Socket
: Gtk
.Container
{
3513 public void add_id (pointer window_id
);
3514 public pointer
get_id ();
3515 public static GLib
.Type
get_type ();
3517 public signal void plug_added ();
3518 public signal bool plug_removed ();
3520 [CCode (cheader_filename
= "gtk/gtk.h")]
3521 public class SpinButton
: Gtk
.Entry
, Gtk
.Editable
{
3522 public void configure (Gtk
.Adjustment adjustment
, double climb_rate
, uint digits
);
3523 public weak Gtk
.Adjustment
get_adjustment ();
3524 public uint get_digits ();
3525 public void get_increments (double step
, double page
);
3526 public bool get_numeric ();
3527 public void get_range (double min
, double max
);
3528 public bool get_snap_to_ticks ();
3529 public static GLib
.Type
get_type ();
3530 public Gtk
.SpinButtonUpdatePolicy
get_update_policy ();
3531 public double get_value ();
3532 public int get_value_as_int ();
3533 public bool get_wrap ();
3534 public SpinButton (Gtk
.Adjustment adjustment
, double climb_rate
, uint digits
);
3535 public SpinButton
.with_range (double min
, double max
, double step
);
3536 public void set_adjustment (Gtk
.Adjustment adjustment
);
3537 public void set_digits (uint digits
);
3538 public void set_increments (double step
, double page
);
3539 public void set_numeric (bool numeric
);
3540 public void set_range (double min
, double max
);
3541 public void set_snap_to_ticks (bool snap_to_ticks
);
3542 public void set_update_policy (Gtk
.SpinButtonUpdatePolicy policy
);
3543 public void set_value (double value
);
3544 public void set_wrap (bool wrap
);
3545 public void spin (Gtk
.SpinType direction
, double increment
);
3546 public void update ();
3547 public weak Gtk
.Adjustment adjustment
{ get; set; }
3549 public weak double climb_rate
{ get; set; }
3550 public weak uint digits
{ get; set; }
3551 public weak bool snap_to_ticks
{ get; set; }
3552 public weak bool numeric
{ get; set; }
3553 public weak bool wrap
{ get; set; }
3554 public weak Gtk
.SpinButtonUpdatePolicy update_policy
{ get; set; }
3555 public weak double value
{ get; set; }
3556 public signal int input (double new_value
);
3557 public signal int output ();
3558 public signal void value_changed ();
3559 public signal void wrapped ();
3560 public signal void change_value (Gtk
.ScrollType scroll
);
3562 [CCode (cheader_filename
= "gtk/gtk.h")]
3563 public class Statusbar
: Gtk
.HBox
{
3564 public uint get_context_id (string context_description
);
3565 public bool get_has_resize_grip ();
3566 public static GLib
.Type
get_type ();
3567 public Statusbar ();
3568 public void pop (uint context_id
);
3569 public uint push (uint context_id
, string text
);
3570 public void remove (uint context_id
, uint message_id
);
3571 public void set_has_resize_grip (bool setting
);
3572 public weak bool has_resize_grip
{ get; set; }
3573 public signal void text_pushed (uint context_id
, string text
);
3574 public signal void text_popped (uint context_id
, string text
);
3576 [CCode (cheader_filename
= "gtk/gtk.h")]
3577 public class StatusIcon
: GLib
.Object
{
3578 public bool get_blinking ();
3579 public bool get_geometry (Gdk
.Screen screen
, Gdk
.Rectangle area
, Gtk
.Orientation orientation
);
3580 public weak string get_icon_name ();
3581 public weak Gdk
.Pixbuf
get_pixbuf ();
3582 public weak Gdk
.Screen
get_screen ();
3583 public int get_size ();
3584 public weak string get_stock ();
3585 public Gtk
.ImageType
get_storage_type ();
3586 public static GLib
.Type
get_type ();
3587 public bool get_visible ();
3588 public bool is_embedded ();
3589 public StatusIcon ();
3590 public StatusIcon
.from_file (string filename
);
3591 public StatusIcon
.from_icon_name (string icon_name
);
3592 public StatusIcon
.from_pixbuf (Gdk
.Pixbuf pixbuf
);
3593 public StatusIcon
.from_stock (string stock_id
);
3594 public static void position_menu (Gtk
.Menu menu
, int x
, int y
, bool push_in
, pointer user_data
);
3595 public void set_blinking (bool blinking
);
3596 public void set_from_file (string filename
);
3597 public void set_from_icon_name (string icon_name
);
3598 public void set_from_pixbuf (Gdk
.Pixbuf pixbuf
);
3599 public void set_from_stock (string stock_id
);
3600 public void set_screen (Gdk
.Screen screen
);
3601 public void set_tooltip (string tooltip_text
);
3602 public void set_visible (bool visible
);
3604 public weak Gdk
.Pixbuf pixbuf
{ get; set; }
3606 public weak string file
{ set; }
3608 public weak string stock
{ get; set; }
3610 public weak string icon_name
{ get; set; }
3611 public weak Gtk
.ImageType storage_type
{ get; }
3612 public weak int size
{ get; }
3613 public weak Gdk
.Screen screen
{ get; set; }
3614 public weak bool blinking
{ get; set; }
3615 public weak bool visible
{ get; set; }
3617 public weak bool embedded
{ get; }
3619 public weak Gtk
.Orientation orientation
{ get; }
3620 public signal void activate ();
3621 public signal void popup_menu (uint button
, uint activate_time
);
3622 public signal bool size_changed (int size
);
3624 [CCode (cheader_filename
= "gtk/gtk.h")]
3625 public class Style
: GLib
.Object
{
3626 public Gdk
.Color fg
;
3627 public Gdk
.Color bg
;
3628 public Gdk
.Color light
;
3629 public Gdk
.Color dark
;
3630 public Gdk
.Color mid
;
3631 public Gdk
.Color text
;
3632 public Gdk
.Color @
base;
3633 public Gdk
.Color text_aa
;
3634 public Gdk
.Color black
;
3635 public Gdk
.Color white
;
3636 public weak Pango
.FontDescription font_desc
;
3637 public int xthickness
;
3638 public int ythickness
;
3639 public weak Gdk
.GC fg_gc
;
3640 public weak Gdk
.GC bg_gc
;
3641 public weak Gdk
.GC light_gc
;
3642 public weak Gdk
.GC dark_gc
;
3643 public weak Gdk
.GC mid_gc
;
3644 public weak Gdk
.GC text_gc
;
3645 public weak Gdk
.GC base_gc
;
3646 public weak Gdk
.GC text_aa_gc
;
3647 public weak Gdk
.GC black_gc
;
3648 public weak Gdk
.GC white_gc
;
3649 public weak Gdk
.Pixmap bg_pixmap
;
3650 public void apply_default_background (Gdk
.Window window
, bool set_bg
, Gtk
.StateType state_type
, Gdk
.Rectangle area
, int x
, int y
, int width
, int height
);
3651 public weak Gtk
.Style
attach (Gdk
.Window window
);
3652 public virtual weak Gtk
.Style
copy ();
3653 public void detach ();
3654 public static GLib
.Type
get_type ();
3655 public bool lookup_color (string color_name
, Gdk
.Color color
);
3656 public weak Gtk
.IconSet
lookup_icon_set (string stock_id
);
3658 public virtual weak Gdk
.Pixbuf
render_icon (Gtk
.IconSource source
, Gtk
.TextDirection direction
, Gtk
.StateType state
, Gtk
.IconSize size
, Gtk
.Widget widget
, string detail
);
3659 public virtual void set_background (Gdk
.Window window
, Gtk
.StateType state_type
);
3660 public signal void realize ();
3661 public signal void unrealize ();
3663 [CCode (cheader_filename
= "gtk/gtk.h")]
3664 public class Table
: Gtk
.Container
{
3665 public void attach (Gtk
.Widget child
, uint left_attach
, uint right_attach
, uint top_attach
, uint bottom_attach
, Gtk
.AttachOptions xoptions
, Gtk
.AttachOptions yoptions
, uint xpadding
, uint ypadding
);
3666 public void attach_defaults (Gtk
.Widget widget
, uint left_attach
, uint right_attach
, uint top_attach
, uint bottom_attach
);
3667 public uint get_col_spacing (uint column
);
3668 public uint get_default_col_spacing ();
3669 public uint get_default_row_spacing ();
3670 public bool get_homogeneous ();
3671 public uint get_row_spacing (uint row
);
3672 public static GLib
.Type
get_type ();
3673 public Table (uint rows
, uint columns
, bool homogeneous
);
3674 public void resize (uint rows
, uint columns
);
3675 public void set_col_spacing (uint column
, uint spacing
);
3676 public void set_col_spacings (uint spacing
);
3677 public void set_homogeneous (bool homogeneous
);
3678 public void set_row_spacing (uint row
, uint spacing
);
3679 public void set_row_spacings (uint spacing
);
3681 public weak uint n_rows
{ get; set; }
3683 public weak uint n_columns
{ get; set; }
3684 public weak uint row_spacing
{ get; set; }
3686 public weak uint column_spacing
{ get; set; }
3687 public weak bool homogeneous
{ get; set; }
3689 [CCode (cheader_filename
= "gtk/gtk.h")]
3690 public class TearoffMenuItem
: Gtk
.MenuItem
{
3691 public static GLib
.Type
get_type ();
3692 public TearoffMenuItem ();
3694 [CCode (cheader_filename
= "gtk/gtk.h")]
3695 public class TextBuffer
: GLib
.Object
{
3696 public void add_mark (Gtk
.TextMark mark
, ref Gtk
.TextIter where
);
3697 public void add_selection_clipboard (Gtk
.Clipboard clipboard
);
3698 public void apply_tag_by_name (string name
, ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
3699 public bool backspace (ref Gtk
.TextIter iter
, bool interactive
, bool default_editable
);
3700 public void copy_clipboard (Gtk
.Clipboard clipboard
);
3701 public weak Gtk
.TextChildAnchor
create_child_anchor (ref Gtk
.TextIter iter
);
3702 public weak Gtk
.TextMark
create_mark (string mark_name
, ref Gtk
.TextIter where
, bool left_gravity
);
3703 public weak Gtk
.TextTag
create_tag (string tag_name
, string first_property_name
);
3704 public void cut_clipboard (Gtk
.Clipboard clipboard
, bool default_editable
);
3705 public void delete (ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
3706 public bool delete_interactive (ref Gtk
.TextIter start_iter
, ref Gtk
.TextIter end_iter
, bool default_editable
);
3707 public void delete_mark (Gtk
.TextMark mark
);
3708 public void delete_mark_by_name (string name
);
3709 public bool delete_selection (bool interactive
, bool default_editable
);
3711 public bool deserialize (Gtk
.TextBuffer content_buffer
, Gdk
.Atom format
, ref Gtk
.TextIter iter
, uchar[] data
, ulong length
, GLib
.Error error
);
3712 public bool deserialize_get_can_create_tags (Gdk
.Atom format
);
3713 public void deserialize_set_can_create_tags (Gdk
.Atom format
, bool can_create_tags
);
3714 public void get_bounds (ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
3715 public int get_char_count ();
3716 public weak Gtk
.TargetList
get_copy_target_list ();
3717 public Gdk
.Atom
get_deserialize_formats (int n_formats
);
3718 public void get_end_iter (ref Gtk
.TextIter iter
);
3719 public bool get_has_selection ();
3720 public weak Gtk
.TextMark
get_insert ();
3721 public void get_iter_at_child_anchor (ref Gtk
.TextIter iter
, Gtk
.TextChildAnchor anchor
);
3722 public void get_iter_at_line (ref Gtk
.TextIter iter
, int line_number
);
3723 public void get_iter_at_line_index (ref Gtk
.TextIter iter
, int line_number
, int byte_index
);
3724 public void get_iter_at_line_offset (ref Gtk
.TextIter iter
, int line_number
, int char_offset
);
3725 public void get_iter_at_mark (ref Gtk
.TextIter iter
, Gtk
.TextMark mark
);
3726 public void get_iter_at_offset (ref Gtk
.TextIter iter
, int char_offset
);
3727 public int get_line_count ();
3728 public weak Gtk
.TextMark
get_mark (string name
);
3729 public bool get_modified ();
3730 public weak Gtk
.TargetList
get_paste_target_list ();
3731 public weak Gtk
.TextMark
get_selection_bound ();
3732 public bool get_selection_bounds (ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
3733 public Gdk
.Atom
get_serialize_formats (int n_formats
);
3734 public weak string get_slice (ref Gtk
.TextIter start
, ref Gtk
.TextIter end
, bool include_hidden_chars
);
3735 public void get_start_iter (ref Gtk
.TextIter iter
);
3736 public weak Gtk
.TextTagTable
get_tag_table ();
3737 public weak string get_text (ref Gtk
.TextIter start
, ref Gtk
.TextIter end
, bool include_hidden_chars
);
3738 public static GLib
.Type
get_type ();
3739 public void insert (ref Gtk
.TextIter iter
, string text
, int len
);
3740 public void insert_at_cursor (string text
, int len
);
3741 public bool insert_interactive (ref Gtk
.TextIter iter
, string text
, int len
, bool default_editable
);
3742 public bool insert_interactive_at_cursor (string text
, int len
, bool default_editable
);
3743 public void insert_range (ref Gtk
.TextIter iter
, ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
3744 public bool insert_range_interactive (ref Gtk
.TextIter iter
, ref Gtk
.TextIter start
, ref Gtk
.TextIter end
, bool default_editable
);
3745 public void insert_with_tags (ref Gtk
.TextIter iter
, string text
, int len
, Gtk
.TextTag first_tag
);
3746 public void insert_with_tags_by_name (ref Gtk
.TextIter iter
, string text
, int len
, string first_tag_name
);
3747 public void move_mark (Gtk
.TextMark mark
, ref Gtk
.TextIter where
);
3748 public void move_mark_by_name (string name
, ref Gtk
.TextIter where
);
3749 public TextBuffer (Gtk
.TextTagTable table
);
3750 public void paste_clipboard (Gtk
.Clipboard clipboard
, ref Gtk
.TextIter override_location
, bool default_editable
);
3751 public void place_cursor (ref Gtk
.TextIter where
);
3752 public Gdk
.Atom
register_deserialize_format (string mime_type
, Gtk
.TextBufferDeserializeFunc function
, pointer user_data
, GLib
.DestroyNotify user_data_destroy
);
3753 public Gdk
.Atom
register_deserialize_tagset (string tagset_name
);
3754 public Gdk
.Atom
register_serialize_format (string mime_type
, Gtk
.TextBufferSerializeFunc function
, pointer user_data
, GLib
.DestroyNotify user_data_destroy
);
3755 public Gdk
.Atom
register_serialize_tagset (string tagset_name
);
3756 public void remove_all_tags (ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
3757 public void remove_selection_clipboard (Gtk
.Clipboard clipboard
);
3758 public void remove_tag_by_name (string name
, ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
3759 public void select_range (ref Gtk
.TextIter ins
, ref Gtk
.TextIter bound
);
3760 public uchar serialize (Gtk
.TextBuffer content_buffer
, Gdk
.Atom format
, ref Gtk
.TextIter start
, ref Gtk
.TextIter end
, ulong length
);
3761 public void set_modified (bool setting
);
3762 public void set_text (string text
, int len
);
3763 public void unregister_deserialize_format (Gdk
.Atom format
);
3764 public void unregister_serialize_format (Gdk
.Atom format
);
3766 public weak Gtk
.TextTagTable tag_table
{ get; construct; }
3767 public weak string text
{ get; set; }
3768 public weak bool has_selection
{ get; }
3770 public weak int cursor_position
{ get; }
3771 public weak Gtk
.TargetList copy_target_list
{ get; }
3772 public weak Gtk
.TargetList paste_target_list
{ get; }
3773 public signal void insert_text (ref Gtk
.TextIter pos
, string text
, int length
);
3775 public signal void insert_pixbuf (ref Gtk
.TextIter pos
, Gdk
.Pixbuf pixbuf
);
3777 public signal void insert_child_anchor (ref Gtk
.TextIter pos
, Gtk
.TextChildAnchor anchor
);
3778 public signal void delete_range (ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
3779 public signal void changed ();
3780 public signal void modified_changed ();
3781 public signal void mark_set (ref Gtk
.TextIter location
, Gtk
.TextMark mark
);
3782 public signal void mark_deleted (Gtk
.TextMark mark
);
3784 public signal void apply_tag (Gtk
.TextTag tag
, ref Gtk
.TextIter start_char
, ref Gtk
.TextIter end_char
);
3786 public signal void remove_tag (Gtk
.TextTag tag
, ref Gtk
.TextIter start_char
, ref Gtk
.TextIter end_char
);
3788 public signal void begin_user_action ();
3790 public signal void end_user_action ();
3792 [CCode (cheader_filename
= "gtk/gtk.h")]
3793 public class TextChildAnchor
: GLib
.Object
{
3794 public bool get_deleted ();
3795 public static GLib
.Type
get_type ();
3796 public weak GLib
.List
get_widgets ();
3797 public TextChildAnchor ();
3799 [CCode (cheader_filename
= "gtk/gtk.h")]
3800 public class TextMark
: GLib
.Object
{
3801 public weak Gtk
.TextBuffer
get_buffer ();
3802 public bool get_deleted ();
3803 public bool get_left_gravity ();
3804 public weak string get_name ();
3805 public static GLib
.Type
get_type ();
3806 public bool get_visible ();
3807 public TextMark (string name
, bool left_gravity
);
3808 public void set_visible (bool setting
);
3810 public weak string name
{ get; construct; }
3812 public weak bool left_gravity
{ get; construct; }
3814 [CCode (cheader_filename
= "gtk/gtk.h")]
3815 public class TextTag
: GLib
.Object
{
3816 public int get_priority ();
3817 public static GLib
.Type
get_type ();
3818 public TextTag (string name
);
3819 public void set_priority (int priority
);
3821 public weak string name
{ get; construct; }
3823 public weak string background
{ set; }
3825 public weak Gdk
.Color background_gdk
{ get; set; }
3827 public weak bool background_full_height
{ get; set; }
3829 public weak Gdk
.Pixmap background_stipple
{ get; set; }
3831 public weak string foreground
{ set; }
3833 public weak Gdk
.Color foreground_gdk
{ get; set; }
3835 public weak Gdk
.Pixmap foreground_stipple
{ get; set; }
3837 public weak Gtk
.TextDirection direction
{ get; set; }
3839 public weak bool editable
{ get; set; }
3841 public weak string font
{ get; set; }
3843 public weak Pango
.FontDescription font_desc
{ get; set; }
3845 public weak string family
{ get; set; }
3847 public weak Pango
.Style style
{ get; set; }
3849 public weak Pango
.Variant variant
{ get; set; }
3851 public weak int weight
{ get; set; }
3853 public weak Pango
.Stretch stretch
{ get; set; }
3855 public weak int size
{ get; set; }
3857 public weak double scale
{ get; set; }
3859 public weak double size_points
{ get; set; }
3861 public weak Gtk
.Justification justification
{ get; set; }
3863 public weak string language
{ get; set; }
3865 public weak int left_margin
{ get; set; }
3867 public weak int right_margin
{ get; set; }
3869 public weak int indent
{ get; set; }
3871 public weak int rise
{ get; set; }
3873 public weak int pixels_above_lines
{ get; set; }
3875 public weak int pixels_below_lines
{ get; set; }
3877 public weak int pixels_inside_wrap
{ get; set; }
3879 public weak bool strikethrough
{ get; set; }
3881 public weak Pango
.Underline underline
{ get; set; }
3883 public weak Gtk
.WrapMode wrap_mode
{ get; set; }
3885 public weak Pango
.TabArray tabs
{ get; set; }
3887 public weak bool invisible
{ get; set; }
3889 public weak string paragraph_background
{ set; }
3891 public weak Gdk
.Color paragraph_background_gdk
{ get; set; }
3893 public weak bool accumulative_margin
{ get; set; }
3895 public signal bool event (GLib
.Object event_object
, Gdk
.Event event
, ref Gtk
.TextIter iter
);
3897 [CCode (cheader_filename
= "gtk/gtk.h")]
3898 public class TextTagTable
: GLib
.Object
{
3899 public void add (Gtk
.TextTag tag
);
3900 public void @
foreach (Gtk
.TextTagTableForeach func
, pointer data
);
3901 public int get_size ();
3902 public static GLib
.Type
get_type ();
3903 public weak Gtk
.TextTag
lookup (string name
);
3904 public TextTagTable ();
3905 public void remove (Gtk
.TextTag tag
);
3906 public signal void tag_changed (Gtk
.TextTag tag
, bool size_changed
);
3907 public signal void tag_added (Gtk
.TextTag tag
);
3908 public signal void tag_removed (Gtk
.TextTag tag
);
3910 [CCode (cheader_filename
= "gtk/gtk.h")]
3911 public class TextView
: Gtk
.Container
{
3912 public void add_child_at_anchor (Gtk
.Widget child
, Gtk
.TextChildAnchor anchor
);
3913 public void add_child_in_window (Gtk
.Widget child
, Gtk
.TextWindowType which_window
, int xpos
, int ypos
);
3914 public bool backward_display_line (ref Gtk
.TextIter iter
);
3915 public bool backward_display_line_start (ref Gtk
.TextIter iter
);
3916 public void buffer_to_window_coords (Gtk
.TextWindowType win
, int buffer_x
, int buffer_y
, int window_x
, int window_y
);
3917 public bool forward_display_line (ref Gtk
.TextIter iter
);
3918 public bool forward_display_line_end (ref Gtk
.TextIter iter
);
3919 public bool get_accepts_tab ();
3920 public int get_border_window_size (Gtk
.TextWindowType type
);
3921 public weak Gtk
.TextBuffer
get_buffer ();
3922 public bool get_cursor_visible ();
3923 public weak Gtk
.TextAttributes
get_default_attributes ();
3924 public bool get_editable ();
3925 public int get_indent ();
3926 public void get_iter_at_location (ref Gtk
.TextIter iter
, int x
, int y
);
3927 public void get_iter_at_position (ref Gtk
.TextIter iter
, int trailing
, int x
, int y
);
3928 public void get_iter_location (ref Gtk
.TextIter iter
, Gdk
.Rectangle location
);
3929 public Gtk
.Justification
get_justification ();
3930 public int get_left_margin ();
3931 public void get_line_at_y (ref Gtk
.TextIter target_iter
, int y
, int line_top
);
3932 public void get_line_yrange (ref Gtk
.TextIter iter
, int y
, int height
);
3933 public bool get_overwrite ();
3934 public int get_pixels_above_lines ();
3935 public int get_pixels_below_lines ();
3936 public int get_pixels_inside_wrap ();
3937 public int get_right_margin ();
3938 public weak Pango
.TabArray
get_tabs ();
3939 public static GLib
.Type
get_type ();
3940 public void get_visible_rect (Gdk
.Rectangle visible_rect
);
3941 public weak Gdk
.Window
get_window (Gtk
.TextWindowType win
);
3942 public Gtk
.TextWindowType
get_window_type (Gdk
.Window window
);
3943 public Gtk
.WrapMode
get_wrap_mode ();
3944 public void move_child (Gtk
.Widget child
, int xpos
, int ypos
);
3945 public bool move_mark_onscreen (Gtk
.TextMark mark
);
3946 public bool move_visually (ref Gtk
.TextIter iter
, int count
);
3948 public TextView
.with_buffer (Gtk
.TextBuffer buffer
);
3949 public bool place_cursor_onscreen ();
3950 public void scroll_mark_onscreen (Gtk
.TextMark mark
);
3951 public bool scroll_to_iter (ref Gtk
.TextIter iter
, double within_margin
, bool use_align
, double xalign
, double yalign
);
3952 public void scroll_to_mark (Gtk
.TextMark mark
, double within_margin
, bool use_align
, double xalign
, double yalign
);
3953 public void set_accepts_tab (bool accepts_tab
);
3954 public void set_border_window_size (Gtk
.TextWindowType type
, int size
);
3955 public void set_buffer (Gtk
.TextBuffer buffer
);
3956 public void set_cursor_visible (bool setting
);
3957 public void set_editable (bool setting
);
3958 public void set_indent (int indent
);
3959 public void set_justification (Gtk
.Justification justification
);
3960 public void set_left_margin (int left_margin
);
3961 public void set_overwrite (bool overwrite
);
3962 public void set_pixels_above_lines (int pixels_above_lines
);
3963 public void set_pixels_below_lines (int pixels_below_lines
);
3964 public void set_pixels_inside_wrap (int pixels_inside_wrap
);
3965 public void set_right_margin (int right_margin
);
3966 public void set_tabs (Pango
.TabArray tabs
);
3967 public void set_wrap_mode (Gtk
.WrapMode wrap_mode
);
3968 public bool starts_display_line (ref Gtk
.TextIter iter
);
3969 public void window_to_buffer_coords (Gtk
.TextWindowType win
, int window_x
, int window_y
, int buffer_x
, int buffer_y
);
3970 public weak int pixels_above_lines
{ get; set; }
3971 public weak int pixels_below_lines
{ get; set; }
3972 public weak int pixels_inside_wrap
{ get; set; }
3973 public weak bool editable
{ get; set; }
3974 public weak Gtk
.WrapMode wrap_mode
{ get; set; }
3975 public weak Gtk
.Justification justification
{ get; set; }
3976 public weak int left_margin
{ get; set; }
3977 public weak int right_margin
{ get; set; }
3978 public weak int indent
{ get; set; }
3979 public weak Pango
.TabArray tabs
{ get; set; }
3980 public weak bool cursor_visible
{ get; set; }
3981 public weak Gtk
.TextBuffer buffer
{ get; set; }
3982 public weak bool overwrite
{ get; set; }
3983 public weak bool accepts_tab
{ get; set; }
3984 public signal void move_cursor (Gtk
.MovementStep step
, int count
, bool extend_selection
);
3985 public signal void page_horizontally (int count
, bool extend_selection
);
3986 public signal void set_anchor ();
3987 public signal void insert_at_cursor (string str
);
3988 public signal void delete_from_cursor (Gtk
.DeleteType type
, int count
);
3989 public signal void backspace ();
3990 public signal void cut_clipboard ();
3991 public signal void copy_clipboard ();
3992 public signal void paste_clipboard ();
3993 public signal void toggle_overwrite ();
3994 public signal void set_scroll_adjustments (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
3995 public signal void populate_popup (Gtk
.Menu menu
);
3997 [CCode (cheader_filename
= "gtk/gtk.h")]
3998 public class ToggleAction
: Gtk
.Action
{
3999 public bool get_active ();
4000 public bool get_draw_as_radio ();
4001 public static GLib
.Type
get_type ();
4002 public ToggleAction (string name
, string label
, string tooltip
, string stock_id
);
4003 public void set_active (bool is_active
);
4004 public void set_draw_as_radio (bool draw_as_radio
);
4005 public weak bool draw_as_radio
{ get; set; }
4006 public weak bool active
{ get; set; }
4008 public signal void toggled ();
4010 [CCode (cheader_filename
= "gtk/gtk.h")]
4011 public class ToggleButton
: Gtk
.Button
{
4012 public bool get_active ();
4013 public bool get_inconsistent ();
4014 public bool get_mode ();
4015 public static GLib
.Type
get_type ();
4016 public ToggleButton ();
4017 public ToggleButton
.with_label (string label
);
4018 public ToggleButton
.with_mnemonic (string label
);
4019 public void set_active (bool is_active
);
4020 public void set_inconsistent (bool setting
);
4021 public void set_mode (bool draw_indicator
);
4022 public weak bool active
{ get; set; }
4023 public weak bool inconsistent
{ get; set; }
4025 public weak bool draw_indicator
{ get; set; }
4027 public signal void toggled ();
4029 [CCode (cheader_filename
= "gtk/gtk.h")]
4030 public class ToggleToolButton
: Gtk
.ToolButton
{
4031 public bool get_active ();
4032 public static GLib
.Type
get_type ();
4033 public ToggleToolButton ();
4034 public ToggleToolButton
.from_stock (string stock_id
);
4035 public void set_active (bool is_active
);
4036 public weak bool active
{ get; set; }
4037 public signal void toggled ();
4039 [CCode (cheader_filename
= "gtk/gtk.h")]
4040 public class Toolbar
: Gtk
.Container
{
4041 public int num_children
;
4042 public weak GLib
.List children
;
4043 public Gtk
.ToolbarStyle style
;
4044 public int get_drop_index (int x
, int y
);
4045 public Gtk
.IconSize
get_icon_size ();
4046 public int get_item_index (Gtk
.ToolItem item
);
4047 public int get_n_items ();
4048 public weak Gtk
.ToolItem
get_nth_item (int n
);
4049 public Gtk
.Orientation
get_orientation ();
4050 public Gtk
.ReliefStyle
get_relief_style ();
4051 public bool get_show_arrow ();
4052 public Gtk
.ToolbarStyle
get_style ();
4053 public bool get_tooltips ();
4054 public static GLib
.Type
get_type ();
4055 public void insert (Gtk
.ToolItem item
, int pos
);
4057 public void set_drop_highlight_item (Gtk
.ToolItem tool_item
, int index_
);
4058 public void set_icon_size (Gtk
.IconSize icon_size
);
4059 public void set_orientation (Gtk
.Orientation orientation
);
4060 public void set_show_arrow (bool show_arrow
);
4061 public void set_style (Gtk
.ToolbarStyle style
);
4062 public void set_tooltips (bool enable
);
4063 public void unset_icon_size ();
4064 public void unset_style ();
4065 public weak Gtk
.Orientation orientation
{ get; set; }
4067 public weak Gtk
.ToolbarStyle toolbar_style
{ get; set; }
4068 public weak bool show_arrow
{ get; set; }
4069 public weak bool tooltips
{ get; set; }
4070 public weak Gtk
.IconSize icon_size
{ get; set; }
4072 public weak bool icon_size_set
{ get; set; }
4073 public signal void orientation_changed (Gtk
.Orientation orientation
);
4074 public signal void style_changed (Gtk
.ToolbarStyle style
);
4075 public signal bool popup_context_menu (int x
, int y
, int button_number
);
4077 [CCode (cheader_filename
= "gtk/gtk.h")]
4078 public class Tooltips
: Gtk
.Object
{
4079 public void disable ();
4080 public void enable ();
4081 public void force_window ();
4082 public static bool get_info_from_tip_window (Gtk
.Window tip_window
, Gtk
.Tooltips tooltips
, Gtk
.Widget current_widget
);
4083 public static GLib
.Type
get_type ();
4085 public void set_tip (Gtk
.Widget widget
, string tip_text
, string tip_private
);
4087 [CCode (cheader_filename
= "gtk/gtk.h")]
4088 public class ToolButton
: Gtk
.ToolItem
{
4089 public weak string get_icon_name ();
4090 public weak Gtk
.Widget
get_icon_widget ();
4091 public weak string get_label ();
4092 public weak Gtk
.Widget
get_label_widget ();
4093 public weak string get_stock_id ();
4094 public static GLib
.Type
get_type ();
4095 public bool get_use_underline ();
4096 public ToolButton (Gtk
.Widget icon_widget
, string label
);
4097 public ToolButton
.from_stock (string stock_id
);
4098 public void set_icon_name (string icon_name
);
4099 public void set_icon_widget (Gtk
.Widget icon_widget
);
4100 public void set_label (string label
);
4101 public void set_label_widget (Gtk
.Widget label_widget
);
4102 public void set_stock_id (string stock_id
);
4103 public void set_use_underline (bool use_underline
);
4104 public weak string label
{ get; set; }
4105 public weak bool use_underline
{ get; set; }
4106 public weak Gtk
.Widget label_widget
{ get; set; }
4107 public weak string stock_id
{ get; set; }
4108 public weak string icon_name
{ get; set; }
4109 public weak Gtk
.Widget icon_widget
{ get; set; }
4110 public signal void clicked ();
4112 [CCode (cheader_filename
= "gtk/gtk.h")]
4113 public class ToolItem
: Gtk
.Bin
{
4114 public bool get_expand ();
4115 public bool get_homogeneous ();
4116 public Gtk
.IconSize
get_icon_size ();
4117 public bool get_is_important ();
4118 public Gtk
.Orientation
get_orientation ();
4119 public weak Gtk
.Widget
get_proxy_menu_item (string menu_item_id
);
4120 public Gtk
.ReliefStyle
get_relief_style ();
4121 public Gtk
.ToolbarStyle
get_toolbar_style ();
4122 public static GLib
.Type
get_type ();
4123 public bool get_use_drag_window ();
4124 public bool get_visible_horizontal ();
4125 public bool get_visible_vertical ();
4127 public void rebuild_menu ();
4128 public weak Gtk
.Widget
retrieve_proxy_menu_item ();
4129 public void set_expand (bool expand
);
4130 public void set_homogeneous (bool homogeneous
);
4131 public void set_is_important (bool is_important
);
4132 public void set_proxy_menu_item (string menu_item_id
, Gtk
.Widget menu_item
);
4133 public void set_use_drag_window (bool use_drag_window
);
4134 public void set_visible_horizontal (bool visible_horizontal
);
4135 public void set_visible_vertical (bool visible_vertical
);
4136 public weak bool visible_horizontal
{ get; set; }
4137 public weak bool visible_vertical
{ get; set; }
4138 public weak bool is_important
{ get; set; }
4139 public signal bool create_menu_proxy ();
4140 public signal void toolbar_reconfigured ();
4142 public signal bool set_tooltip (Gtk
.Tooltips tooltips
, string tip_text
, string tip_private
);
4144 [CCode (cheader_filename
= "gtk/gtk.h")]
4145 public class TrayIcon
: Gtk
.Plug
{
4146 public static GLib
.Type
get_type ();
4148 public weak Gtk
.Orientation orientation
{ get; }
4150 [CCode (cheader_filename
= "gtk/gtk.h")]
4151 public class TreeModelFilter
: GLib
.Object
, Gtk
.TreeModel
, Gtk
.TreeDragSource
{
4152 public void clear_cache ();
4153 public bool convert_child_iter_to_iter (ref Gtk
.TreeIter filter_iter
, ref Gtk
.TreeIter child_iter
);
4154 public weak Gtk
.TreePath
convert_child_path_to_path (Gtk
.TreePath child_path
);
4155 public void convert_iter_to_child_iter (ref Gtk
.TreeIter child_iter
, ref Gtk
.TreeIter filter_iter
);
4156 public weak Gtk
.TreePath
convert_path_to_child_path (Gtk
.TreePath filter_path
);
4157 public weak Gtk
.TreeModel
get_model ();
4158 public static GLib
.Type
get_type ();
4159 public TreeModelFilter (Gtk
.TreeModel child_model
, Gtk
.TreePath root
);
4160 public void refilter ();
4161 public void set_modify_func (int n_columns
, GLib
.Type types
, Gtk
.TreeModelFilterModifyFunc func
, pointer data
, Gtk
.DestroyNotify destroy
);
4162 public void set_visible_column (int column
);
4163 public void set_visible_func (Gtk
.TreeModelFilterVisibleFunc func
, pointer data
, Gtk
.DestroyNotify destroy
);
4165 public weak Gtk
.TreeModel child_model
{ get; construct; }
4167 public weak Gtk
.TreePath virtual_root
{ get; construct; }
4169 [CCode (cheader_filename
= "gtk/gtk.h")]
4170 public class TreeModelSort
: GLib
.Object
, Gtk
.TreeModel
, Gtk
.TreeSortable
, Gtk
.TreeDragSource
{
4171 public void clear_cache ();
4172 public void convert_child_iter_to_iter (ref Gtk
.TreeIter sort_iter
, ref Gtk
.TreeIter child_iter
);
4173 public weak Gtk
.TreePath
convert_child_path_to_path (Gtk
.TreePath child_path
);
4174 public void convert_iter_to_child_iter (ref Gtk
.TreeIter child_iter
, ref Gtk
.TreeIter sorted_iter
);
4175 public weak Gtk
.TreePath
convert_path_to_child_path (Gtk
.TreePath sorted_path
);
4176 public weak Gtk
.TreeModel
get_model ();
4177 public static GLib
.Type
get_type ();
4178 public bool iter_is_valid (ref Gtk
.TreeIter iter
);
4179 public TreeModelSort
.with_model (Gtk
.TreeModel child_model
);
4180 public void reset_default_sort_func ();
4182 public weak Gtk
.TreeModel model
{ get; construct; }
4184 [CCode (cheader_filename
= "gtk/gtk.h")]
4185 public class TreeSelection
: GLib
.Object
{
4186 public int count_selected_rows ();
4187 public Gtk
.SelectionMode
get_mode ();
4188 public bool get_selected (Gtk
.TreeModel model
, ref Gtk
.TreeIter iter
);
4189 public weak GLib
.List
get_selected_rows (Gtk
.TreeModel model
);
4190 public weak Gtk
.TreeView
get_tree_view ();
4191 public static GLib
.Type
get_type ();
4192 public pointer
get_user_data ();
4193 public bool iter_is_selected (ref Gtk
.TreeIter iter
);
4194 public bool path_is_selected (Gtk
.TreePath path
);
4195 public void select_all ();
4196 public void select_iter (ref Gtk
.TreeIter iter
);
4197 public void select_path (Gtk
.TreePath path
);
4198 public void select_range (Gtk
.TreePath start_path
, Gtk
.TreePath end_path
);
4199 public void selected_foreach (Gtk
.TreeSelectionForeachFunc func
, pointer data
);
4200 public void set_mode (Gtk
.SelectionMode type
);
4201 public void set_select_function (Gtk
.TreeSelectionFunc func
, pointer data
, Gtk
.DestroyNotify destroy
);
4202 public void unselect_all ();
4203 public void unselect_iter (ref Gtk
.TreeIter iter
);
4204 public void unselect_path (Gtk
.TreePath path
);
4205 public void unselect_range (Gtk
.TreePath start_path
, Gtk
.TreePath end_path
);
4206 public signal void changed ();
4208 [CCode (cheader_filename
= "gtk/gtk.h")]
4209 public class TreeStore
: GLib
.Object
, Gtk
.TreeModel
, Gtk
.TreeDragSource
, Gtk
.TreeDragDest
, Gtk
.TreeSortable
, Gtk
.Buildable
{
4210 public void append (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
);
4211 public void clear ();
4212 public static GLib
.Type
get_type ();
4213 public void insert (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
, int position
);
4214 public void insert_after (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
, ref Gtk
.TreeIter sibling
);
4215 public void insert_before (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
, ref Gtk
.TreeIter sibling
);
4216 public void insert_with_values (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
, int position
, ...);
4218 public void insert_with_valuesv (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
, int position
, int columns
, GLib
.Value
[] values
, int n_values
);
4219 public bool is_ancestor (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter descendant
);
4220 public int iter_depth (ref Gtk
.TreeIter iter
);
4221 public bool iter_is_valid (ref Gtk
.TreeIter iter
);
4222 public void move_after (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter position
);
4223 public void move_before (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter position
);
4224 public TreeStore (int n_columns
, ...);
4225 [CCode (cname
= "gtk_tree_store_newv")]
4226 public TreeStore
.newv (int n_columns
, GLib
.Type types
);
4227 public void prepend (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
);
4228 public bool remove (ref Gtk
.TreeIter iter
);
4229 public void reorder (ref Gtk
.TreeIter parent
, int new_order
);
4230 public void set (ref Gtk
.TreeIter iter
, ...);
4231 public void set_column_types (int n_columns
, GLib
.Type types
);
4232 public void set_valist (ref Gtk
.TreeIter iter
, pointer var_args
);
4233 public void set_value (ref Gtk
.TreeIter iter
, int column
, GLib
.Value value
);
4235 public void set_valuesv (ref Gtk
.TreeIter iter
, int columns
, GLib
.Value
[] values
, int n_values
);
4236 public void swap (ref Gtk
.TreeIter a
, ref Gtk
.TreeIter b
);
4238 [CCode (cheader_filename
= "gtk/gtk.h")]
4239 public class TreeView
: Gtk
.Container
, Gtk
.Buildable
{
4240 public int append_column (Gtk
.TreeViewColumn column
);
4241 public void collapse_all ();
4242 public bool collapse_row (Gtk
.TreePath path
);
4243 public void columns_autosize ();
4244 public void convert_bin_window_to_tree_coords (int bx
, int by
, int tx
, int ty
);
4245 public void convert_bin_window_to_widget_coords (int bx
, int by
, int wx
, int wy
);
4246 public void convert_tree_to_bin_window_coords (int tx
, int ty
, int bx
, int by
);
4247 public void convert_tree_to_widget_coords (int tx
, int ty
, int wx
, int wy
);
4248 public void convert_widget_to_bin_window_coords (int wx
, int wy
, int bx
, int by
);
4249 public void convert_widget_to_tree_coords (int wx
, int wy
, int tx
, int ty
);
4250 public weak Gdk
.Pixmap
create_row_drag_icon (Gtk
.TreePath path
);
4252 public void enable_model_drag_dest (Gtk
.TargetEntry
[] targets
, int n_targets
, Gdk
.DragAction actions
);
4254 public void enable_model_drag_source (Gdk
.ModifierType start_button_mask
, Gtk
.TargetEntry
[] targets
, int n_targets
, Gdk
.DragAction actions
);
4255 public void expand_all ();
4256 public bool expand_row (Gtk
.TreePath path
, bool open_all
);
4257 public void expand_to_path (Gtk
.TreePath path
);
4258 public void get_background_area (Gtk
.TreePath path
, Gtk
.TreeViewColumn column
, Gdk
.Rectangle rect
);
4259 public weak Gdk
.Window
get_bin_window ();
4260 public void get_cell_area (Gtk
.TreePath path
, Gtk
.TreeViewColumn column
, Gdk
.Rectangle rect
);
4261 public weak Gtk
.TreeViewColumn
get_column (int n
);
4262 public weak GLib
.List
get_columns ();
4263 public void get_cursor (Gtk
.TreePath path
, Gtk
.TreeViewColumn focus_column
);
4264 public bool get_dest_row_at_pos (int drag_x
, int drag_y
, Gtk
.TreePath path
, Gtk
.TreeViewDropPosition pos
);
4265 public void get_drag_dest_row (Gtk
.TreePath path
, Gtk
.TreeViewDropPosition pos
);
4266 public bool get_enable_search ();
4267 public bool get_enable_tree_lines ();
4268 public weak Gtk
.TreeViewColumn
get_expander_column ();
4269 public bool get_fixed_height_mode ();
4270 public Gtk
.TreeViewGridLines
get_grid_lines ();
4271 public weak Gtk
.Adjustment
get_hadjustment ();
4272 public bool get_headers_clickable ();
4273 public bool get_headers_visible ();
4274 public bool get_hover_expand ();
4275 public bool get_hover_selection ();
4276 public int get_level_indentation ();
4277 public weak Gtk
.TreeModel
get_model ();
4278 public bool get_path_at_pos (int x
, int y
, Gtk
.TreePath path
, Gtk
.TreeViewColumn column
, int cell_x
, int cell_y
);
4279 public bool get_reorderable ();
4280 public Gtk
.TreeViewRowSeparatorFunc
get_row_separator_func ();
4281 public bool get_rubber_banding ();
4282 public bool get_rules_hint ();
4283 public int get_search_column ();
4284 public weak Gtk
.Entry
get_search_entry ();
4285 public Gtk
.TreeViewSearchEqualFunc
get_search_equal_func ();
4286 public Gtk
.TreeViewSearchPositionFunc
get_search_position_func ();
4287 public weak Gtk
.TreeSelection
get_selection ();
4288 public bool get_show_expanders ();
4289 public static GLib
.Type
get_type ();
4290 public weak Gtk
.Adjustment
get_vadjustment ();
4291 public bool get_visible_range (Gtk
.TreePath start_path
, Gtk
.TreePath end_path
);
4292 public void get_visible_rect (Gdk
.Rectangle visible_rect
);
4293 public int insert_column (Gtk
.TreeViewColumn column
, int position
);
4294 public int insert_column_with_attributes (int position
, string title
, Gtk
.CellRenderer cell
, ...);
4295 public int insert_column_with_data_func (int position
, string title
, Gtk
.CellRenderer cell
, Gtk
.TreeCellDataFunc func
, pointer data
, GLib
.DestroyNotify dnotify
);
4296 public void map_expanded_rows (Gtk
.TreeViewMappingFunc func
, pointer data
);
4297 public static GLib
.Type
mode_get_type ();
4298 public void move_column_after (Gtk
.TreeViewColumn column
, Gtk
.TreeViewColumn base_column
);
4300 public TreeView
.with_model (Gtk
.TreeModel model
);
4301 public int remove_column (Gtk
.TreeViewColumn column
);
4302 public void scroll_to_cell (Gtk
.TreePath path
, Gtk
.TreeViewColumn column
, bool use_align
, float row_align
, float col_align
);
4303 public void scroll_to_point (int tree_x
, int tree_y
);
4304 public void set_column_drag_function (Gtk
.TreeViewColumnDropFunc func
, pointer user_data
, Gtk
.DestroyNotify destroy
);
4305 public void set_cursor (Gtk
.TreePath path
, Gtk
.TreeViewColumn focus_column
, bool start_editing
);
4306 public void set_cursor_on_cell (Gtk
.TreePath path
, Gtk
.TreeViewColumn focus_column
, Gtk
.CellRenderer focus_cell
, bool start_editing
);
4307 public void set_destroy_count_func (Gtk
.TreeDestroyCountFunc func
, pointer data
, Gtk
.DestroyNotify destroy
);
4308 public void set_drag_dest_row (Gtk
.TreePath path
, Gtk
.TreeViewDropPosition pos
);
4309 public void set_enable_search (bool enable_search
);
4310 public void set_enable_tree_lines (bool enabled
);
4311 public void set_expander_column (Gtk
.TreeViewColumn column
);
4312 public void set_fixed_height_mode (bool enable
);
4313 public void set_grid_lines (Gtk
.TreeViewGridLines grid_lines
);
4314 public void set_hadjustment (Gtk
.Adjustment adjustment
);
4315 public void set_headers_clickable (bool setting
);
4316 public void set_headers_visible (bool headers_visible
);
4317 public void set_hover_expand (bool expand
);
4318 public void set_hover_selection (bool hover
);
4319 public void set_level_indentation (int indentation
);
4320 public void set_model (Gtk
.TreeModel model
);
4321 public void set_reorderable (bool reorderable
);
4322 public void set_row_separator_func (Gtk
.TreeViewRowSeparatorFunc func
, pointer data
, Gtk
.DestroyNotify destroy
);
4323 public void set_rubber_banding (bool enable
);
4324 public void set_rules_hint (bool setting
);
4325 public void set_search_column (int column
);
4326 public void set_search_entry (Gtk
.Entry entry
);
4327 public void set_search_equal_func (Gtk
.TreeViewSearchEqualFunc search_equal_func
, pointer search_user_data
, Gtk
.DestroyNotify search_destroy
);
4328 public void set_search_position_func (Gtk
.TreeViewSearchPositionFunc func
, pointer data
, GLib
.DestroyNotify destroy
);
4329 public void set_show_expanders (bool enabled
);
4330 public void set_vadjustment (Gtk
.Adjustment adjustment
);
4331 public void unset_rows_drag_dest ();
4332 public void unset_rows_drag_source ();
4333 public weak Gtk
.TreeModel model
{ get; set; }
4334 public weak Gtk
.Adjustment hadjustment
{ get; set; }
4335 public weak Gtk
.Adjustment vadjustment
{ get; set; }
4336 public weak bool headers_visible
{ get; set; }
4337 public weak bool headers_clickable
{ get; set; }
4338 public weak Gtk
.TreeViewColumn expander_column
{ get; set; }
4339 public weak bool reorderable
{ get; set; }
4340 public weak bool rules_hint
{ get; set; }
4341 public weak bool enable_search
{ get; set; }
4342 public weak int search_column
{ get; set; }
4343 public weak bool fixed_height_mode
{ get; set; }
4344 public weak bool hover_selection
{ get; set; }
4345 public weak bool hover_expand
{ get; set; }
4346 public weak bool show_expanders
{ get; set; }
4347 public weak int level_indentation
{ get; set; }
4348 public weak bool rubber_banding
{ get; set; }
4350 public weak Gtk
.TreeViewGridLines enable_grid_lines
{ get; set; }
4351 public weak bool enable_tree_lines
{ get; set; }
4352 public signal void set_scroll_adjustments (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
4354 public signal void row_activated (Gtk
.TreePath path
, Gtk
.TreeViewColumn column
);
4355 public signal bool test_expand_row (ref Gtk
.TreeIter iter
, Gtk
.TreePath path
);
4356 public signal bool test_collapse_row (ref Gtk
.TreeIter iter
, Gtk
.TreePath path
);
4358 public signal void row_expanded (ref Gtk
.TreeIter iter
, Gtk
.TreePath path
);
4359 public signal void row_collapsed (ref Gtk
.TreeIter iter
, Gtk
.TreePath path
);
4360 public signal void columns_changed ();
4361 public signal void cursor_changed ();
4362 public signal bool move_cursor (Gtk
.MovementStep step
, int count
);
4363 public signal bool select_all ();
4364 public signal bool unselect_all ();
4365 public signal bool select_cursor_row (bool start_editing
);
4366 public signal bool toggle_cursor_row ();
4367 public signal bool expand_collapse_cursor_row (bool logical
, bool expand
, bool open_all
);
4368 public signal bool select_cursor_parent ();
4369 public signal bool start_interactive_search ();
4371 [CCode (cheader_filename
= "gtk/gtk.h")]
4372 public class TreeViewColumn
: Gtk
.Object
, Gtk
.CellLayout
, Gtk
.Buildable
{
4373 public void add_attribute (Gtk
.CellRenderer cell_renderer
, string attribute
, int column
);
4374 public bool cell_get_position (Gtk
.CellRenderer cell_renderer
, int start_pos
, int width
);
4375 public void cell_get_size (Gdk
.Rectangle cell_area
, int x_offset
, int y_offset
, int width
, int height
);
4376 public bool cell_is_visible ();
4377 public void cell_set_cell_data (Gtk
.TreeModel tree_model
, ref Gtk
.TreeIter iter
, bool is_expander
, bool is_expanded
);
4378 public void clear ();
4379 public void clear_attributes (Gtk
.CellRenderer cell_renderer
);
4380 public void focus_cell (Gtk
.CellRenderer cell
);
4381 public float get_alignment ();
4382 public weak GLib
.List
get_cell_renderers ();
4383 public bool get_clickable ();
4384 public bool get_expand ();
4385 public int get_fixed_width ();
4386 public int get_max_width ();
4387 public int get_min_width ();
4388 public bool get_reorderable ();
4389 public bool get_resizable ();
4390 public Gtk
.TreeViewColumnSizing
get_sizing ();
4391 public int get_sort_column_id ();
4392 public bool get_sort_indicator ();
4393 public Gtk
.SortType
get_sort_order ();
4394 public int get_spacing ();
4395 public weak string get_title ();
4396 public weak Gtk
.Widget
get_tree_view ();
4397 public static GLib
.Type
get_type ();
4398 public bool get_visible ();
4399 public weak Gtk
.Widget
get_widget ();
4400 public int get_width ();
4401 public TreeViewColumn ();
4402 public TreeViewColumn
.with_attributes (string title
, Gtk
.CellRenderer cell
, ...);
4403 public void pack_end (Gtk
.CellRenderer cell
, bool expand
);
4404 public void pack_start (Gtk
.CellRenderer cell
, bool expand
);
4405 public void queue_resize ();
4406 public void set_alignment (float xalign
);
4407 public void set_attributes (Gtk
.CellRenderer cell_renderer
);
4408 public void set_cell_data_func (Gtk
.CellRenderer cell_renderer
, Gtk
.TreeCellDataFunc func
, pointer func_data
, Gtk
.DestroyNotify destroy
);
4409 public void set_clickable (bool clickable
);
4410 public void set_expand (bool expand
);
4411 public void set_fixed_width (int fixed_width
);
4412 public void set_max_width (int max_width
);
4413 public void set_min_width (int min_width
);
4414 public void set_reorderable (bool reorderable
);
4415 public void set_resizable (bool resizable
);
4416 public void set_sizing (Gtk
.TreeViewColumnSizing type
);
4417 public void set_sort_column_id (int sort_column_id
);
4418 public void set_sort_indicator (bool setting
);
4419 public void set_sort_order (Gtk
.SortType order
);
4420 public void set_spacing (int spacing
);
4421 public void set_title (string title
);
4422 public void set_visible (bool visible
);
4423 public void set_widget (Gtk
.Widget widget
);
4424 public weak bool visible
{ get; set; }
4425 public weak bool resizable
{ get; set; }
4426 public weak int width
{ get; }
4427 public weak int spacing
{ get; set; }
4428 public weak Gtk
.TreeViewColumnSizing sizing
{ get; set; }
4429 public weak int fixed_width
{ get; set; }
4430 public weak int min_width
{ get; set; }
4431 public weak int max_width
{ get; set; }
4432 public weak string title
{ get; set; }
4433 public weak bool expand
{ get; set; }
4434 public weak bool clickable
{ get; set; }
4435 public weak Gtk
.Widget widget
{ get; set; }
4436 public weak float alignment
{ get; set; }
4437 public weak bool reorderable
{ get; set; }
4438 public weak bool sort_indicator
{ get; set; }
4439 public weak Gtk
.SortType sort_order
{ get; set; }
4441 public signal void clicked ();
4443 [CCode (cheader_filename
= "gtk/gtk.h")]
4444 public class UIManager
: GLib
.Object
, Gtk
.Buildable
{
4445 public void add_ui (uint merge_id
, string path
, string name
, string action
, Gtk
.UIManagerItemType type
, bool top
);
4446 public uint add_ui_from_file (string filename
, GLib
.Error error
);
4447 public uint add_ui_from_string (string buffer
, long length
, GLib
.Error error
);
4448 public void ensure_update ();
4449 public weak Gtk
.AccelGroup
get_accel_group ();
4450 public virtual weak Gtk
.Action
get_action (string path
);
4451 public weak GLib
.List
get_action_groups ();
4452 public bool get_add_tearoffs ();
4453 public weak GLib
.SList
get_toplevels (Gtk
.UIManagerItemType types
);
4454 public static GLib
.Type
get_type ();
4455 public weak string get_ui ();
4456 public virtual weak Gtk
.Widget
get_widget (string path
);
4457 public void insert_action_group (Gtk
.ActionGroup action_group
, int pos
);
4458 public UIManager ();
4459 public UIManager
.merge_id ();
4460 public void remove_action_group (Gtk
.ActionGroup action_group
);
4461 public void remove_ui (uint merge_id
);
4462 public void set_add_tearoffs (bool add_tearoffs
);
4463 public weak bool add_tearoffs
{ get; set; }
4464 public weak string ui
{ get; }
4465 public signal void add_widget (Gtk
.Widget widget
);
4466 public signal void actions_changed ();
4467 public signal void connect_proxy (Gtk
.Action action
, Gtk
.Widget proxy
);
4468 public signal void disconnect_proxy (Gtk
.Action action
, Gtk
.Widget proxy
);
4469 public signal void pre_activate (Gtk
.Action action
);
4470 public signal void post_activate (Gtk
.Action action
);
4472 [CCode (cheader_filename
= "gtk/gtk.h")]
4473 public class VBox
: Gtk
.Box
{
4474 public static GLib
.Type
get_type ();
4475 public VBox (bool homogeneous
, int spacing
);
4477 [CCode (cheader_filename
= "gtk/gtk.h")]
4478 public class VButtonBox
: Gtk
.ButtonBox
{
4479 public static GLib
.Type
get_type ();
4480 public VButtonBox ();
4482 [CCode (cheader_filename
= "gtk/gtk.h")]
4483 public class Viewport
: Gtk
.Bin
{
4484 public weak Gtk
.Adjustment
get_hadjustment ();
4485 public Gtk
.ShadowType
get_shadow_type ();
4486 public static GLib
.Type
get_type ();
4487 public weak Gtk
.Adjustment
get_vadjustment ();
4488 public Viewport (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
4489 public void set_hadjustment (Gtk
.Adjustment adjustment
);
4490 public void set_shadow_type (Gtk
.ShadowType type
);
4491 public void set_vadjustment (Gtk
.Adjustment adjustment
);
4492 public weak Gtk
.Adjustment hadjustment
{ get; set construct; }
4493 public weak Gtk
.Adjustment vadjustment
{ get; set construct; }
4494 public weak Gtk
.ShadowType shadow_type
{ get; set; }
4495 public signal void set_scroll_adjustments (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
4497 [CCode (cheader_filename
= "gtk/gtk.h")]
4498 public class VolumeButton
: Gtk
.ScaleButton
{
4499 public static GLib
.Type
get_type ();
4500 public VolumeButton ();
4502 [CCode (cheader_filename
= "gtk/gtk.h")]
4503 public class VPaned
: Gtk
.Paned
{
4504 public static GLib
.Type
get_type ();
4507 [CCode (cheader_filename
= "gtk/gtk.h")]
4508 public class VRuler
: Gtk
.Ruler
{
4509 public static GLib
.Type
get_type ();
4512 [CCode (cheader_filename
= "gtk/gtk.h")]
4513 public class VScale
: Gtk
.Scale
{
4514 public static GLib
.Type
get_type ();
4515 public VScale (Gtk
.Adjustment adjustment
);
4516 public VScale
.with_range (double min
, double max
, double step
);
4518 [CCode (cheader_filename
= "gtk/gtk.h")]
4519 public class VScrollbar
: Gtk
.Scrollbar
{
4520 public static GLib
.Type
get_type ();
4521 public VScrollbar (Gtk
.Adjustment adjustment
);
4523 [CCode (cheader_filename
= "gtk/gtk.h")]
4524 public class VSeparator
: Gtk
.Separator
{
4525 public static GLib
.Type
get_type ();
4526 public VSeparator ();
4528 [CCode (cheader_filename
= "gtk/gtk.h")]
4529 public class Widget
: Gtk
.Object
, Atk
.Implementor
, Gtk
.Buildable
{
4530 public Gtk
.Requisition requisition
;
4531 public Gtk
.Allocation allocation
;
4532 public weak Gdk
.Window window
;
4533 public bool activate ();
4534 public void add_accelerator (string accel_signal
, Gtk
.AccelGroup accel_group
, uint accel_key
, Gdk
.ModifierType accel_mods
, Gtk
.AccelFlags accel_flags
);
4535 public void add_events (int events
);
4536 public void add_mnemonic_label (Gtk
.Widget label
);
4537 public bool child_focus (Gtk
.DirectionType direction
);
4538 public static weak GLib
.ParamSpec
class_find_style_property (pointer klass
, string property_name
);
4539 public static void class_install_style_property (pointer klass
, GLib
.ParamSpec pspec
);
4540 public static void class_install_style_property_parser (pointer klass
, GLib
.ParamSpec pspec
, Gtk
.RcPropertyParser parser
);
4541 public static weak GLib
.ParamSpec
class_list_style_properties (pointer klass
, uint n_properties
);
4542 public void class_path (uint path_length
, string path
, string path_reversed
);
4543 public weak Pango
.Context
create_pango_context ();
4544 public weak Pango
.Layout
create_pango_layout (string text
);
4545 public void destroyed (Gtk
.Widget widget_pointer
);
4546 public void ensure_style ();
4547 public void error_bell ();
4548 public void freeze_child_notify ();
4549 public virtual weak Atk
.Object
get_accessible ();
4550 public weak Gtk
.Action
get_action ();
4551 public weak Gtk
.Widget
get_ancestor (GLib
.Type widget_type
);
4552 public void get_child_requisition (ref Gtk
.Requisition requisition
);
4553 public bool get_child_visible ();
4554 public weak Gtk
.Clipboard
get_clipboard (Gdk
.Atom selection
);
4555 public weak Gdk
.Colormap
get_colormap ();
4556 public weak string get_composite_name ();
4557 public static weak Gdk
.Colormap
get_default_colormap ();
4558 public static Gtk
.TextDirection
get_default_direction ();
4559 public static weak Gtk
.Style
get_default_style ();
4560 public static weak Gdk
.Visual
get_default_visual ();
4561 public Gtk
.TextDirection
get_direction ();
4562 public weak Gdk
.Display
get_display ();
4563 public int get_events ();
4564 public Gdk
.ExtensionMode
get_extension_events ();
4565 public weak Gtk
.RcStyle
get_modifier_style ();
4566 public weak string get_name ();
4567 public bool get_no_show_all ();
4568 public weak Pango
.Context
get_pango_context ();
4569 public weak Gtk
.Widget
get_parent ();
4570 public weak Gdk
.Window
get_parent_window ();
4571 public void get_pointer (int x
, int y
);
4572 public weak Gdk
.Window
get_root_window ();
4573 public weak Gdk
.Screen
get_screen ();
4574 public weak Gtk
.Settings
get_settings ();
4575 public void get_size_request (int width
, int height
);
4576 public weak Gtk
.Style
get_style ();
4577 public weak string get_tooltip_markup ();
4578 public weak string get_tooltip_text ();
4579 public weak Gtk
.Window
get_tooltip_window ();
4580 public weak Gtk
.Widget
get_toplevel ();
4581 public static GLib
.Type
get_type ();
4582 public weak Gdk
.Visual
get_visual ();
4583 public void grab_default ();
4584 public bool has_screen ();
4585 public virtual void hide_all ();
4586 public bool hide_on_delete ();
4587 public void input_shape_combine_mask (Gdk
.Bitmap shape_mask
, int offset_x
, int offset_y
);
4588 public bool intersect (Gdk
.Rectangle area
, Gdk
.Rectangle intersection
);
4589 public bool is_ancestor (Gtk
.Widget ancestor
);
4590 public bool is_composited ();
4591 public bool keynav_failed (Gtk
.DirectionType direction
);
4592 public weak GLib
.List
list_accel_closures ();
4593 public weak GLib
.List
list_mnemonic_labels ();
4594 public void modify_base (Gtk
.StateType state
, Gdk
.Color color
);
4595 public void modify_bg (Gtk
.StateType state
, Gdk
.Color color
);
4596 public void modify_cursor (Gdk
.Color primary
, Gdk
.Color secondary
);
4597 public void modify_fg (Gtk
.StateType state
, Gdk
.Color color
);
4598 public void modify_font (Pango
.FontDescription font_desc
);
4599 public void modify_style (Gtk
.RcStyle style
);
4600 public void modify_text (Gtk
.StateType state
, Gdk
.Color color
);
4601 public Widget (GLib
.Type type
, string first_property_name
);
4602 public void path (uint path_length
, string path
, string path_reversed
);
4603 public static void pop_colormap ();
4604 public static void pop_composite_child ();
4605 public static void push_colormap (Gdk
.Colormap cmap
);
4606 public static void push_composite_child ();
4607 public void queue_draw ();
4608 public void queue_draw_area (int x
, int y
, int width
, int height
);
4609 public void queue_resize ();
4610 public void queue_resize_no_redraw ();
4611 public weak Gdk
.Region
region_intersect (Gdk
.Region region
);
4612 public bool remove_accelerator (Gtk
.AccelGroup accel_group
, uint accel_key
, Gdk
.ModifierType accel_mods
);
4613 public void remove_mnemonic_label (Gtk
.Widget label
);
4614 public weak Gdk
.Pixbuf
render_icon (string stock_id
, Gtk
.IconSize size
, string detail
);
4615 public void reparent (Gtk
.Widget new_parent
);
4616 public void reset_rc_styles ();
4617 public void reset_shapes ();
4618 public int send_expose (Gdk
.Event event
);
4619 public void set_accel_path (string accel_path
, Gtk
.AccelGroup accel_group
);
4620 public void set_app_paintable (bool app_paintable
);
4621 public void set_child_visible (bool is_visible
);
4622 public void set_colormap (Gdk
.Colormap colormap
);
4623 public void set_composite_name (string name
);
4624 public static void set_default_colormap (Gdk
.Colormap colormap
);
4625 public static void set_default_direction (Gtk
.TextDirection dir
);
4626 public void set_direction (Gtk
.TextDirection dir
);
4627 public void set_double_buffered (bool double_buffered
);
4628 public void set_events (int events
);
4629 public void set_extension_events (Gdk
.ExtensionMode mode
);
4630 public void set_name (string name
);
4631 public void set_no_show_all (bool no_show_all
);
4632 public void set_parent (Gtk
.Widget parent
);
4633 public void set_parent_window (Gdk
.Window parent_window
);
4634 public void set_redraw_on_allocate (bool redraw_on_allocate
);
4635 public bool set_scroll_adjustments (Gtk
.Adjustment hadjustment
, Gtk
.Adjustment vadjustment
);
4636 public void set_sensitive (bool sensitive
);
4637 public void set_size_request (int width
, int height
);
4638 public void set_state (Gtk
.StateType state
);
4639 public void set_style (Gtk
.Style style
);
4640 public void set_tooltip_markup (string markup
);
4641 public void set_tooltip_text (string text
);
4642 public void set_tooltip_window (Gtk
.Window custom_window
);
4643 public void shape_combine_mask (Gdk
.Bitmap shape_mask
, int offset_x
, int offset_y
);
4644 public virtual void show_all ();
4645 public void show_now ();
4646 public void style_get (string first_property_name
);
4647 public void style_get_property (string property_name
, GLib
.Value value
);
4648 public void style_get_valist (string first_property_name
, pointer var_args
);
4649 public void thaw_child_notify ();
4650 public bool translate_coordinates (Gtk
.Widget dest_widget
, int src_x
, int src_y
, int dest_x
, int dest_y
);
4651 public void trigger_tooltip_query ();
4652 public void unparent ();
4653 public weak string name
{ get; set; }
4654 public weak Gtk
.Container parent
{ get; set; }
4656 public weak int width_request
{ get; set; }
4658 public weak int height_request
{ get; set; }
4660 public weak bool visible
{ get; set; }
4662 public weak bool sensitive
{ get; set; }
4664 public weak bool app_paintable
{ get; set; }
4666 public weak bool can_focus
{ get; set; }
4668 public weak bool has_focus
{ get; set; }
4670 public weak bool is_focus
{ get; set; }
4672 public weak bool can_default
{ get; set; }
4674 public weak bool has_default
{ get; set; }
4676 public weak bool receives_default
{ get; set; }
4678 public weak bool composite_child
{ get; }
4679 public weak Gtk
.Style style
{ get; set; }
4680 public weak Gdk
.EventMask events
{ get; set; }
4681 public weak Gdk
.ExtensionMode extension_events
{ get; set; }
4682 public weak bool no_show_all
{ get; set; }
4684 public weak bool has_tooltip
{ get; set; }
4685 public weak string tooltip_text
{ get; set; }
4686 public weak string tooltip_markup
{ get; set; }
4688 public signal void show ();
4690 public signal void hide ();
4692 public signal void map ();
4694 public signal void unmap ();
4696 public signal void realize ();
4698 public signal void unrealize ();
4700 public signal void size_request (ref Gtk
.Requisition requisition
);
4702 public signal void size_allocate (ref Gtk
.Allocation allocation
);
4703 public signal void state_changed (Gtk
.StateType previous_state
);
4704 public signal void parent_set (Gtk
.Widget previous_parent
);
4705 public signal void hierarchy_changed (Gtk
.Widget previous_toplevel
);
4706 public signal void style_set (Gtk
.Style previous_style
);
4707 public signal void direction_changed (Gtk
.TextDirection previous_direction
);
4708 public signal void grab_notify (bool was_grabbed
);
4710 public signal void child_notify (GLib
.ParamSpec pspec
);
4712 public signal bool mnemonic_activate (bool group_cycling
);
4714 public signal void grab_focus ();
4715 public signal bool focus (Gtk
.DirectionType direction
);
4717 public signal bool event (Gdk
.Event event
);
4718 public signal void event_after (Gdk
.Event p0
);
4719 public signal bool button_press_event (Gdk
.EventButton event
);
4720 public signal bool button_release_event (Gdk
.EventButton event
);
4721 public signal bool scroll_event (Gdk
.EventScroll event
);
4722 public signal bool motion_notify_event (Gdk
.EventMotion event
);
4723 public signal void composited_changed ();
4724 public signal bool delete_event (Gdk
.EventAny event
);
4725 public signal bool destroy_event (Gdk
.EventAny event
);
4726 public signal bool expose_event (Gdk
.EventExpose event
);
4727 public signal bool key_press_event (Gdk
.EventKey event
);
4728 public signal bool key_release_event (Gdk
.EventKey event
);
4729 public signal bool enter_notify_event (Gdk
.EventCrossing event
);
4730 public signal bool leave_notify_event (Gdk
.EventCrossing event
);
4731 public signal bool configure_event (Gdk
.EventConfigure event
);
4732 public signal bool focus_in_event (Gdk
.EventFocus event
);
4733 public signal bool focus_out_event (Gdk
.EventFocus event
);
4734 public signal bool map_event (Gdk
.EventAny event
);
4735 public signal bool unmap_event (Gdk
.EventAny event
);
4736 public signal bool property_notify_event (Gdk
.EventProperty event
);
4737 public signal bool selection_clear_event (Gdk
.EventSelection event
);
4738 public signal bool selection_request_event (Gdk
.EventSelection event
);
4739 public signal bool selection_notify_event (Gdk
.EventSelection event
);
4740 public signal void selection_received (Gtk
.SelectionData selection_data
, uint time_
);
4741 public signal void selection_get (Gtk
.SelectionData selection_data
, uint info
, uint time_
);
4742 public signal bool proximity_in_event (Gdk
.EventProximity event
);
4743 public signal bool proximity_out_event (Gdk
.EventProximity event
);
4744 public signal void drag_leave (Gdk
.DragContext context
, uint time_
);
4745 public signal void drag_begin (Gdk
.DragContext context
);
4746 public signal void drag_end (Gdk
.DragContext context
);
4747 public signal void drag_data_delete (Gdk
.DragContext context
);
4748 public signal bool drag_failed (Gdk
.DragContext p0
, Gtk
.DragResult p1
);
4749 public signal bool drag_motion (Gdk
.DragContext context
, int x
, int y
, uint time_
);
4750 public signal bool drag_drop (Gdk
.DragContext context
, int x
, int y
, uint time_
);
4751 public signal void drag_data_get (Gdk
.DragContext context
, Gtk
.SelectionData selection_data
, uint info
, uint time_
);
4752 public signal void drag_data_received (Gdk
.DragContext context
, int x
, int y
, Gtk
.SelectionData selection_data
, uint info
, uint time_
);
4753 public signal bool visibility_notify_event (Gdk
.EventVisibility event
);
4754 public signal bool client_event (Gdk
.EventClient event
);
4755 public signal bool no_expose_event (Gdk
.EventAny event
);
4756 public signal bool window_state_event (Gdk
.EventWindowState event
);
4757 public signal bool grab_broken_event (Gdk
.EventGrabBroken event
);
4758 public signal bool query_tooltip (int x
, int y
, bool keyboard_tooltip
, Gtk
.Tooltip tooltip
);
4759 public signal bool popup_menu ();
4760 public signal bool show_help (Gtk
.WidgetHelpType help_type
);
4761 public signal void accel_closures_changed ();
4762 public signal void screen_changed (Gdk
.Screen previous_screen
);
4764 public signal bool can_activate_accel (uint signal_id
);
4766 [CCode (cheader_filename
= "gtk/gtk.h")]
4767 public class Win32EmbedWidget
: Gtk
.Window
{
4768 public static GLib
.Type
get_type ();
4770 [CCode (cheader_filename
= "gtk/gtk.h")]
4771 public class Window
: Gtk
.Bin
, Gtk
.Buildable
{
4772 public bool activate_default ();
4773 public bool activate_focus ();
4774 public bool activate_key (Gdk
.EventKey event
);
4775 public void add_accel_group (Gtk
.AccelGroup accel_group
);
4776 public void add_embedded_xid (uint xid
);
4777 public void add_mnemonic (uint keyval
, Gtk
.Widget target
);
4778 public void begin_move_drag (int button
, int root_x
, int root_y
, uint timestamp
);
4779 public void begin_resize_drag (Gdk
.WindowEdge edge
, int button
, int root_x
, int root_y
, uint timestamp
);
4780 public void deiconify ();
4781 public void fullscreen ();
4782 public bool get_accept_focus ();
4783 public bool get_decorated ();
4784 public static weak GLib
.List
get_default_icon_list ();
4785 public void get_default_size (int width
, int height
);
4786 public bool get_deletable ();
4787 public bool get_destroy_with_parent ();
4788 public weak Gtk
.Widget
get_focus ();
4789 public bool get_focus_on_map ();
4790 public void get_frame_dimensions (int left
, int top
, int right
, int bottom
);
4791 public Gdk
.Gravity
get_gravity ();
4792 public weak Gtk
.WindowGroup
get_group ();
4793 public bool get_has_frame ();
4794 public weak Gdk
.Pixbuf
get_icon ();
4795 public weak GLib
.List
get_icon_list ();
4796 public weak string get_icon_name ();
4797 public Gdk
.ModifierType
get_mnemonic_modifier ();
4798 public bool get_modal ();
4799 public double get_opacity ();
4800 public void get_position (int root_x
, int root_y
);
4801 public bool get_resizable ();
4802 public weak string get_role ();
4803 public weak Gdk
.Screen
get_screen ();
4804 public void get_size (int width
, int height
);
4805 public bool get_skip_pager_hint ();
4806 public bool get_skip_taskbar_hint ();
4807 public weak string get_title ();
4808 public weak Gtk
.Window
get_transient_for ();
4809 public static GLib
.Type
get_type ();
4810 public Gdk
.WindowTypeHint
get_type_hint ();
4811 public bool get_urgency_hint ();
4812 public void iconify ();
4813 public static weak GLib
.List
list_toplevels ();
4814 public void maximize ();
4815 public bool mnemonic_activate (uint keyval
, Gdk
.ModifierType modifier
);
4816 public void move (int x
, int y
);
4817 public Window (Gtk
.WindowType type
);
4818 public bool parse_geometry (string geometry
);
4819 public void present ();
4820 public void present_with_time (uint timestamp
);
4821 public bool propagate_key_event (Gdk
.EventKey event
);
4822 public void remove_accel_group (Gtk
.AccelGroup accel_group
);
4823 public void remove_embedded_xid (uint xid
);
4824 public void remove_mnemonic (uint keyval
, Gtk
.Widget target
);
4825 public void reshow_with_initial_size ();
4826 public void resize (int width
, int height
);
4827 public void set_accept_focus (bool setting
);
4828 public static void set_auto_startup_notification (bool setting
);
4829 public void set_decorated (bool setting
);
4830 public void set_default (Gtk
.Widget default_widget
);
4831 public static void set_default_icon (Gdk
.Pixbuf icon
);
4832 public static bool set_default_icon_from_file (string filename
, GLib
.Error err
);
4833 public static void set_default_icon_list (GLib
.List list
);
4834 public static void set_default_icon_name (string name
);
4835 public void set_default_size (int width
, int height
);
4836 public void set_deletable (bool setting
);
4837 public void set_destroy_with_parent (bool setting
);
4838 public void set_focus_on_map (bool setting
);
4839 public void set_frame_dimensions (int left
, int top
, int right
, int bottom
);
4840 public void set_geometry_hints (Gtk
.Widget geometry_widget
, Gdk
.Geometry geometry
, Gdk
.WindowHints geom_mask
);
4841 public void set_gravity (Gdk
.Gravity gravity
);
4842 public void set_has_frame (bool setting
);
4843 public void set_icon (Gdk
.Pixbuf icon
);
4844 public bool set_icon_from_file (string filename
, GLib
.Error err
);
4845 public void set_icon_list (GLib
.List list
);
4846 public void set_icon_name (string name
);
4847 public void set_keep_above (bool setting
);
4848 public void set_keep_below (bool setting
);
4849 public void set_mnemonic_modifier (Gdk
.ModifierType modifier
);
4850 public void set_modal (bool modal
);
4851 public void set_opacity (double opacity
);
4852 public void set_position (Gtk
.WindowPosition position
);
4853 public void set_resizable (bool resizable
);
4854 public void set_role (string role
);
4855 public void set_screen (Gdk
.Screen screen
);
4856 public void set_skip_pager_hint (bool setting
);
4857 public void set_skip_taskbar_hint (bool setting
);
4858 public void set_startup_id (string startup_id
);
4859 public void set_title (string title
);
4860 public void set_transient_for (Gtk
.Window parent
);
4861 public void set_type_hint (Gdk
.WindowTypeHint hint
);
4862 public void set_urgency_hint (bool setting
);
4863 public void set_wmclass (string wmclass_name
, string wmclass_class
);
4864 public void stick ();
4865 public void unfullscreen ();
4866 public void unmaximize ();
4867 public void unstick ();
4869 public weak Gtk
.WindowType type
{ get; construct; }
4870 public weak string title
{ get; set; }
4871 public weak string role
{ get; set; }
4872 public weak string startup_id
{ set; }
4874 public weak bool allow_shrink
{ get; set; }
4876 public weak bool allow_grow
{ get; set; }
4877 public weak bool resizable
{ get; set; }
4878 public weak bool modal
{ get; set; }
4880 public weak Gtk
.WindowPosition window_position
{ get; set; }
4882 public weak int default_width
{ get; set; }
4884 public weak int default_height
{ get; set; }
4885 public weak bool destroy_with_parent
{ get; set; }
4886 public weak Gdk
.Pixbuf icon
{ get; set; }
4887 public weak string icon_name
{ get; set; }
4888 public weak Gdk
.Screen screen
{ get; set; }
4890 public weak bool is_active
{ get; }
4892 public weak bool has_toplevel_focus
{ get; }
4893 public weak Gdk
.WindowTypeHint type_hint
{ get; set; }
4894 public weak bool skip_taskbar_hint
{ get; set; }
4895 public weak bool skip_pager_hint
{ get; set; }
4896 public weak bool urgency_hint
{ get; set; }
4897 public weak bool accept_focus
{ get; set; }
4898 public weak bool focus_on_map
{ get; set; }
4899 public weak bool decorated
{ get; set; }
4900 public weak bool deletable
{ get; set; }
4901 public weak Gdk
.Gravity gravity
{ get; set; }
4902 public weak Gtk
.Window transient_for
{ get; set construct; }
4903 public weak double opacity
{ get; set; }
4905 public signal void set_focus (Gtk
.Widget focus
);
4906 public signal bool frame_event (Gdk
.Event event
);
4907 public signal void focus_activated ();
4908 public signal void default_activated ();
4909 public signal void keys_changed ();
4911 [CCode (cheader_filename
= "gtk/gtk.h")]
4912 public class WindowGroup
: GLib
.Object
{
4913 public void add_window (Gtk
.Window window
);
4914 public static GLib
.Type
get_type ();
4915 public WindowGroup ();
4916 public void remove_window (Gtk
.Window window
);
4918 [CCode (cheader_filename
= "gtk/gtk.h")]
4919 public interface Buildable
{
4920 public virtual void add_child (Gtk
.Builder builder
, GLib
.Object child
, string type
);
4921 public virtual weak GLib
.Object
construct_child (Gtk
.Builder builder
, string name
);
4922 public virtual void custom_finished (Gtk
.Builder builder
, GLib
.Object child
, string tagname
, pointer data
);
4923 public virtual void custom_tag_end (Gtk
.Builder builder
, GLib
.Object child
, string tagname
, pointer data
);
4924 public virtual bool custom_tag_start (Gtk
.Builder builder
, GLib
.Object child
, string tagname
, GLib
.MarkupParser parser
, pointer data
);
4925 public virtual weak GLib
.Object
get_internal_child (Gtk
.Builder builder
, string childname
);
4926 public weak string get_name ();
4927 public static GLib
.Type
get_type ();
4928 public virtual void parser_finished (Gtk
.Builder builder
);
4929 public virtual void set_buildable_property (Gtk
.Builder builder
, string name
, GLib
.Value value
);
4930 public virtual void set_name (string name
);
4932 [CCode (cheader_filename
= "gtk/gtk.h")]
4933 public interface CellEditable
{
4934 public static GLib
.Type
get_type ();
4936 public signal void editing_done ();
4938 public signal void remove_widget ();
4940 [CCode (cheader_filename
= "gtk/gtk.h")]
4941 public interface CellLayout
{
4942 public virtual void add_attribute (Gtk
.CellRenderer cell
, string attribute
, int column
);
4943 public virtual void clear ();
4944 public virtual void clear_attributes (Gtk
.CellRenderer cell
);
4945 public virtual weak GLib
.List
get_cells ();
4946 public static GLib
.Type
get_type ();
4947 public virtual void pack_end (Gtk
.CellRenderer cell
, bool expand
);
4948 public virtual void pack_start (Gtk
.CellRenderer cell
, bool expand
);
4949 public virtual void reorder (Gtk
.CellRenderer cell
, int position
);
4950 public void set_attributes (Gtk
.CellRenderer cell
);
4951 public virtual void set_cell_data_func (Gtk
.CellRenderer cell
, Gtk
.CellLayoutDataFunc func
, pointer func_data
, GLib
.DestroyNotify destroy
);
4953 [CCode (cheader_filename
= "gtk/gtk.h")]
4954 public interface Editable
{
4955 public void copy_clipboard ();
4956 public void cut_clipboard ();
4957 public void delete_selection ();
4958 public virtual weak string get_chars (int start_pos
, int end_pos
);
4959 public bool get_editable ();
4960 public virtual int get_position ();
4961 public virtual bool get_selection_bounds (int start
, int end
);
4962 public static GLib
.Type
get_type ();
4963 public void paste_clipboard ();
4964 public void select_region (int start
, int end
);
4965 public void set_editable (bool is_editable
);
4966 public virtual void set_position (int position
);
4968 public signal void insert_text (string text
, int length
, int position
);
4970 public signal void delete_text (int start_pos
, int end_pos
);
4971 public signal void changed ();
4973 [CCode (cheader_filename
= "gtk/gtk.h")]
4974 public interface FileChooser
{
4975 public void add_filter (Gtk
.FileFilter filter
);
4976 public bool add_shortcut_folder (string folder
, GLib
.Error error
);
4977 public bool add_shortcut_folder_uri (string uri
, GLib
.Error error
);
4978 public static GLib
.Quark
error_quark ();
4979 public Gtk
.FileChooserAction
get_action ();
4980 public weak string get_current_folder ();
4981 public weak string get_current_folder_uri ();
4982 public bool get_do_overwrite_confirmation ();
4983 public weak Gtk
.Widget
get_extra_widget ();
4984 public weak string get_filename ();
4985 public weak GLib
.SList
get_filenames ();
4986 public weak Gtk
.FileFilter
get_filter ();
4987 public bool get_local_only ();
4988 public weak string get_preview_filename ();
4989 public weak string get_preview_uri ();
4990 public weak Gtk
.Widget
get_preview_widget ();
4991 public bool get_preview_widget_active ();
4992 public bool get_select_multiple ();
4993 public bool get_show_hidden ();
4994 public static GLib
.Type
get_type ();
4995 public weak string get_uri ();
4996 public weak GLib
.SList
get_uris ();
4997 public bool get_use_preview_label ();
4998 public weak GLib
.SList
list_filters ();
4999 public weak GLib
.SList
list_shortcut_folder_uris ();
5000 public weak GLib
.SList
list_shortcut_folders ();
5001 public void remove_filter (Gtk
.FileFilter filter
);
5002 public bool remove_shortcut_folder (string folder
, GLib
.Error error
);
5003 public bool remove_shortcut_folder_uri (string uri
, GLib
.Error error
);
5004 public void select_all ();
5005 public bool select_filename (string filename
);
5006 public bool select_uri (string uri
);
5007 public void set_action (Gtk
.FileChooserAction action
);
5008 public bool set_current_folder (string filename
);
5009 public bool set_current_folder_uri (string uri
);
5010 public void set_current_name (string name
);
5011 public void set_do_overwrite_confirmation (bool do_overwrite_confirmation
);
5012 public void set_extra_widget (Gtk
.Widget extra_widget
);
5013 public bool set_filename (string filename
);
5014 public void set_filter (Gtk
.FileFilter filter
);
5015 public void set_local_only (bool local_only
);
5016 public void set_preview_widget (Gtk
.Widget preview_widget
);
5017 public void set_preview_widget_active (bool active
);
5018 public void set_select_multiple (bool select_multiple
);
5019 public void set_show_hidden (bool show_hidden
);
5020 public bool set_uri (string uri
);
5021 public void set_use_preview_label (bool use_label
);
5022 public void unselect_all ();
5023 public void unselect_filename (string filename
);
5024 public void unselect_uri (string uri
);
5026 [CCode (cheader_filename
= "gtk/gtk.h")]
5027 public interface PrintOperationPreview
{
5028 public virtual void end_preview ();
5029 public static GLib
.Type
get_type ();
5030 public virtual bool is_selected (int page_nr
);
5031 public virtual void render_page (int page_nr
);
5032 public signal void ready (Gtk
.PrintContext context
);
5033 public signal void got_page_size (Gtk
.PrintContext context
, Gtk
.PageSetup page_setup
);
5035 [CCode (cheader_filename
= "gtk/gtk.h")]
5036 public interface RecentChooser
{
5037 public virtual void add_filter (Gtk
.RecentFilter filter
);
5038 public static GLib
.Quark
error_quark ();
5039 public weak Gtk
.RecentInfo
get_current_item ();
5040 public virtual weak string get_current_uri ();
5041 public weak Gtk
.RecentFilter
get_filter ();
5042 public virtual weak GLib
.List
get_items ();
5043 public int get_limit ();
5044 public bool get_local_only ();
5045 public bool get_select_multiple ();
5046 public bool get_show_icons ();
5047 public bool get_show_not_found ();
5048 public bool get_show_numbers ();
5049 public bool get_show_private ();
5050 public bool get_show_tips ();
5051 public Gtk
.RecentSortType
get_sort_type ();
5052 public static GLib
.Type
get_type ();
5053 public weak string get_uris (ulong length
);
5054 public virtual weak GLib
.SList
list_filters ();
5055 public virtual void remove_filter (Gtk
.RecentFilter filter
);
5056 public virtual void select_all ();
5057 public virtual bool select_uri (string uri
, GLib
.Error error
);
5058 public virtual bool set_current_uri (string uri
, GLib
.Error error
);
5059 public void set_filter (Gtk
.RecentFilter filter
);
5060 public void set_limit (int limit
);
5061 public void set_local_only (bool local_only
);
5062 public void set_select_multiple (bool select_multiple
);
5063 public void set_show_icons (bool show_icons
);
5064 public void set_show_not_found (bool show_not_found
);
5065 public void set_show_numbers (bool show_numbers
);
5066 public void set_show_private (bool show_private
);
5067 public void set_show_tips (bool show_tips
);
5068 public virtual void set_sort_func (Gtk
.RecentSortFunc sort_func
, pointer sort_data
, GLib
.DestroyNotify data_destroy
);
5069 public void set_sort_type (Gtk
.RecentSortType sort_type
);
5070 public virtual void unselect_all ();
5071 public virtual void unselect_uri (string uri
);
5072 public signal void selection_changed ();
5073 public signal void item_activated ();
5075 [CCode (cheader_filename
= "gtk/gtk.h")]
5076 public interface TreeDragDest
{
5077 public virtual bool drag_data_received (Gtk
.TreePath dest
, Gtk
.SelectionData selection_data
);
5078 public static GLib
.Type
get_type ();
5079 public virtual bool row_drop_possible (Gtk
.TreePath dest_path
, Gtk
.SelectionData selection_data
);
5081 [CCode (cheader_filename
= "gtk/gtk.h")]
5082 public interface TreeDragSource
{
5083 public virtual bool drag_data_delete (Gtk
.TreePath path
);
5084 public virtual bool drag_data_get (Gtk
.TreePath path
, Gtk
.SelectionData selection_data
);
5085 public static GLib
.Type
get_type ();
5086 public virtual bool row_draggable (Gtk
.TreePath path
);
5088 [CCode (cheader_filename
= "gtk/gtk.h")]
5089 public interface TreeModel
{
5090 public void @
foreach (Gtk
.TreeModelForeachFunc func
, pointer user_data
);
5091 public void get (ref Gtk
.TreeIter iter
, ...);
5092 public virtual GLib
.Type
get_column_type (int index_
);
5093 public virtual Gtk
.TreeModelFlags
get_flags ();
5094 public virtual bool get_iter (ref Gtk
.TreeIter iter
, Gtk
.TreePath path
);
5095 public bool get_iter_first (ref Gtk
.TreeIter iter
);
5096 public bool get_iter_from_string (ref Gtk
.TreeIter iter
, string path_string
);
5097 public virtual int get_n_columns ();
5098 public virtual weak Gtk
.TreePath
get_path (ref Gtk
.TreeIter iter
);
5099 public weak string get_string_from_iter (ref Gtk
.TreeIter iter
);
5100 public static GLib
.Type
get_type ();
5101 public void get_valist (ref Gtk
.TreeIter iter
, pointer var_args
);
5102 public virtual void get_value (ref Gtk
.TreeIter iter
, int column
, GLib
.Value value
);
5103 public virtual bool iter_children (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
);
5104 public virtual bool iter_has_child (ref Gtk
.TreeIter iter
);
5105 public virtual int iter_n_children (ref Gtk
.TreeIter iter
);
5106 public virtual bool iter_next (ref Gtk
.TreeIter iter
);
5107 public virtual bool iter_nth_child (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter parent
, int n
);
5108 public virtual bool iter_parent (ref Gtk
.TreeIter iter
, ref Gtk
.TreeIter child
);
5109 public virtual void ref_node (ref Gtk
.TreeIter iter
);
5110 public virtual void unref_node (ref Gtk
.TreeIter iter
);
5112 public signal void row_changed (Gtk
.TreePath path
, ref Gtk
.TreeIter iter
);
5114 public signal void row_inserted (Gtk
.TreePath path
, ref Gtk
.TreeIter iter
);
5116 public signal void row_has_child_toggled (Gtk
.TreePath path
, ref Gtk
.TreeIter iter
);
5118 public signal void row_deleted (Gtk
.TreePath path
);
5120 public signal void rows_reordered (Gtk
.TreePath path
, ref Gtk
.TreeIter iter
, int new_order
);
5122 [CCode (cheader_filename
= "gtk/gtk.h")]
5123 public interface TreeSortable
{
5124 public virtual bool get_sort_column_id (int sort_column_id
, Gtk
.SortType order
);
5125 public static GLib
.Type
get_type ();
5126 public virtual bool has_default_sort_func ();
5127 public virtual void set_default_sort_func (Gtk
.TreeIterCompareFunc sort_func
, pointer user_data
, Gtk
.DestroyNotify destroy
);
5128 public virtual void set_sort_column_id (int sort_column_id
, Gtk
.SortType order
);
5129 public virtual void set_sort_func (int sort_column_id
, Gtk
.TreeIterCompareFunc sort_func
, pointer user_data
, Gtk
.DestroyNotify destroy
);
5131 public signal void sort_column_changed ();
5134 public struct CacheInfo
{
5135 public weak string cache
;
5136 public ulong cache_size
;
5137 public uint n_directories
;
5141 public struct AccelGroupEntry
{
5142 public weak Gtk
.AccelKey key
;
5143 public GLib
.Closure closure
;
5144 public GLib
.Quark accel_path_quark
;
5147 public struct AccelKey
{
5148 public uint accel_key
;
5149 public Gdk
.ModifierType accel_mods
;
5150 public uint accel_flags
;
5152 public struct ActionEntry
{
5153 public weak string name
;
5154 public weak string stock_id
;
5155 public weak string label
;
5156 public weak string accelerator
;
5157 public weak string tooltip
;
5158 public GLib
.Callback @
callback;
5161 public struct BindingArg
{
5162 public GLib
.Type arg_type
;
5163 public long long_data
;
5166 public struct BindingEntry
{
5168 public Gdk
.ModifierType modifiers
;
5169 public weak Gtk
.BindingSet binding_set
;
5170 public uint destroyed
;
5171 public uint in_emission
;
5172 public uint marks_unbound
;
5173 public weak Gtk
.BindingEntry set_next
;
5174 public weak Gtk
.BindingEntry hash_next
;
5175 public weak Gtk
.BindingSignal signals
;
5176 public static void add_signal (Gtk
.BindingSet binding_set
, uint keyval
, Gdk
.ModifierType modifiers
, string signal_name
, uint n_args
);
5177 public static void remove (Gtk
.BindingSet binding_set
, uint keyval
, Gdk
.ModifierType modifiers
);
5178 public static void skip (Gtk
.BindingSet binding_set
, uint keyval
, Gdk
.ModifierType modifiers
);
5181 public struct BindingSet
{
5182 public weak string set_name
;
5183 public int priority
;
5184 public weak GLib
.SList widget_path_pspecs
;
5185 public weak GLib
.SList widget_class_pspecs
;
5186 public weak GLib
.SList class_branch_pspecs
;
5187 public weak Gtk
.BindingEntry entries
;
5188 public weak Gtk
.BindingEntry current
;
5190 public bool activate (uint keyval
, Gdk
.ModifierType modifiers
, Gtk
.Object
object);
5191 public void add_path (Gtk
.PathType path_type
, string path_pattern
, Gtk
.PathPriorityType priority
);
5192 public static weak Gtk
.BindingSet
by_class (pointer object_class
);
5193 public static weak Gtk
.BindingSet
find (string set_name
);
5194 public BindingSet (string set_name
);
5197 public struct BindingSignal
{
5198 public weak Gtk
.BindingSignal next
;
5199 public weak string signal_name
;
5201 public weak Gtk
.BindingArg args
;
5203 public struct Border
{
5208 [InstanceByReference
]
5209 public Gtk
.Border
copy ();
5210 [InstanceByReference
]
5211 public void free ();
5212 public static GLib
.Type
get_type ();
5215 public struct BoxChild
{
5216 public weak Gtk
.Widget widget
;
5217 public ushort padding
;
5221 public uint is_secondary
;
5224 public struct FileFilterInfo
{
5225 public Gtk
.FileFilterFlags contains
;
5226 public weak string filename
;
5227 public weak string uri
;
5228 public weak string display_name
;
5229 public weak string mime_type
;
5232 public struct FixedChild
{
5233 public weak Gtk
.Widget widget
;
5238 public struct IMContextInfo
{
5239 public weak string context_id
;
5240 public weak string context_name
;
5241 public weak string domain
;
5242 public weak string domain_dirname
;
5243 public weak string default_locales
;
5246 public struct IconInfo
{
5247 public weak Gtk
.IconInfo
copy ();
5248 public void free ();
5250 public bool get_attach_points (Gdk
.Point
[] points
, int n_points
);
5251 public int get_base_size ();
5252 public weak Gdk
.Pixbuf
get_builtin_pixbuf ();
5253 public weak string get_display_name ();
5254 public bool get_embedded_rect (Gdk
.Rectangle rectangle
);
5255 public weak string get_filename ();
5256 public static GLib
.Type
get_type ();
5257 public weak Gdk
.Pixbuf
load_icon (GLib
.Error error
);
5258 public void set_raw_coordinates (bool raw_coordinates
);
5261 public struct IconSet
{
5262 public void add_source (Gtk
.IconSource source
);
5263 public weak Gtk
.IconSet
copy ();
5265 public void get_sizes (Gtk
.IconSize
[] sizes
, int n_sizes
);
5266 public static GLib
.Type
get_type ();
5268 public IconSet
.from_pixbuf (Gdk
.Pixbuf pixbuf
);
5269 public weak Gtk
.IconSet @
ref ();
5270 public weak Gdk
.Pixbuf
render_icon (Gtk
.Style style
, Gtk
.TextDirection direction
, Gtk
.StateType state
, Gtk
.IconSize size
, Gtk
.Widget widget
, string detail
);
5271 public void unref ();
5274 public struct IconSource
{
5275 public weak Gtk
.IconSource
copy ();
5276 public void free ();
5277 public Gtk
.TextDirection
get_direction ();
5278 public bool get_direction_wildcarded ();
5279 public weak string get_filename ();
5280 public weak string get_icon_name ();
5281 public weak Gdk
.Pixbuf
get_pixbuf ();
5282 public Gtk
.IconSize
get_size ();
5283 public bool get_size_wildcarded ();
5284 public Gtk
.StateType
get_state ();
5285 public bool get_state_wildcarded ();
5286 public static GLib
.Type
get_type ();
5287 public IconSource ();
5288 public void set_direction (Gtk
.TextDirection direction
);
5289 public void set_direction_wildcarded (bool setting
);
5290 public void set_filename (string filename
);
5291 public void set_icon_name (string icon_name
);
5292 public void set_pixbuf (Gdk
.Pixbuf pixbuf
);
5293 public void set_size (Gtk
.IconSize size
);
5294 public void set_size_wildcarded (bool setting
);
5295 public void set_state (Gtk
.StateType state
);
5296 public void set_state_wildcarded (bool setting
);
5299 public struct ImageAnimationData
{
5300 public weak Gdk
.PixbufAnimation anim
;
5301 public weak Gdk
.PixbufAnimationIter iter
;
5302 public uint frame_timeout
;
5305 public struct ImageIconNameData
{
5306 public weak string icon_name
;
5307 public weak Gdk
.Pixbuf pixbuf
;
5308 public uint theme_change_id
;
5311 public struct ImageIconSetData
{
5312 public weak Gtk
.IconSet icon_set
;
5315 public struct ImageImageData
{
5316 public weak Gdk
.Image image
;
5319 public struct ImagePixbufData
{
5320 public weak Gdk
.Pixbuf pixbuf
;
5323 public struct ImagePixmapData
{
5324 public weak Gdk
.Pixmap pixmap
;
5327 public struct ImageStockData
{
5328 public weak string stock_id
;
5331 public struct KeyHash
{
5334 public struct LabelSelectionInfo
{
5337 public struct MenuEntry
{
5338 public weak string path
;
5339 public weak string accelerator
;
5340 public Gtk
.MenuCallback @
callback;
5341 public pointer callback_data
;
5342 public weak Gtk
.Widget widget
;
5345 public struct MnemonicHash
{
5348 public struct NotebookPage
{
5349 public static int num (Gtk
.Notebook notebook
, Gtk
.Widget child
);
5352 public struct PageRange
{
5357 public struct PaperSize
{
5358 public weak Gtk
.PaperSize
copy ();
5359 public void free ();
5360 public static weak string get_default ();
5361 public double get_default_bottom_margin (Gtk
.Unit unit
);
5362 public double get_default_left_margin (Gtk
.Unit unit
);
5363 public double get_default_right_margin (Gtk
.Unit unit
);
5364 public double get_default_top_margin (Gtk
.Unit unit
);
5365 public weak string get_display_name ();
5366 public double get_height (Gtk
.Unit unit
);
5367 public weak string get_name ();
5368 public static weak GLib
.List
get_paper_sizes (bool include_custom
);
5369 public weak string get_ppd_name ();
5370 public static GLib
.Type
get_type ();
5371 public double get_width (Gtk
.Unit unit
);
5372 public bool is_custom ();
5373 public bool is_equal (Gtk
.PaperSize size2
);
5374 public PaperSize (string name
);
5375 public PaperSize
.custom (string name
, string display_name
, double width
, double height
, Gtk
.Unit unit
);
5376 public PaperSize
.from_key_file (GLib
.KeyFile key_file
, string group_name
, GLib
.Error error
);
5377 public PaperSize
.from_ppd (string ppd_name
, string ppd_display_name
, double width
, double height
);
5378 public void set_size (double width
, double height
, Gtk
.Unit unit
);
5379 public void to_key_file (GLib
.KeyFile key_file
, string group_name
);
5382 public struct PrintWin32Devnames
{
5383 public weak string driver
;
5384 public weak string device
;
5385 public weak string output
;
5387 public void free ();
5388 public static pointer
from_printer_name (string printer
);
5389 public static weak Gtk
.PrintWin32Devnames
from_win32 (pointer global
);
5390 public pointer
to_win32 ();
5392 public struct RadioActionEntry
{
5393 public weak string name
;
5394 public weak string stock_id
;
5395 public weak string label
;
5396 public weak string accelerator
;
5397 public weak string tooltip
;
5401 public struct RangeLayout
{
5404 public struct RangeStepTimer
{
5407 public struct RcContext
{
5410 public struct RcProperty
{
5411 public GLib
.Quark type_name
;
5412 public GLib
.Quark property_name
;
5413 public weak string origin
;
5414 public weak GLib
.Value value
;
5415 public static bool parse_border (GLib
.ParamSpec pspec
, GLib
.String gstring
, GLib
.Value property_value
);
5416 public static bool parse_color (GLib
.ParamSpec pspec
, GLib
.String gstring
, GLib
.Value property_value
);
5417 public static bool parse_enum (GLib
.ParamSpec pspec
, GLib
.String gstring
, GLib
.Value property_value
);
5418 public static bool parse_flags (GLib
.ParamSpec pspec
, GLib
.String gstring
, GLib
.Value property_value
);
5419 public static bool parse_requisition (GLib
.ParamSpec pspec
, GLib
.String gstring
, GLib
.Value property_value
);
5422 public struct RecentData
{
5423 public weak string display_name
;
5424 public weak string description
;
5425 public weak string mime_type
;
5426 public weak string app_name
;
5427 public weak string app_exec
;
5428 public weak string groups
;
5429 public bool is_private
;
5432 public struct RecentFilterInfo
{
5433 public Gtk
.RecentFilterFlags contains
;
5434 public weak string uri
;
5435 public weak string display_name
;
5436 public weak string mime_type
;
5437 public weak string applications
;
5438 public weak string groups
;
5442 public struct RecentInfo
{
5443 public bool exists ();
5444 public ulong get_added ();
5445 public int get_age ();
5446 public bool get_application_info (string app_name
, string app_exec
, uint count
, ulong time_
);
5447 public weak string get_applications (ulong length
);
5448 public weak string get_description ();
5449 public weak string get_display_name ();
5450 public weak string get_groups (ulong length
);
5451 public weak Gdk
.Pixbuf
get_icon (int size
);
5452 public weak string get_mime_type ();
5453 public ulong get_modified ();
5454 public bool get_private_hint ();
5455 public weak string get_short_name ();
5456 public static GLib
.Type
get_type ();
5457 public weak string get_uri ();
5458 public weak string get_uri_display ();
5459 public ulong get_visited ();
5460 public bool has_application (string app_name
);
5461 public bool has_group (string group_name
);
5462 public bool is_local ();
5463 public weak string last_application ();
5464 public bool match (Gtk
.RecentInfo info_b
);
5465 public weak Gtk
.RecentInfo @
ref ();
5466 public void unref ();
5468 public struct Requisition
{
5471 [InstanceByReference
]
5472 public Gtk
.Requisition
copy ();
5473 [InstanceByReference
]
5474 public void free ();
5475 public static GLib
.Type
get_type ();
5478 public struct RulerMetric
{
5479 public weak string metric_name
;
5480 public weak string abbrev
;
5481 public double pixels_per_unit
;
5482 public double ruler_scale
;
5483 public int subdivide
;
5486 public struct SelectionData
{
5487 public Gdk
.Atom selection
;
5488 public Gdk
.Atom target
;
5489 public Gdk
.Atom type
;
5491 public weak uchar[] data
;
5493 public weak Gdk
.Display display
;
5494 public weak Gtk
.SelectionData
copy ();
5495 public void free ();
5496 public weak Gdk
.Pixbuf
get_pixbuf ();
5497 public bool get_targets (Gdk
.Atom targets
, int n_atoms
);
5499 public weak uchar[] get_text ();
5500 public static GLib
.Type
get_type ();
5501 public weak string get_uris ();
5503 public void set (Gdk
.Atom type
, int format
, uchar[] data
, int length
);
5504 public bool set_pixbuf (Gdk
.Pixbuf pixbuf
);
5505 public bool set_text (string str
, int len
);
5506 public bool set_uris (string uris
);
5507 public bool targets_include_image (bool writable
);
5508 public bool targets_include_rich_text (Gtk
.TextBuffer buffer
);
5509 public bool targets_include_text ();
5510 public bool targets_include_uri ();
5513 public struct SettingsPropertyValue
{
5516 public struct SettingsValue
{
5517 public weak string origin
;
5518 public weak GLib
.Value value
;
5521 public struct StockItem
{
5522 public weak string stock_id
;
5523 public weak string label
;
5524 public Gdk
.ModifierType modifier
;
5526 public weak string translation_domain
;
5527 public weak Gtk
.StockItem
copy ();
5528 public void free ();
5531 public struct TableChild
{
5532 public weak Gtk
.Widget widget
;
5533 public ushort left_attach
;
5534 public ushort right_attach
;
5535 public ushort top_attach
;
5536 public ushort bottom_attach
;
5537 public ushort xpadding
;
5538 public ushort ypadding
;
5539 public uint xexpand
;
5540 public uint yexpand
;
5541 public uint xshrink
;
5542 public uint yshrink
;
5547 public struct TableRowCol
{
5548 public ushort requisition
;
5549 public ushort allocation
;
5550 public ushort spacing
;
5551 public uint need_expand
;
5552 public uint need_shrink
;
5558 public struct TargetEntry
{
5559 public weak string target
;
5564 public struct TargetList
{
5565 public weak GLib
.List list
;
5566 public uint ref_count
;
5567 public void add (Gdk
.Atom target
, uint @flags
, uint info
);
5568 public void add_image_targets (uint info
, bool writable
);
5569 public void add_rich_text_targets (uint info
, bool deserializable
, Gtk
.TextBuffer buffer
);
5570 public void add_table (Gtk
.TargetEntry targets
, uint ntargets
);
5571 public void add_text_targets (uint info
);
5572 public void add_uri_targets (uint info
);
5573 public bool find (Gdk
.Atom target
, uint info
);
5574 public static GLib
.Type
get_type ();
5575 public TargetList (Gtk
.TargetEntry targets
, uint ntargets
);
5576 public weak Gtk
.TargetList @
ref ();
5577 public void remove (Gdk
.Atom target
);
5578 public void unref ();
5581 public struct TargetPair
{
5582 public Gdk
.Atom target
;
5587 public struct TextAppearance
{
5588 public Gdk
.Color bg_color
;
5589 public Gdk
.Color fg_color
;
5590 public weak Gdk
.Bitmap bg_stipple
;
5591 public weak Gdk
.Bitmap fg_stipple
;
5593 public uint underline
;
5594 public uint strikethrough
;
5595 public uint draw_bg
;
5596 public uint inside_selection
;
5597 public uint is_text
;
5600 public struct TextAttributes
{
5601 public weak Gtk
.TextAppearance appearance
;
5602 public Gtk
.Justification justification
;
5603 public Gtk
.TextDirection direction
;
5604 public weak Pango
.FontDescription font
;
5605 public double font_scale
;
5606 public int left_margin
;
5608 public int right_margin
;
5609 public int pixels_above_lines
;
5610 public int pixels_below_lines
;
5611 public int pixels_inside_wrap
;
5612 public weak Pango
.TabArray tabs
;
5613 public Gtk
.WrapMode wrap_mode
;
5614 public weak Pango
.Language language
;
5615 public uint invisible
;
5616 public uint bg_full_height
;
5617 public uint editable
;
5618 public uint realized
;
5619 public weak Gtk
.TextAttributes
copy ();
5620 public void copy_values (Gtk
.TextAttributes dest
);
5621 public static GLib
.Type
get_type ();
5622 public TextAttributes ();
5623 public weak Gtk
.TextAttributes @
ref ();
5624 public void unref ();
5627 public struct TextBTree
{
5629 public struct TextIter
{
5630 [InstanceByReference
]
5631 public bool backward_char ();
5632 [InstanceByReference
]
5633 public bool backward_chars (int count
);
5634 [InstanceByReference
]
5635 public bool backward_cursor_position ();
5636 [InstanceByReference
]
5637 public bool backward_cursor_positions (int count
);
5638 [InstanceByReference
]
5639 public bool backward_find_char (Gtk
.TextCharPredicate pred
, pointer user_data
, ref Gtk
.TextIter limit
);
5640 [InstanceByReference
]
5641 public bool backward_line ();
5642 [InstanceByReference
]
5643 public bool backward_lines (int count
);
5644 [InstanceByReference
]
5645 public bool backward_search (string str
, Gtk
.TextSearchFlags @flags
, ref Gtk
.TextIter match_start
, ref Gtk
.TextIter match_end
, ref Gtk
.TextIter limit
);
5646 [InstanceByReference
]
5647 public bool backward_sentence_start ();
5648 [InstanceByReference
]
5649 public bool backward_sentence_starts (int count
);
5650 [InstanceByReference
]
5651 public bool backward_to_tag_toggle (Gtk
.TextTag tag
);
5652 [InstanceByReference
]
5653 public bool backward_visible_cursor_position ();
5654 [InstanceByReference
]
5655 public bool backward_visible_cursor_positions (int count
);
5656 [InstanceByReference
]
5657 public bool backward_visible_line ();
5658 [InstanceByReference
]
5659 public bool backward_visible_lines (int count
);
5660 [InstanceByReference
]
5661 public bool backward_visible_word_start ();
5662 [InstanceByReference
]
5663 public bool backward_visible_word_starts (int count
);
5664 [InstanceByReference
]
5665 public bool backward_word_start ();
5666 [InstanceByReference
]
5667 public bool backward_word_starts (int count
);
5668 [InstanceByReference
]
5669 public bool begins_tag (Gtk
.TextTag tag
);
5670 [InstanceByReference
]
5671 public bool can_insert (bool default_editability
);
5672 [InstanceByReference
]
5673 public int compare (ref Gtk
.TextIter rhs
);
5674 [InstanceByReference
]
5675 public Gtk
.TextIter
copy ();
5676 [InstanceByReference
]
5677 public bool editable (bool default_setting
);
5678 [InstanceByReference
]
5679 public bool ends_line ();
5680 [InstanceByReference
]
5681 public bool ends_sentence ();
5682 [InstanceByReference
]
5683 public bool ends_tag (Gtk
.TextTag tag
);
5684 [InstanceByReference
]
5685 public bool ends_word ();
5686 [InstanceByReference
]
5687 public bool equal (ref Gtk
.TextIter rhs
);
5688 [InstanceByReference
]
5689 public bool forward_char ();
5690 [InstanceByReference
]
5691 public bool forward_chars (int count
);
5692 [InstanceByReference
]
5693 public bool forward_cursor_position ();
5694 [InstanceByReference
]
5695 public bool forward_cursor_positions (int count
);
5696 [InstanceByReference
]
5697 public bool forward_find_char (Gtk
.TextCharPredicate pred
, pointer user_data
, ref Gtk
.TextIter limit
);
5698 [InstanceByReference
]
5699 public bool forward_line ();
5700 [InstanceByReference
]
5701 public bool forward_lines (int count
);
5702 [InstanceByReference
]
5703 public bool forward_search (string str
, Gtk
.TextSearchFlags @flags
, ref Gtk
.TextIter match_start
, ref Gtk
.TextIter match_end
, ref Gtk
.TextIter limit
);
5704 [InstanceByReference
]
5705 public bool forward_sentence_end ();
5706 [InstanceByReference
]
5707 public bool forward_sentence_ends (int count
);
5708 [InstanceByReference
]
5709 public void forward_to_end ();
5710 [InstanceByReference
]
5711 public bool forward_to_line_end ();
5712 [InstanceByReference
]
5713 public bool forward_to_tag_toggle (Gtk
.TextTag tag
);
5714 [InstanceByReference
]
5715 public bool forward_visible_cursor_position ();
5716 [InstanceByReference
]
5717 public bool forward_visible_cursor_positions (int count
);
5718 [InstanceByReference
]
5719 public bool forward_visible_line ();
5720 [InstanceByReference
]
5721 public bool forward_visible_lines (int count
);
5722 [InstanceByReference
]
5723 public bool forward_visible_word_end ();
5724 [InstanceByReference
]
5725 public bool forward_visible_word_ends (int count
);
5726 [InstanceByReference
]
5727 public bool forward_word_end ();
5728 [InstanceByReference
]
5729 public bool forward_word_ends (int count
);
5730 [InstanceByReference
]
5731 public void free ();
5732 [InstanceByReference
]
5733 public bool get_attributes (Gtk
.TextAttributes values
);
5734 [InstanceByReference
]
5735 public weak Gtk
.TextBuffer
get_buffer ();
5736 [InstanceByReference
]
5737 public int get_bytes_in_line ();
5738 [InstanceByReference
]
5739 public unichar
get_char ();
5740 [InstanceByReference
]
5741 public int get_chars_in_line ();
5742 [InstanceByReference
]
5743 public weak Gtk
.TextChildAnchor
get_child_anchor ();
5744 [InstanceByReference
]
5745 public weak Pango
.Language
get_language ();
5746 [InstanceByReference
]
5747 public int get_line ();
5748 [InstanceByReference
]
5749 public int get_line_index ();
5750 [InstanceByReference
]
5751 public int get_line_offset ();
5752 [InstanceByReference
]
5753 public weak GLib
.SList
get_marks ();
5754 [InstanceByReference
]
5755 public int get_offset ();
5756 [InstanceByReference
]
5757 public weak Gdk
.Pixbuf
get_pixbuf ();
5758 [InstanceByReference
]
5759 public weak string get_slice (ref Gtk
.TextIter end
);
5760 [InstanceByReference
]
5761 public weak GLib
.SList
get_tags ();
5762 [InstanceByReference
]
5763 public weak string get_text (ref Gtk
.TextIter end
);
5764 [InstanceByReference
]
5765 public weak GLib
.SList
get_toggled_tags (bool toggled_on
);
5766 public static GLib
.Type
get_type ();
5767 [InstanceByReference
]
5768 public int get_visible_line_index ();
5769 [InstanceByReference
]
5770 public int get_visible_line_offset ();
5771 [InstanceByReference
]
5772 public weak string get_visible_slice (ref Gtk
.TextIter end
);
5773 [InstanceByReference
]
5774 public weak string get_visible_text (ref Gtk
.TextIter end
);
5775 [InstanceByReference
]
5776 public bool has_tag (Gtk
.TextTag tag
);
5777 [InstanceByReference
]
5778 public bool in_range (ref Gtk
.TextIter start
, ref Gtk
.TextIter end
);
5779 [InstanceByReference
]
5780 public bool inside_sentence ();
5781 [InstanceByReference
]
5782 public bool inside_word ();
5783 [InstanceByReference
]
5784 public bool is_cursor_position ();
5785 [InstanceByReference
]
5786 public bool is_end ();
5787 [InstanceByReference
]
5788 public bool is_start ();
5789 [InstanceByReference
]
5790 public void order (ref Gtk
.TextIter second
);
5791 [InstanceByReference
]
5792 public void set_line (int line_number
);
5793 [InstanceByReference
]
5794 public void set_line_index (int byte_on_line
);
5795 [InstanceByReference
]
5796 public void set_line_offset (int char_on_line
);
5797 [InstanceByReference
]
5798 public void set_offset (int char_offset
);
5799 [InstanceByReference
]
5800 public void set_visible_line_index (int byte_on_line
);
5801 [InstanceByReference
]
5802 public void set_visible_line_offset (int char_on_line
);
5803 [InstanceByReference
]
5804 public bool starts_line ();
5805 [InstanceByReference
]
5806 public bool starts_sentence ();
5807 [InstanceByReference
]
5808 public bool starts_word ();
5809 [InstanceByReference
]
5810 public bool toggles_tag (Gtk
.TextTag tag
);
5813 public struct TextLogAttrCache
{
5816 public struct TextPendingScroll
{
5819 public struct TextWindow
{
5822 public struct ThemeEngine
{
5824 public struct ToggleActionEntry
{
5825 public weak string name
;
5826 public weak string stock_id
;
5827 public weak string label
;
5828 public weak string accelerator
;
5829 public weak string tooltip
;
5830 public GLib
.Callback @
callback;
5831 public bool is_active
;
5834 public struct Tooltip
{
5835 public static GLib
.Type
get_type ();
5836 public void set_custom (Gtk
.Widget custom_widget
);
5837 public void set_icon (Gdk
.Pixbuf pixbuf
);
5838 public void set_icon_from_stock (string stock_id
, Gtk
.IconSize size
);
5839 public void set_markup (string markup
);
5840 public void set_text (string text
);
5841 public static void trigger_tooltip_query (Gdk
.Display display
);
5844 public struct TooltipsData
{
5845 public weak Gtk
.Tooltips tooltips
;
5846 public weak Gtk
.Widget widget
;
5847 public weak string tip_text
;
5848 public weak string tip_private
;
5849 public static weak Gtk
.TooltipsData
get (Gtk
.Widget widget
);
5851 public struct TreeIter
{
5853 public pointer user_data
;
5854 public pointer user_data2
;
5855 public pointer user_data3
;
5856 [InstanceByReference
]
5857 public Gtk
.TreeIter
copy ();
5858 [InstanceByReference
]
5859 public void free ();
5860 public static GLib
.Type
get_type ();
5863 public struct TreePath
{
5864 public void append_index (int index_
);
5865 public int compare (Gtk
.TreePath b
);
5866 public weak Gtk
.TreePath
copy ();
5867 public void down ();
5868 public void free ();
5869 public int get_depth ();
5871 public weak int[] get_indices ();
5872 public static GLib
.Type
get_type ();
5873 public bool is_ancestor (Gtk
.TreePath descendant
);
5874 public bool is_descendant (Gtk
.TreePath ancestor
);
5876 public TreePath
.first ();
5877 public TreePath
.from_indices (int first_index
);
5878 public TreePath
.from_string (string path
);
5879 public void next ();
5880 public void prepend_index (int index_
);
5881 public bool prev ();
5882 public weak string to_string ();
5886 public struct TreeRowReference
{
5887 public weak Gtk
.TreeRowReference
copy ();
5888 public static void deleted (GLib
.Object proxy
, Gtk
.TreePath path
);
5889 public void free ();
5890 public weak Gtk
.TreeModel
get_model ();
5891 public weak Gtk
.TreePath
get_path ();
5892 public static GLib
.Type
get_type ();
5893 public static void inserted (GLib
.Object proxy
, Gtk
.TreePath path
);
5894 public TreeRowReference (Gtk
.TreeModel model
, Gtk
.TreePath path
);
5895 public TreeRowReference
.proxy (GLib
.Object proxy
, Gtk
.TreeModel model
, Gtk
.TreePath path
);
5896 public static void reordered (GLib
.Object proxy
, Gtk
.TreePath path
, ref Gtk
.TreeIter iter
, int new_order
);
5897 public bool valid ();
5900 public struct VolumeButtonClass
{
5901 public pointer parent_class
;
5904 public struct WidgetAuxInfo
{
5913 public struct WidgetShapeInfo
{
5914 public short offset_x
;
5915 public short offset_y
;
5916 public weak Gdk
.Bitmap shape_mask
;
5919 public struct WindowGeometryInfo
{
5922 public struct Accel
{
5923 public static bool groups_activate (GLib
.Object
object, uint accel_key
, Gdk
.ModifierType accel_mods
);
5924 public static weak GLib
.SList
groups_from_object (GLib
.Object
object);
5927 public struct Accelerator
{
5928 public static uint get_default_mod_mask ();
5929 public static weak string get_label (uint accelerator_key
, Gdk
.ModifierType accelerator_mods
);
5930 public static weak string name (uint accelerator_key
, Gdk
.ModifierType accelerator_mods
);
5931 public static void parse (string accelerator
, uint accelerator_key
, Gdk
.ModifierType accelerator_mods
);
5932 public static void set_default_mod_mask (Gdk
.ModifierType default_mod_mask
);
5933 public static bool valid (uint keyval
, Gdk
.ModifierType modifiers
);
5936 public struct Bindings
{
5937 public static bool activate (Gtk
.Object
object, uint keyval
, Gdk
.ModifierType modifiers
);
5938 public static bool activate_event (Gtk
.Object
object, Gdk
.EventKey event
);
5941 public struct Ctree
{
5942 public static GLib
.Type
expander_style_get_type ();
5943 public static GLib
.Type
expansion_type_get_type ();
5944 public static GLib
.Type
line_style_get_type ();
5945 public static GLib
.Type
pos_get_type ();
5948 public struct Drag
{
5949 public static weak Gdk
.DragContext
begin (Gtk
.Widget widget
, Gtk
.TargetList targets
, Gdk
.DragAction actions
, int button
, Gdk
.Event event
);
5950 public static bool check_threshold (Gtk
.Widget widget
, int start_x
, int start_y
, int current_x
, int current_y
);
5951 public static void dest_add_image_targets (Gtk
.Widget widget
);
5952 public static void dest_add_text_targets (Gtk
.Widget widget
);
5953 public static void dest_add_uri_targets (Gtk
.Widget widget
);
5954 public static Gdk
.Atom
dest_find_target (Gtk
.Widget widget
, Gdk
.DragContext context
, Gtk
.TargetList target_list
);
5955 public static weak Gtk
.TargetList
dest_get_target_list (Gtk
.Widget widget
);
5956 public static bool dest_get_track_motion (Gtk
.Widget widget
);
5958 public static void dest_set (Gtk
.Widget widget
, Gtk
.DestDefaults @flags
, Gtk
.TargetEntry
[] targets
, int n_targets
, Gdk
.DragAction actions
);
5959 public static void dest_set_proxy (Gtk
.Widget widget
, Gdk
.Window proxy_window
, Gdk
.DragProtocol protocol
, bool use_coordinates
);
5960 public static void dest_set_target_list (Gtk
.Widget widget
, Gtk
.TargetList target_list
);
5961 public static void dest_set_track_motion (Gtk
.Widget widget
, bool track_motion
);
5962 public static void dest_unset (Gtk
.Widget widget
);
5963 public static void finish (Gdk
.DragContext context
, bool success
, bool del
, uint time_
);
5964 public static void get_data (Gtk
.Widget widget
, Gdk
.DragContext context
, Gdk
.Atom target
, uint time_
);
5965 public static weak Gtk
.Widget
get_source_widget (Gdk
.DragContext context
);
5966 public static void highlight (Gtk
.Widget widget
);
5967 public static void set_icon_default (Gdk
.DragContext context
);
5968 public static void set_icon_name (Gdk
.DragContext context
, string icon_name
, int hot_x
, int hot_y
);
5969 public static void set_icon_pixbuf (Gdk
.DragContext context
, Gdk
.Pixbuf pixbuf
, int hot_x
, int hot_y
);
5970 public static void set_icon_pixmap (Gdk
.DragContext context
, Gdk
.Colormap colormap
, Gdk
.Pixmap pixmap
, Gdk
.Bitmap mask
, int hot_x
, int hot_y
);
5971 public static void set_icon_stock (Gdk
.DragContext context
, string stock_id
, int hot_x
, int hot_y
);
5972 public static void set_icon_widget (Gdk
.DragContext context
, Gtk
.Widget widget
, int hot_x
, int hot_y
);
5973 public static void source_add_image_targets (Gtk
.Widget widget
);
5974 public static void source_add_text_targets (Gtk
.Widget widget
);
5975 public static void source_add_uri_targets (Gtk
.Widget widget
);
5976 public static weak Gtk
.TargetList
source_get_target_list (Gtk
.Widget widget
);
5978 public static void source_set (Gtk
.Widget widget
, Gdk
.ModifierType start_button_mask
, Gtk
.TargetEntry
[] targets
, int n_targets
, Gdk
.DragAction actions
);
5979 public static void source_set_icon (Gtk
.Widget widget
, Gdk
.Colormap colormap
, Gdk
.Pixmap pixmap
, Gdk
.Bitmap mask
);
5980 public static void source_set_icon_name (Gtk
.Widget widget
, string icon_name
);
5981 public static void source_set_icon_pixbuf (Gtk
.Widget widget
, Gdk
.Pixbuf pixbuf
);
5982 public static void source_set_icon_stock (Gtk
.Widget widget
, string stock_id
);
5983 public static void source_set_target_list (Gtk
.Widget widget
, Gtk
.TargetList target_list
);
5984 public static void source_unset (Gtk
.Widget widget
);
5985 public static void unhighlight (Gtk
.Widget widget
);
5988 public struct Draw
{
5989 public static void insertion_cursor (Gtk
.Widget widget
, Gdk
.Drawable drawable
, Gdk
.Rectangle area
, Gdk
.Rectangle location
, bool is_primary
, Gtk
.TextDirection direction
, bool draw_arrow
);
5993 public static weak Gdk
.GC
get (int depth
, Gdk
.Colormap colormap
, Gdk
.GCValues values
, Gdk
.GCValuesMask values_mask
);
5994 public static void release (Gdk
.GC gc
);
5997 public struct Grab
{
5998 public static void add (Gtk
.Widget widget
);
5999 public static weak Gtk
.Widget
get_current ();
6000 public static void remove (Gtk
.Widget widget
);
6003 public struct Icon
{
6004 public static Gtk
.IconSize
size_from_name (string name
);
6005 public static weak string size_get_name (Gtk
.IconSize size
);
6006 public static bool size_lookup (Gtk
.IconSize size
, int width
, int height
);
6007 public static bool size_lookup_for_settings (Gtk
.Settings settings
, Gtk
.IconSize size
, int width
, int height
);
6008 public static Gtk
.IconSize
size_register (string name
, int width
, int height
);
6009 public static void size_register_alias (string alias
, Gtk
.IconSize target
);
6012 public struct Idle
{
6015 public struct Init
{
6016 public static void abi_check (int argc
, string argv
, int num_checks
, ulong sizeof_GtkWindow
, ulong sizeof_GtkBox
);
6017 public static void add (Gtk
.Function function
, pointer data
);
6018 public static bool check (int argc
, string argv
);
6019 public static bool check_abi_check (int argc
, string argv
, int num_checks
, ulong sizeof_GtkWindow
, ulong sizeof_GtkBox
);
6020 public static bool with_args (int argc
, string argv
, string parameter_string
, GLib
.OptionEntry entries
, string translation_domain
, GLib
.Error error
);
6023 public struct Input
{
6027 public static uint snooper_install (Gtk
.KeySnoopFunc snooper
, pointer func_data
);
6028 public static void snooper_remove (uint snooper_handler_id
);
6031 public struct Main
{
6032 public static void do_event (Gdk
.Event event
);
6033 public static bool iteration ();
6034 public static bool iteration_do (bool blocking
);
6035 public static uint level ();
6036 public static void quit ();
6039 public struct Print
{
6040 public static GLib
.Quark
error_quark ();
6041 public static weak Gtk
.PageSetup
run_page_setup_dialog (Gtk
.Window parent
, Gtk
.PageSetup page_setup
, Gtk
.PrintSettings settings
);
6042 public static void run_page_setup_dialog_async (Gtk
.Window parent
, Gtk
.PageSetup page_setup
, Gtk
.PrintSettings settings
, Gtk
.PageSetupDoneFunc done_cb
, pointer data
);
6045 public struct Quit
{
6046 public static uint add (uint main_level
, Gtk
.Function function
, pointer data
);
6047 public static void add_destroy (uint main_level
, Gtk
.Object
object);
6048 public static void remove (uint quit_handler_id
);
6049 public static void remove_by_data (pointer data
);
6053 public static void add_default_file (string filename
);
6054 public static weak string find_module_in_path (string module_file
);
6055 public static weak string find_pixmap_in_path (Gtk
.Settings settings
, GLib
.Scanner scanner
, string pixmap_file
);
6056 public static weak string get_default_files ();
6057 public static weak string get_im_module_file ();
6058 public static weak string get_im_module_path ();
6059 public static weak string get_module_dir ();
6060 public static weak Gtk
.Style
get_style (Gtk
.Widget widget
);
6061 public static weak Gtk
.Style
get_style_by_paths (Gtk
.Settings settings
, string widget_path
, string class_path
, GLib
.Type type
);
6062 public static weak string get_theme_dir ();
6063 public static void parse (string filename
);
6064 public static uint parse_color (GLib
.Scanner scanner
, Gdk
.Color color
);
6065 public static uint parse_color_full (GLib
.Scanner scanner
, Gtk
.RcStyle style
, Gdk
.Color color
);
6066 public static uint parse_priority (GLib
.Scanner scanner
, Gtk
.PathPriorityType priority
);
6067 public static uint parse_state (GLib
.Scanner scanner
, Gtk
.StateType state
);
6068 public static void parse_string (string rc_string
);
6069 public static bool reparse_all ();
6070 public static bool reparse_all_for_settings (Gtk
.Settings settings
, bool force_load
);
6071 public static void reset_styles (Gtk
.Settings settings
);
6072 public static weak GLib
.Scanner
scanner_new ();
6073 public static void set_default_files (string filenames
);
6076 public struct Selection
{
6077 public static void add_target (Gtk
.Widget widget
, Gdk
.Atom selection
, Gdk
.Atom target
, uint info
);
6078 public static void add_targets (Gtk
.Widget widget
, Gdk
.Atom selection
, Gtk
.TargetEntry targets
, uint ntargets
);
6079 public static void clear_targets (Gtk
.Widget widget
, Gdk
.Atom selection
);
6080 public static bool convert (Gtk
.Widget widget
, Gdk
.Atom selection
, Gdk
.Atom target
, uint time_
);
6081 public static bool owner_set (Gtk
.Widget widget
, Gdk
.Atom selection
, uint time_
);
6082 public static bool owner_set_for_display (Gdk
.Display display
, Gtk
.Widget widget
, Gdk
.Atom selection
, uint time_
);
6083 public static void remove_all (Gtk
.Widget widget
);
6086 public struct Signal
{
6089 public struct Stock
{
6091 public static void add (Gtk
.StockItem
[] items
, uint n_items
);
6093 public static void add_static (Gtk
.StockItem
[] items
, uint n_items
);
6094 public static weak GLib
.SList
list_ids ();
6095 public static bool lookup (string stock_id
, Gtk
.StockItem item
);
6096 public static void set_translate_func (string domain
, Gtk
.TranslateFunc func
, pointer data
, Gtk
.DestroyNotify notify
);
6099 public struct Target
{
6101 public static void table_free (Gtk
.TargetEntry
[] targets
, int n_targets
);
6102 public static weak Gtk
.TargetEntry
table_new_from_list (Gtk
.TargetList list
, int n_targets
);
6105 public struct Targets
{
6107 public static bool include_image (Gdk
.Atom
[] targets
, int n_targets
, bool writable
);
6109 public static bool include_rich_text (Gdk
.Atom
[] targets
, int n_targets
, Gtk
.TextBuffer buffer
);
6111 public static bool include_text (Gdk
.Atom
[] targets
, int n_targets
);
6113 public static bool include_uri (Gdk
.Atom
[] targets
, int n_targets
);
6116 public struct Timeout
{
6119 public struct Tree
{
6120 public static bool get_row_drag_data (Gtk
.SelectionData selection_data
, Gtk
.TreeModel tree_model
, Gtk
.TreePath path
);
6121 public static bool set_row_drag_data (Gtk
.SelectionData selection_data
, Gtk
.TreeModel tree_model
, Gtk
.TreePath path
);
6124 public struct Type
{
6125 public pointer @
class ();
6127 public static delegate
void AboutDialogActivateLinkFunc (Gtk
.AboutDialog about
, string link_
, pointer data
);
6128 public static delegate
bool AccelGroupActivate (Gtk
.AccelGroup accel_group
, GLib
.Object acceleratable
, uint keyval
, Gdk
.ModifierType modifier
);
6129 public static delegate
bool AccelGroupFindFunc (Gtk
.AccelKey key
, GLib
.Closure closure
, pointer data
);
6130 public static delegate
void AccelMapForeach (pointer data
, string accel_path
, uint accel_key
, Gdk
.ModifierType accel_mods
, bool changed
);
6131 public static delegate
int AssistantPageFunc (int current_page
, pointer data
);
6132 public static delegate
void BuilderConnectFunc (Gtk
.Builder builder
, GLib
.Object
object, string signal_name
, string handler_name
, GLib
.Object connect_object
, GLib
.ConnectFlags @flags
, pointer user_data
);
6133 public static delegate
void Callback (Gtk
.Widget widget
, pointer data
);
6134 public static delegate
void CellLayoutDataFunc (Gtk
.CellLayout cell_layout
, Gtk
.CellRenderer cell
, Gtk
.TreeModel tree_model
, ref Gtk
.TreeIter iter
, pointer data
);
6135 public static delegate
void ClipboardClearFunc (Gtk
.Clipboard clipboard
, pointer user_data_or_owner
);
6136 public static delegate
void ClipboardGetFunc (Gtk
.Clipboard clipboard
, Gtk
.SelectionData selection_data
, uint info
, pointer user_data_or_owner
);
6137 public static delegate
void ClipboardImageReceivedFunc (Gtk
.Clipboard clipboard
, Gdk
.Pixbuf pixbuf
, pointer data
);
6138 public static delegate
void ClipboardReceivedFunc (Gtk
.Clipboard clipboard
, Gtk
.SelectionData selection_data
, pointer data
);
6139 public static delegate
void ClipboardRichTextReceivedFunc (Gtk
.Clipboard clipboard
, Gdk
.Atom format
, uchar[] text
, ulong length
, pointer data
);
6140 public static delegate
void ClipboardTargetsReceivedFunc (Gtk
.Clipboard clipboard
, Gdk
.Atom atoms
, int n_atoms
, pointer data
);
6141 public static delegate
void ClipboardTextReceivedFunc (Gtk
.Clipboard clipboard
, string text
, pointer data
);
6142 public static delegate
void ColorSelectionChangePaletteFunc (Gdk
.Color colors
, int n_colors
);
6143 public static delegate
void ColorSelectionChangePaletteWithScreenFunc (Gdk
.Screen screen
, Gdk
.Color colors
, int n_colors
);
6144 public static delegate
void DestroyNotify (pointer data
);
6145 public static delegate
bool EntryCompletionMatchFunc (Gtk
.EntryCompletion completion
, string key
, ref Gtk
.TreeIter iter
, pointer user_data
);
6146 public static delegate
bool FileFilterFunc (Gtk
.FileFilterInfo filter_info
, pointer data
);
6147 public static delegate
bool Function (pointer data
);
6148 public static delegate
void IconViewForeachFunc (Gtk
.IconView icon_view
, Gtk
.TreePath path
, pointer data
);
6149 public static delegate
void ItemFactoryCallback ();
6150 public static delegate
void ItemFactoryCallback1 (pointer callback_data
, uint callback_action
, Gtk
.Widget widget
);
6151 public static delegate
void ItemFactoryCallback2 ();
6152 public static delegate
int KeySnoopFunc (Gtk
.Widget grab_widget
, Gdk
.EventKey event
, pointer func_data
);
6153 public static delegate
void LinkButtonUriFunc (Gtk
.LinkButton button
, string link_
, pointer user_data
);
6154 public static delegate
void MenuCallback (Gtk
.Widget widget
, pointer user_data
);
6155 public static delegate
void MenuDetachFunc (Gtk
.Widget attach_widget
, Gtk
.Menu menu
);
6156 public static delegate
void MenuPositionFunc (Gtk
.Menu menu
, int x
, int y
, bool push_in
, pointer user_data
);
6157 public static delegate
void MnemonicHashForeach (uint keyval
, GLib
.SList targets
, pointer data
);
6158 public static delegate
void ModuleDisplayInitFunc (Gdk
.Display display
);
6159 public static delegate
void ModuleInitFunc (int argc
, string argv
);
6160 public static delegate Gtk
.Notebook
NotebookWindowCreationFunc (Gtk
.Notebook source
, Gtk
.Widget page
, int x
, int y
, pointer data
);
6161 public static delegate
void PageSetupDoneFunc (Gtk
.PageSetup page_setup
, pointer data
);
6162 public static delegate
void PrintFunc (pointer func_data
, string str
);
6163 public static delegate
void PrintJobCompleteFunc (Gtk
.PrintJob print_job
, pointer user_data
, GLib
.Error error
);
6164 public static delegate
void PrintSettingsFunc (string key
, string value
, pointer user_data
);
6165 public static delegate
bool PrinterFunc (Gtk
.Printer printer
, pointer data
);
6166 public static delegate
void PrinterOptionSetFunc (Gtk
.PrinterOption option
, pointer user_data
);
6167 public static delegate
bool RcPropertyParser (GLib
.ParamSpec pspec
, GLib
.String rc_string
, GLib
.Value property_value
);
6168 public static delegate
bool RecentFilterFunc (Gtk
.RecentFilterInfo filter_info
, pointer user_data
);
6169 public static delegate
int RecentSortFunc (Gtk
.RecentInfo a
, Gtk
.RecentInfo b
, pointer user_data
);
6170 public static delegate
void SignalFunc ();
6171 public static delegate
bool TextBufferDeserializeFunc (Gtk
.TextBuffer register_buffer
, Gtk
.TextBuffer content_buffer
, ref Gtk
.TextIter iter
, uchar[] data
, ulong length
, bool create_tags
, pointer user_data
, GLib
.Error error
);
6172 public static delegate
uchar TextBufferSerializeFunc (Gtk
.TextBuffer register_buffer
, Gtk
.TextBuffer content_buffer
, ref Gtk
.TextIter start
, ref Gtk
.TextIter end
, ulong length
, pointer user_data
);
6173 public static delegate
bool TextCharPredicate (unichar ch
, pointer user_data
);
6174 public static delegate
void TextTagTableForeach (Gtk
.TextTag tag
, pointer data
);
6175 public static delegate
string TranslateFunc (string path
, pointer func_data
);
6176 public static delegate
void TreeCellDataFunc (Gtk
.TreeViewColumn tree_column
, Gtk
.CellRenderer cell
, Gtk
.TreeModel tree_model
, ref Gtk
.TreeIter iter
, pointer data
);
6177 public static delegate
void TreeDestroyCountFunc (Gtk
.TreeView tree_view
, Gtk
.TreePath path
, int children
, pointer user_data
);
6178 public static delegate
int TreeIterCompareFunc (Gtk
.TreeModel model
, ref Gtk
.TreeIter a
, ref Gtk
.TreeIter b
, pointer user_data
);
6179 public static delegate
void TreeModelFilterModifyFunc (Gtk
.TreeModel model
, ref Gtk
.TreeIter iter
, GLib
.Value value
, int column
, pointer data
);
6180 public static delegate
bool TreeModelFilterVisibleFunc (Gtk
.TreeModel model
, ref Gtk
.TreeIter iter
, pointer data
);
6181 public static delegate
bool TreeModelForeachFunc (Gtk
.TreeModel model
, Gtk
.TreePath path
, ref Gtk
.TreeIter iter
, pointer data
);
6182 public static delegate
void TreeSelectionForeachFunc (Gtk
.TreeModel model
, Gtk
.TreePath path
, ref Gtk
.TreeIter iter
, pointer data
);
6183 public static delegate
bool TreeSelectionFunc (Gtk
.TreeSelection selection
, Gtk
.TreeModel model
, Gtk
.TreePath path
, bool path_currently_selected
, pointer data
);
6184 public static delegate
bool TreeViewColumnDropFunc (Gtk
.TreeView tree_view
, Gtk
.TreeViewColumn column
, Gtk
.TreeViewColumn prev_column
, Gtk
.TreeViewColumn next_column
, pointer data
);
6185 public static delegate
void TreeViewMappingFunc (Gtk
.TreeView tree_view
, Gtk
.TreePath path
, pointer user_data
);
6186 public static delegate
bool TreeViewRowSeparatorFunc (Gtk
.TreeModel model
, ref Gtk
.TreeIter iter
, pointer data
);
6187 public static delegate
bool TreeViewSearchEqualFunc (Gtk
.TreeModel model
, int column
, string key
, ref Gtk
.TreeIter iter
, pointer search_data
);
6188 public static delegate
void TreeViewSearchPositionFunc (Gtk
.TreeView tree_view
, Gtk
.Widget search_dialog
, pointer user_data
);
6189 public static delegate
void WindowKeysForeachFunc (Gtk
.Window window
, uint keyval
, Gdk
.ModifierType modifiers
, bool is_mnemonic
, pointer data
);
6190 public const string STOCK_ABOUT
;
6191 public const string STOCK_ADD
;
6192 public const string STOCK_APPLY
;
6193 public const string STOCK_BOLD
;
6194 public const string STOCK_CANCEL
;
6195 public const string STOCK_CDROM
;
6196 public const string STOCK_CLEAR
;
6197 public const string STOCK_CLOSE
;
6198 public const string STOCK_COLOR_PICKER
;
6199 public const string STOCK_CONNECT
;
6200 public const string STOCK_CONVERT
;
6201 public const string STOCK_COPY
;
6202 public const string STOCK_CUT
;
6203 public const string STOCK_DELETE
;
6204 public const string STOCK_DIALOG_ERROR
;
6205 public const string STOCK_DIALOG_INFO
;
6206 public const string STOCK_DIALOG_QUESTION
;
6207 public const string STOCK_DIALOG_WARNING
;
6208 public const string STOCK_DIRECTORY
;
6209 public const string STOCK_DISCARD
;
6210 public const string STOCK_DISCONNECT
;
6211 public const string STOCK_DND
;
6212 public const string STOCK_DND_MULTIPLE
;
6213 public const string STOCK_EDIT
;
6214 public const string STOCK_EXECUTE
;
6215 public const string STOCK_FILE
;
6216 public const string STOCK_FIND
;
6217 public const string STOCK_FIND_AND_REPLACE
;
6218 public const string STOCK_FLOPPY
;
6219 public const string STOCK_FULLSCREEN
;
6220 public const string STOCK_GOTO_BOTTOM
;
6221 public const string STOCK_GOTO_FIRST
;
6222 public const string STOCK_GOTO_LAST
;
6223 public const string STOCK_GOTO_TOP
;
6224 public const string STOCK_GO_BACK
;
6225 public const string STOCK_GO_DOWN
;
6226 public const string STOCK_GO_FORWARD
;
6227 public const string STOCK_GO_UP
;
6228 public const string STOCK_HARDDISK
;
6229 public const string STOCK_HELP
;
6230 public const string STOCK_HOME
;
6231 public const string STOCK_INDENT
;
6232 public const string STOCK_INDEX
;
6233 public const string STOCK_INFO
;
6234 public const string STOCK_ITALIC
;
6235 public const string STOCK_JUMP_TO
;
6236 public const string STOCK_JUSTIFY_CENTER
;
6237 public const string STOCK_JUSTIFY_FILL
;
6238 public const string STOCK_JUSTIFY_LEFT
;
6239 public const string STOCK_JUSTIFY_RIGHT
;
6240 public const string STOCK_LEAVE_FULLSCREEN
;
6241 public const string STOCK_MEDIA_FORWARD
;
6242 public const string STOCK_MEDIA_NEXT
;
6243 public const string STOCK_MEDIA_PAUSE
;
6244 public const string STOCK_MEDIA_PLAY
;
6245 public const string STOCK_MEDIA_PREVIOUS
;
6246 public const string STOCK_MEDIA_RECORD
;
6247 public const string STOCK_MEDIA_REWIND
;
6248 public const string STOCK_MEDIA_STOP
;
6249 public const string STOCK_MISSING_IMAGE
;
6250 public const string STOCK_NETWORK
;
6251 public const string STOCK_NEW
;
6252 public const string STOCK_NO
;
6253 public const string STOCK_OK
;
6254 public const string STOCK_OPEN
;
6255 public const string STOCK_ORIENTATION_LANDSCAPE
;
6256 public const string STOCK_ORIENTATION_PORTRAIT
;
6257 public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE
;
6258 public const string STOCK_ORIENTATION_REVERSE_PORTRAIT
;
6259 public const string STOCK_PASTE
;
6260 public const string STOCK_PREFERENCES
;
6261 public const string STOCK_PRINT
;
6262 public const string STOCK_PRINT_PREVIEW
;
6263 public const string STOCK_PROPERTIES
;
6264 public const string STOCK_QUIT
;
6265 public const string STOCK_REDO
;
6266 public const string STOCK_REFRESH
;
6267 public const string STOCK_REMOVE
;
6268 public const string STOCK_REVERT_TO_SAVED
;
6269 public const string STOCK_SAVE
;
6270 public const string STOCK_SAVE_AS
;
6271 public const string STOCK_SELECT_ALL
;
6272 public const string STOCK_SELECT_COLOR
;
6273 public const string STOCK_SELECT_FONT
;
6274 public const string STOCK_SORT_ASCENDING
;
6275 public const string STOCK_SORT_DESCENDING
;
6276 public const string STOCK_SPELL_CHECK
;
6277 public const string STOCK_STOP
;
6278 public const string STOCK_STRIKETHROUGH
;
6279 public const string STOCK_UNDELETE
;
6280 public const string STOCK_UNDERLINE
;
6281 public const string STOCK_UNDO
;
6282 public const string STOCK_UNINDENT
;
6283 public const string STOCK_YES
;
6284 public const string STOCK_ZOOM_100
;
6285 public const string STOCK_ZOOM_FIT
;
6286 public const string STOCK_ZOOM_IN
;
6287 public const string STOCK_ZOOM_OUT
;
6288 public static bool alternative_dialog_button_order (Gdk
.Screen screen
);
6289 public static GLib
.Type
cell_type_get_type ();
6290 public static weak string check_version (uint required_major
, uint required_minor
, uint required_micro
);
6291 public static GLib
.Type
clist_drag_pos_get_type ();
6292 public static void disable_setlocale ();
6293 public static void enumerate_printers (Gtk
.PrinterFunc func
, pointer data
, GLib
.DestroyNotify destroy
, bool wait
);
6294 public static bool events_pending ();
6295 public static weak Gdk
.Event
get_current_event ();
6296 public static bool get_current_event_state (Gdk
.ModifierType state
);
6297 public static uint get_current_event_time ();
6298 public static weak Pango
.Language
get_default_language ();
6299 public static weak Gtk
.Widget
get_event_widget (Gdk
.Event event
);
6300 public static weak GLib
.OptionGroup
get_option_group (bool open_default_display
);
6301 public static GLib
.Type
identifier_get_type ();
6302 public static void paint_arrow (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, Gtk
.ArrowType arrow_type
, bool fill
, int x
, int y
, int width
, int height
);
6303 public static void paint_box (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
);
6304 public static void paint_box_gap (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
, Gtk
.PositionType gap_side
, int gap_x
, int gap_width
);
6305 public static void paint_check (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
);
6306 public static void paint_diamond (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
);
6307 public static void paint_expander (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, Gtk
.ExpanderStyle expander_style
);
6308 public static void paint_extension (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
, Gtk
.PositionType gap_side
);
6309 public static void paint_flat_box (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
);
6310 public static void paint_focus (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
);
6311 public static void paint_handle (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
, Gtk
.Orientation orientation
);
6312 public static void paint_hline (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x1
, int x2
, int y
);
6313 public static void paint_layout (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, bool use_text
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, Pango
.Layout layout
);
6314 public static void paint_option (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
);
6315 public static void paint_polygon (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, Gdk
.Point points
, int npoints
, bool fill
);
6316 public static void paint_resize_grip (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, Gdk
.WindowEdge edge
, int x
, int y
, int width
, int height
);
6317 public static void paint_shadow (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
);
6318 public static void paint_shadow_gap (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
, Gtk
.PositionType gap_side
, int gap_x
, int gap_width
);
6319 public static void paint_slider (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
, Gtk
.Orientation orientation
);
6320 public static void paint_tab (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gtk
.ShadowType shadow_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int x
, int y
, int width
, int height
);
6321 public static void paint_vline (Gtk
.Style style
, Gdk
.Window window
, Gtk
.StateType state_type
, Gdk
.Rectangle area
, Gtk
.Widget widget
, string detail
, int y1_
, int y2_
, int x
);
6322 public static bool parse_args (int argc
, string argv
);
6323 public static GLib
.Type
private_flags_get_type ();
6324 public static void propagate_event (Gtk
.Widget widget
, Gdk
.Event event
);
6325 public static void rgb_to_hsv (double r
, double g
, double b
, double h
, double s
, double v
);
6326 public static weak string set_locale ();
6327 public static void show_about_dialog (Gtk
.Window parent
, string first_property_name
, ...);
6328 public static void text_layout_draw (pointer layout
, Gtk
.Widget widget
, Gdk
.Drawable drawable
, Gdk
.GC cursor_gc
, int x_offset
, int y_offset
, int x
, int y
, int width
, int height
, GLib
.List widgets
);
6330 [CCode (cprefix
= "Gtk", lower_case_cprefix
= "gtk_", cheader_filename
= "gtk/gtk.h")]
6332 public struct Allocation
{
6338 public static void init (out string[] args
);
6339 public static void main ();
6340 public static void main_quit ();