27 #ifndef __GTK_WINDOW_H__
28 #define __GTK_WINDOW_H__
31 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
32 #error "Only <gtk/gtk.h> can be included directly."
41 #define GTK_TYPE_WINDOW (gtk_window_get_type ())
42 #define GTK_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_WINDOW, GtkWindow))
43 #define GTK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW, GtkWindowClass))
44 #define GTK_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_WINDOW))
45 #define GTK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW))
46 #define GTK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW, GtkWindowClass))
70 guint16
GSEAL (configure_request_count);
71 guint
GSEAL (allow_shrink) : 1;
72 guint
GSEAL (allow_grow) : 1;
73 guint
GSEAL (configure_notify_received) : 1;
80 guint
GSEAL (need_default_position) : 1;
81 guint
GSEAL (need_default_size) : 1;
83 guint
GSEAL (type) : 4;
84 guint
GSEAL (has_user_ref_count) : 1;
85 guint
GSEAL (has_focus) : 1;
87 guint
GSEAL (modal) : 1;
88 guint
GSEAL (destroy_with_parent) : 1;
90 guint
GSEAL (has_frame) : 1;
93 guint
GSEAL (iconify_initially) : 1;
94 guint
GSEAL (stick_initially) : 1;
95 guint
GSEAL (maximize_initially) : 1;
96 guint
GSEAL (decorated) : 1;
98 guint
GSEAL (type_hint) : 3;
101 guint
GSEAL (gravity) : 5;
103 guint
GSEAL (is_active) : 1;
104 guint
GSEAL (has_toplevel_focus) : 1;
147 #define GTK_TYPE_WINDOW_GROUP (gtk_window_group_get_type ())
148 #define GTK_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_WINDOW_GROUP, GtkWindowGroup))
149 #define GTK_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass))
150 #define GTK_IS_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_WINDOW_GROUP))
151 #define GTK_IS_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW_GROUP))
152 #define GTK_WINDOW_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass))
174 #define gtk_window_set_icon_from_file gtk_window_set_icon_from_file_utf8
175 #define gtk_window_set_default_icon_from_file gtk_window_set_default_icon_from_file_utf8
184 const gchar *wmclass_name,
185 const gchar *wmclass_class);
189 const gchar *startup_id);
259 #ifndef GTK_DISABLE_DEPRECATED
290 const gchar *filename,
356 #ifndef GTK_DISABLE_DEPRECATED
361 #define gtk_window_position gtk_window_set_position
386 const gchar *geometry);
425 gboolean has_toplevel_focus);
433 gboolean is_toplevel);
438 gboolean is_mnemonic,
typedefG_BEGIN_DECLS struct _GdkGeometry GdkGeometry
GtkImageIconNameData name
const gchar * gtk_window_get_title(GtkWindow *window)
void _gtk_window_internal_set_focus(GtkWindow *window, GtkWidget *focus)
void gtk_window_move(GtkWindow *window, gint x, gint y)
void _gtk_window_set_has_toplevel_focus(GtkWindow *window, gboolean has_toplevel_focus)
void gtk_window_set_policy(GtkWindow *window, gint allow_shrink, gint allow_grow, gint auto_shrink)
void gtk_window_set_geometry_hints(GtkWindow *window, GtkWidget *geometry_widget, GdkGeometry *geometry, GdkWindowHints geom_mask)
void gtk_window_unstick(GtkWindow *window)
void gtk_window_begin_move_drag(GtkWindow *window, gint button, gint root_x, gint root_y, guint32 timestamp)
void _gtk_window_set_is_toplevel(GtkWindow *window, gboolean is_toplevel)
GdkPixbuf * gtk_window_get_icon(GtkWindow *window)
void gtk_window_get_size(GtkWindow *window, gint *width, gint *height)
gboolean gtk_window_get_focus_on_map(GtkWindow *window)
GList * gtk_window_get_icon_list(GtkWindow *window)
void gtk_window_set_mnemonic_modifier(GtkWindow *window, GdkModifierType modifier)
void gtk_window_group_add_window(GtkWindowGroup *window_group, GtkWindow *window)
void _gtk_window_unset_focus_and_default(GtkWindow *window, GtkWidget *widget)
void gtk_window_fullscreen(GtkWindow *window)
const gchar * gtk_window_get_default_icon_name(void)
gboolean gtk_window_activate_focus(GtkWindow *window)
void gtk_window_set_icon_list(GtkWindow *window, GList *list)
void gtk_window_remove_embedded_xid(GtkWindow *window, GdkNativeWindow xid)
gboolean gtk_window_activate_key(GtkWindow *window, GdkEventKey *event)
void gtk_window_set_modal(GtkWindow *window, gboolean modal)
GtkWindowType gtk_window_get_window_type(GtkWindow *window)
GType gtk_window_group_get_type(void) G_GNUC_CONST
GList * gtk_window_group_list_windows(GtkWindowGroup *window_group)
GtkWindowGroup * gtk_window_group_new(void)
void gtk_window_set_skip_taskbar_hint(GtkWindow *window, gboolean setting)
gboolean gtk_window_set_icon_from_file(GtkWindow *window, const gchar *filename, GError **err)
GdkGravity gtk_window_get_gravity(GtkWindow *window)
gboolean gtk_window_get_deletable(GtkWindow *window)
void gtk_window_set_opacity(GtkWindow *window, gdouble opacity)
void gtk_window_set_accept_focus(GtkWindow *window, gboolean setting)
void gtk_window_set_resizable(GtkWindow *window, gboolean resizable)
void gtk_window_set_type_hint(GtkWindow *window, GdkWindowTypeHint hint)
void gtk_window_resize(GtkWindow *window, gint width, gint height)
void gtk_window_deiconify(GtkWindow *window)
gboolean gtk_window_activate_default(GtkWindow *window)
gboolean gtk_window_get_skip_pager_hint(GtkWindow *window)
gboolean gtk_window_is_active(GtkWindow *window)
void gtk_window_set_screen(GtkWindow *window, GdkScreen *screen)
struct _GtkWindowGeometryInfo GtkWindowGeometryInfo
void gtk_window_get_frame_dimensions(GtkWindow *window, gint *left, gint *top, gint *right, gint *bottom)
GtkWindowGroup * gtk_window_get_group(GtkWindow *window)
const gchar * gtk_window_get_icon_name(GtkWindow *window)
gboolean gtk_window_get_decorated(GtkWindow *window)
void gtk_window_maximize(GtkWindow *window)
GtkWidget * gtk_window_get_default_widget(GtkWindow *window)
void gtk_window_set_position(GtkWindow *window, GtkWindowPosition position)
void gtk_window_group_remove_window(GtkWindowGroup *window_group, GtkWindow *window)
void _gtk_window_keys_foreach(GtkWindow *window, GtkWindowKeysForeachFunc func, gpointer func_data)
void gtk_window_unfullscreen(GtkWindow *window)
void gtk_window_remove_accel_group(GtkWindow *window, GtkAccelGroup *accel_group)
void gtk_window_set_skip_pager_hint(GtkWindow *window, gboolean setting)
gboolean gtk_window_has_toplevel_focus(GtkWindow *window)
GType gtk_window_get_type(void) G_GNUC_CONST
gdouble gtk_window_get_opacity(GtkWindow *window)
void gtk_window_set_urgency_hint(GtkWindow *window, gboolean setting)
void gtk_window_set_default_icon_list(GList *list)
void gtk_window_set_frame_dimensions(GtkWindow *window, gint left, gint top, gint right, gint bottom)
gboolean gtk_window_propagate_key_event(GtkWindow *window, GdkEventKey *event)
void gtk_window_unmaximize(GtkWindow *window)
const gchar * gtk_window_get_role(GtkWindow *window)
void gtk_window_reshow_with_initial_size(GtkWindow *window)
GdkWindowTypeHint gtk_window_get_type_hint(GtkWindow *window)
void gtk_window_set_icon_name(GtkWindow *window, const gchar *name)
gboolean gtk_window_get_accept_focus(GtkWindow *window)
void gtk_window_set_decorated(GtkWindow *window, gboolean setting)
gboolean gtk_window_get_resizable(GtkWindow *window)
gboolean gtk_window_get_urgency_hint(GtkWindow *window)
gboolean gtk_window_mnemonic_activate(GtkWindow *window, guint keyval, GdkModifierType modifier)
void gtk_window_add_accel_group(GtkWindow *window, GtkAccelGroup *accel_group)
void gtk_window_add_mnemonic(GtkWindow *window, guint keyval, GtkWidget *target)
void gtk_window_iconify(GtkWindow *window)
void gtk_window_stick(GtkWindow *window)
gboolean gtk_window_set_default_icon_from_file(const gchar *filename, GError **err)
void gtk_window_set_default(GtkWindow *window, GtkWidget *default_widget)
GtkWidget * gtk_window_group_get_current_grab(GtkWindowGroup *window_group)
void(* GtkWindowKeysForeachFunc)(GtkWindow *window, guint keyval, GdkModifierType modifiers, gboolean is_mnemonic, gpointer data)
void gtk_window_begin_resize_drag(GtkWindow *window, GdkWindowEdge edge, gint button, gint root_x, gint root_y, guint32 timestamp)
void gtk_window_set_role(GtkWindow *window, const gchar *role)
void gtk_window_set_startup_id(GtkWindow *window, const gchar *startup_id)
gboolean gtk_window_has_group(GtkWindow *window)
GtkWindow * gtk_window_get_transient_for(GtkWindow *window)
GdkModifierType gtk_window_get_mnemonic_modifier(GtkWindow *window)
void gtk_window_add_embedded_xid(GtkWindow *window, GdkNativeWindow xid)
void gtk_window_set_default_size(GtkWindow *window, gint width, gint height)
gboolean gtk_window_get_has_frame(GtkWindow *window)
void gtk_window_set_keep_below(GtkWindow *window, gboolean setting)
GList * gtk_window_list_toplevels(void)
void _gtk_window_set_is_active(GtkWindow *window, gboolean is_active)
void gtk_window_set_mnemonics_visible(GtkWindow *window, gboolean setting)
void gtk_window_set_icon(GtkWindow *window, GdkPixbuf *icon)
void gtk_window_set_default_icon_name(const gchar *name)
void gtk_window_set_focus(GtkWindow *window, GtkWidget *focus)
void _gtk_window_constrain_size(GtkWindow *window, gint width, gint height, gint *new_width, gint *new_height)
gboolean gtk_window_get_destroy_with_parent(GtkWindow *window)
gboolean gtk_window_parse_geometry(GtkWindow *window, const gchar *geometry)
void gtk_window_set_has_frame(GtkWindow *window, gboolean setting)
void gtk_window_set_wmclass(GtkWindow *window, const gchar *wmclass_name, const gchar *wmclass_class)
void gtk_window_set_gravity(GtkWindow *window, GdkGravity gravity)
void gtk_window_set_destroy_with_parent(GtkWindow *window, gboolean setting)
void gtk_window_set_auto_startup_notification(gboolean setting)
void gtk_window_get_default_size(GtkWindow *window, gint *width, gint *height)
void gtk_window_remove_mnemonic(GtkWindow *window, guint keyval, GtkWidget *target)
void gtk_window_set_focus_on_map(GtkWindow *window, gboolean setting)
gboolean gtk_window_get_mnemonics_visible(GtkWindow *window)
void gtk_window_get_position(GtkWindow *window, gint *root_x, gint *root_y)
void gtk_window_set_transient_for(GtkWindow *window, GtkWindow *parent)
void gtk_window_set_deletable(GtkWindow *window, gboolean setting)
GtkWidget * gtk_window_get_focus(GtkWindow *window)
void gtk_window_present(GtkWindow *window)
GdkScreen * gtk_window_get_screen(GtkWindow *window)
gboolean gtk_window_get_modal(GtkWindow *window)
void gtk_window_set_keep_above(GtkWindow *window, gboolean setting)
gboolean _gtk_window_query_nonaccels(GtkWindow *window, guint accel_key, GdkModifierType accel_mods)
void _gtk_window_reposition(GtkWindow *window, gint x, gint y)
void gtk_window_set_title(GtkWindow *window, const gchar *title)
GtkWidget * gtk_window_new(GtkWindowType type)
void gtk_window_set_default_icon(GdkPixbuf *icon)
GList * gtk_window_get_default_icon_list(void)
gboolean gtk_window_get_skip_taskbar_hint(GtkWindow *window)
void gtk_window_present_with_time(GtkWindow *window, guint32 timestamp)
void(* _gtk_reserved3)(void)
void(* set_focus)(GtkWindow *window, GtkWidget *focus)
void(* activate_focus)(GtkWindow *window)
void(* _gtk_reserved4)(void)
void(* _gtk_reserved2)(void)
void(* keys_changed)(GtkWindow *window)
void(* move_focus)(GtkWindow *window, GtkDirectionType direction)
gboolean(* frame_event)(GtkWindow *window, GdkEvent *event)
void(* activate_default)(GtkWindow *window)
void(* _gtk_reserved1)(void)
void(* _gtk_reserved1)(void)
void(* _gtk_reserved4)(void)
void(* _gtk_reserved2)(void)
void(* _gtk_reserved3)(void)
GObjectClass parent_class
GtkWindowGeometryInfo * GSEAL(geometry_info)
guint GSEAL(frame_bottom)
guint GSEAL(keys_changed_handler)
gchar * GSEAL(wmclass_name)
GtkWidget * GSEAL(focus_widget)
guint GSEAL(allow_shrink) guint GSEAL(allow_grow) guint GSEAL(configure_notify_received) guint GSEAL(need_default_position) guint GSEAL(need_default_size) guint GSEAL(position) guint GSEAL(type) guint GSEAL(has_user_ref_count) guint GSEAL(has_focus) guint GSEAL(modal) guint GSEAL(destroy_with_parent) guint GSEAL(has_frame) guint GSEAL(iconify_initially) guint GSEAL(stick_initially) guint GSEAL(maximize_initially) guint GSEAL(decorated) guint GSEAL(type_hint) guint GSEAL(gravity) guint GSEAL(is_active) guint GSEAL(has_toplevel_focus) guint GSEAL(frame_left)
gchar * GSEAL(wmclass_class)
guint16 GSEAL(configure_request_count)
GdkModifierType GSEAL(mnemonic_modifier)
GtkWindowGroup * GSEAL(group)
GdkScreen * GSEAL(screen)
GtkWindow * GSEAL(transient_parent)
GtkWidget * GSEAL(default_widget)