3 #ifndef _GTKMM_WINDOW_H
4 #define _GTKMM_WINDOW_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
31 #include <glibmm/object.h>
32 #include <glibmm/listhandle.h>
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 {
class WindowGroup_Class; }
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54 {
class Window_Class; }
67 #ifndef DOXYGEN_SHOULD_SKIP_THIS
76 static CppClassType windowgroup_class_;
84 explicit WindowGroup(
const Glib::ConstructParams& construct_params);
96 #ifndef DOXYGEN_SHOULD_SKIP_THIS
99 static GType get_base_type() G_GNUC_CONST;
119 static Glib::RefPtr<WindowGroup>
create();
161 #ifndef DOXYGEN_SHOULD_SKIP_THIS
162 typedef Window CppObjectType;
170 #ifndef DOXYGEN_SHOULD_SKIP_THIS
174 static CppClassType window_class_;
181 explicit Window(
const Glib::ConstructParams& construct_params);
187 #ifndef DOXYGEN_SHOULD_SKIP_THIS
188 static GType get_type() G_GNUC_CONST;
191 static GType get_base_type() G_GNUC_CONST;
376 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> >
property_icon()
const;
605 #ifndef GTKMM_DISABLE_DEPRECATED
684 void set_wmclass(
const Glib::ustring& wmclass_name,
const Glib::ustring& wmclass_class);
1046 #ifndef GTKMM_DISABLE_DEPRECATED
1070 #ifndef GTKMM_DISABLE_DEPRECATED
1084 #ifndef GTKMM_DISABLE_DEPRECATED
1105 #ifndef GTKMM_DISABLE_DEPRECATED
1906 virtual void raise();
static Glib::RefPtr< WindowGroup > create()
const GtkWindowGroup * gobj() const
Provides access to the underlying C GObject.
static GType get_type() G_GNUC_CONST
GtkWindowGroup * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
void remove_window(Window &window)
Glib::RefPtr< Gtk::WindowGroup > wrap(GtkWindowGroup *object, bool take_copy=false)
GtkWindowGroup * gobj()
Provides access to the underlying C GObject.
void add_window(Window &window)
Glib::PropertyProxy_ReadOnly< bool > property_focus_on_map() const
Glib::PropertyProxy< Glib::RefPtr< Gdk::Screen > > property_screen()
void get_position(int &root_x, int &root_y) const
void present(guint32 timestamp)
void set_skip_taskbar_hint(bool setting=true)
void set_gravity(Gdk::Gravity gravity)
void set_role(const Glib::ustring &role)
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Screen > > property_screen() const
void set_title(const Glib::ustring &title)
Glib::PropertyProxy< bool > property_mnemonics_visible()
void set_keep_above(bool setting=true)
Glib::PropertyProxy_ReadOnly< bool > property_deletable() const
Glib::PropertyProxy_ReadOnly< bool > property_is_active() const
Glib::PropertyProxy_ReadOnly< bool > property_decorated() const
static void set_auto_startup_notification(bool setting=true)
void set_frame_dimensions(int left, int top, int right, int bottom)
void set_resizable(bool resizable=true)
void set_modal(bool modal=true)
Glib::PropertyProxy< double > property_opacity()
const Widget * get_focus() const
void begin_resize_drag(Gdk::WindowEdge edge, int button, int root_x, int root_y, guint32 timestamp)
bool get_focus_on_map() const
Glib::PropertyProxy< Glib::ustring > property_role()
bool set_icon_from_file(const std::string &filename)
Glib::PropertyProxy< bool > property_allow_grow()
void get_frame_dimensions(int &left, int &top, int &right, int &bottom) const
bool get_decorated() const
Glib::RefPtr< AccelGroup > get_accel_group()
Glib::PropertyProxy< int > property_default_height()
Window * get_transient_for()
Glib::RefPtr< const WindowGroup > get_group() const
Glib::ustring get_icon_name() const
static void set_default_icon(const Glib::RefPtr< Gdk::Pixbuf > &icon)
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_role() const
Glib::PropertyProxy_ReadOnly< int > property_default_height() const
void set_focus_on_map(bool setting=true)
Glib::PropertyProxy_ReadOnly< Window * > property_transient_for() const
void set_mnemonics_visible(bool setting=true)
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_title() const
void set_geometry_hints(Widget &geometry_widget, const Gdk::Geometry &geometry, Gdk::WindowHints geom_mask)
GtkWindow * gobj()
Provides access to the underlying C GtkObject.
Glib::RefPtr< Gdk::Screen > get_screen()
Glib::PropertyProxy_ReadOnly< Gdk::Gravity > property_gravity() const
void get_default_size(int &width, int &height) const
Glib::PropertyProxy< Window * > property_transient_for()
void add_mnemonic(guint keyval, Widget &target)
Glib::PropertyProxy_ReadOnly< bool > property_urgency_hint() const
Glib::PropertyProxy_ReadOnly< bool > property_allow_grow() const
void set_skip_pager_hint(bool setting=true)
void set_transient_for(Window &parent)
const Window * get_transient_for() const
Glib::SignalProxy1< bool, GdkEvent * > signal_frame_event()
Glib::PropertyProxy_ReadOnly< double > property_opacity() const
Glib::PropertyProxy_ReadOnly< bool > property_mnemonics_visible() const
Glib::ustring get_role() const
static void set_default_icon_name(const Glib::ustring &name)
Glib::PropertyProxy_ReadOnly< bool > property_resizable() const
void set_opacity(double opacity)
Glib::PropertyProxy< bool > property_skip_pager_hint()
Glib::PropertyProxy_ReadOnly< WindowPosition > property_window_position() const
Glib::PropertyProxy_ReadOnly< bool > property_skip_taskbar_hint() const
Glib::PropertyProxy_ReadOnly< bool > property_has_toplevel_focus() const
void get_size(int &width, int &height) const
Glib::PropertyProxy< Glib::ustring > property_title()
Glib::PropertyProxy_ReadOnly< bool > property_skip_pager_hint() const
Glib::RefPtr< Gdk::Window > get_frame()
Glib::PropertyProxy< int > property_default_width()
void set_type_hint(Gdk::WindowTypeHint hint)
Glib::PropertyProxy< Glib::ustring > property_icon_name()
Glib::RefPtr< WindowGroup > get_group()
Glib::ListHandle< Glib::RefPtr< const Gdk::Pixbuf > > get_icon_list() const
void set_decorated(bool setting=true)
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_icon_name() const
static Glib::ListHandle< Glib::RefPtr< Gdk::Pixbuf > > get_default_icon_list()
Glib::PropertyProxy< Glib::RefPtr< Gdk::Pixbuf > > property_icon()
Glib::PropertyProxy< bool > property_allow_shrink()
static void set_default_icon_list(const Glib::ListHandle< Glib::RefPtr< Gdk::Pixbuf > > &list)
virtual void set_manage()
Overriden to warn that it doesn't make sense to use Gtk::manage() on this class because it has no par...
Glib::PropertyProxy< bool > property_decorated()
void reshow_with_initial_size()
void set_has_frame(bool setting=true)
Glib::PropertyProxy< bool > property_skip_taskbar_hint()
void set_screen(const Glib::RefPtr< Gdk::Screen > &screen)
Glib::RefPtr< Gdk::Pixbuf > get_icon()
Glib::RefPtr< const Gdk::Pixbuf > get_icon() const
Glib::PropertyProxy_ReadOnly< bool > property_accept_focus() const
void set_icon_name(const Glib::ustring &name)
Glib::ListHandle< Glib::RefPtr< Gdk::Pixbuf > > get_icon_list()
Gdk::WindowTypeHint get_type_hint() const
void set_icon_list(const Glib::ListHandle< Glib::RefPtr< Gdk::Pixbuf > > &list)
bool get_destroy_with_parent() const
Glib::PropertyProxy_ReadOnly< WindowType > property_type() const
void set_focus(Gtk::Widget &focus)
void unset_transient_for()
void remove_mnemonic(guint keyval, Widget &target)
void set_default(Gtk::Widget &default_widget)
bool get_mnemonics_visible() const
Glib::PropertyProxy< WindowPosition > property_window_position()
void set_deletable(bool setting=true)
Glib::PropertyProxy_ReadOnly< int > property_default_width() const
Glib::RefPtr< const Gdk::Window > get_frame() const
void set_accept_focus(bool setting=true)
Window(WindowType type=WINDOW_TOPLEVEL)
void set_mnemonic_modifier(Gdk::ModifierType modifier)
void begin_move_drag(int button, int root_x, int root_y, guint32 timestamp)
double get_opacity() const
WindowType get_window_type() const
Glib::PropertyProxy_ReadOnly< GdkWindowTypeHint > property_type_hint() const
Gdk::Gravity get_gravity() const
Gdk::ModifierType get_mnemonic_modifier()
Glib::SignalProxy1< void, Widget * > signal_set_focus()
bool get_resizable() const
Glib::PropertyProxy_ReadOnly< bool > property_modal() const
bool get_urgency_hint() const
Glib::PropertyProxy< GdkWindowTypeHint > property_type_hint()
Glib::RefPtr< const Gdk::Screen > get_screen() const
bool mnemonic_activate(guint keyval, Gdk::ModifierType modifier)
const GtkWindow * gobj() const
Provides access to the underlying C GtkObject.
void set_wmclass(const Glib::ustring &wmclass_name, const Glib::ustring &wmclass_class)
void set_default_size(int width, int height)
Glib::PropertyProxy< Gdk::Gravity > property_gravity()
bool get_skip_pager_hint() const
void set_position(WindowPosition position)
void add_accel_group(const Glib::RefPtr< AccelGroup > &accel_group)
Glib::PropertyProxy< bool > property_destroy_with_parent()
void set_keep_below(bool setting=true)
bool parse_geometry(const Glib::ustring &geometry)
void resize(int width, int height)
static bool set_default_icon_from_file(const std::string &filename)
static Glib::ListHandle< Window * > list_toplevels()
Glib::PropertyProxy< bool > property_focus_on_map()
Glib::PropertyProxy< bool > property_deletable()
Gtk::Window * wrap(GtkWindow *object, bool take_copy=false)
Glib::PropertyProxy_WriteOnly< Glib::ustring > property_startup_id()
virtual bool on_frame_event(GdkEvent *event)
This is a default handler for the signal signal_frame_event().
Glib::PropertyProxy< bool > property_urgency_hint()
bool get_has_frame() const
Glib::PropertyProxy_ReadOnly< bool > property_destroy_with_parent() const
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Pixbuf > > property_icon() const
Glib::RefPtr< AccelGroup > accel_group_
Glib::PropertyProxy< bool > property_modal()
void _destroy_c_instance()
Glib::ustring get_title() const
virtual void on_set_focus(Widget *focus)
This is a default handler for the signal signal_set_focus().
bool get_accept_focus() const
bool get_deletable() const
void set_icon(const Glib::RefPtr< Gdk::Pixbuf > &icon)
bool get_skip_taskbar_hint() const
Glib::PropertyProxy_ReadOnly< bool > property_allow_shrink() const
Glib::PropertyProxy< bool > property_accept_focus()
void set_urgency_hint(bool setting=true)
void remove_accel_group(const Glib::RefPtr< AccelGroup > &accel_group)
Glib::PropertyProxy< bool > property_resizable()
GtkImageIconNameData name