|
Public Member Functions |
virtual | ~Window () |
GtkWindow* | gobj () |
| Provides access to the underlying C GtkObject.
|
const GtkWindow* | gobj () const |
| Provides access to the underlying C GtkObject.
|
| Window (WindowType type=WINDOW_TOPLEVEL) |
Glib::PropertyProxy<Glib::ustring> | property_title () |
Glib::PropertyProxy<bool> | property_allow_shrink () |
Glib::PropertyProxy<bool> | property_allow_grow () |
Glib::PropertyProxy<bool> | property_resizable () |
Glib::PropertyProxy<bool> | property_modal () |
Glib::PropertyProxy<WindowPosition> | property_window_position () |
Glib::PropertyProxy<int> | property_default_width () |
Glib::PropertyProxy<int> | property_default_height () |
Glib::PropertyProxy<bool> | property_destroy_with_parent () |
Glib::PropertyProxy< Glib::RefPtr<
Gdk::Pixbuf > > | property_icon () |
bool | is_toplevel () const |
bool | is_dialog () const |
bool | is_popup () const |
WindowType | get_window_type () const |
Glib::RefPtr<Gdk::Window> | get_frame () |
Glib::RefPtr<const Gdk::Window> | get_frame () const |
Glib::SignalProxy1< void,
Widget* > | signal_set_focus () |
Glib::SignalProxy1< bool,
GdkEvent* > | signal_frame_event () |
void | set_title (const Glib::ustring& title) |
Glib::ustring | get_title () const |
void | set_wmclass (const Glib::ustring& wmclass_name, const Glib::ustring& wmclass_class) |
void | set_role (const Glib::ustring& role) |
Glib::ustring | get_role () const |
void | add_accel_group (const Glib::RefPtr<AccelGroup>& accel_group) |
void | remove_accel_group (const Glib::RefPtr<AccelGroup>& accel_group) |
void | set_position (WindowPosition position) |
bool | activate_focus () |
void | set_focus (Gtk::Widget& focus) |
Widget* | get_focus () |
const Widget* | get_focus () const |
void | set_default (Gtk::Widget& defaultw) |
bool | activate_default () |
void | set_transient_for (Window& parent) |
Window* | get_transient_for () |
const Window* | get_transient_for () const |
void | set_type_hint (Gdk::WindowTypeHint hint) |
Gdk::WindowTypeHint | get_type_hint () const |
void | set_skip_taskbar_hint (bool setting=true) |
bool | get_skip_taskbar_hint () const |
void | set_skip_pager_hint (bool setting=true) |
bool | get_skip_pager_hint () const |
bool | get_destroy_with_parent () const |
void | set_resizable (bool resizeable=true) |
bool | get_resizable () const |
void | set_gravity (Gdk::Gravity gravity) |
Gdk::Gravity | get_gravity () const |
void | set_geometry_hints (Widget& geometry_widget, const Gdk::Geometry& geometry, Gdk::WindowHints geom_mask) |
void | set_screen (const Glib::RefPtr<Gdk::Screen>& screen) |
Glib::RefPtr<Gdk::Screen> | get_screen () |
Glib::RefPtr<const Gdk::Screen> | get_screen () const |
void | set_has_frame (bool setting=true) |
bool | get_has_frame () const |
void | set_frame_dimensions (int left, int top, int right, int bottom) |
void | get_frame_dimensions (int& left, int& top, int& right, int& bottom) const |
void | set_decorated (bool setting=true) |
bool | get_decorated () const |
Glib::ListHandle< Glib::RefPtr<
Gdk::Pixbuf > > | get_icon_list () const |
void | set_icon_list (const Glib::ListHandle<Glib::RefPtr<Gdk::Pixbuf>>& list) |
void | set_icon (const Glib::RefPtr<Gdk::Pixbuf>& icon) |
bool | set_icon_from_file (const std::string& filename) |
Glib::RefPtr<Gdk::Pixbuf> | get_icon () const |
void | set_modal (bool modal=true) |
bool | get_modal () const |
void | add_mnemonic (guint keyval, Widget& target) |
void | remove_mnemonic (guint keyval, Widget& target) |
bool | mnemonic_activate (guint keyval, Gdk::ModifierType modifier) |
void | set_mnemonic_modifier (Gdk::ModifierType modifier) |
Gdk::ModifierType | get_mnemonic_modifier () |
void | present () |
void | iconify () |
void | deiconify () |
void | stick () |
void | unstick () |
void | maximize () |
void | unmaximize () |
void | fullscreen () |
void | unfullscreen () |
void | begin_resize_drag (Gdk::WindowEdge edge, int button, int root_x, int root_y, guint32 timestamp) |
void | begin_move_drag (int button, int root_x, int root_y, guint32 timestamp) |
void | set_default_size (int width, int height) |
void | get_default_size (int& width, int& height) const |
void | resize (int width, int height) |
void | get_size (int& width, int& height) const |
void | move (int x, int y) |
void | get_position (int& root_x, int& root_y) const |
bool | parse_geometry (const Glib::ustring& geometry) |
void | reshow_with_initial_size () |
Glib::RefPtr<AccelGroup> | get_accel_group () |
| Returns a default accel group for this window This is a gtkmm-specific function.
|
virtual void | raise () |
| Brings the window to the front.
|
virtual void | set_manage () |
| Overriden to warn that it doesn't make sense to use Gtk::manage() on this class because it has no parent container.
|
Static Public Member Functions |
void | set_default_icon_list (const Glib::ListHandle<Glib::RefPtr<Gdk::Pixbuf>>& list) |
Glib::ListHandle< Glib::RefPtr<
Gdk::Pixbuf > > | get_default_icon_list () |
bool | set_default_icon_from_file (const std::string& filename) |
void | set_auto_startup_notification (bool setting=true) |
Glib::ListHandle<Window*> | list_toplevels () |
Protected Member Functions |
virtual void | on_set_focus (Widget* focus) |
virtual bool | on_frame_event (GdkEvent* event) |
void | destroy_ () |
void | _destroy_c_instance () |
Related Functions |
(Note that these are not member functions.)
|
Gtk::Window* | wrap (GtkWindow* object, bool take_copy=false) |
The window will be hidden when the window manager's close button is clicked. Override on_delete_event() to stop this.
Gtk::manage() has no effect on Windows because they have no parent Containers.