|
Public Member Functions |
| virtual | ~Display () |
| GdkDisplay* | gobj () |
| | Provides access to the underlying C GObject.
|
| const GdkDisplay* | gobj () const |
| | Provides access to the underlying C GObject.
|
| GdkDisplay* | gobj_copy () |
| Glib::ustring | get_name () const |
| int | get_n_screens () const |
| Glib::RefPtr<Screen> | get_screen (int screen_num) |
| Glib::RefPtr<Screen> | get_default_screen () |
| void | pointer_ungrab (guint32 time_) |
| void | keyboard_ungrab (guint32 time_) |
| bool | pointer_is_grabbed () const |
| void | beep () |
| void | sync () |
| void | close () |
Glib::ListHandle< Glib::RefPtr<
Device > > | list_devices () |
| GdkEvent* | get_event () |
| GdkEvent* | peek_event () |
| void | put_event (GdkEvent* event) |
| void | add_client_message_filter (GdkAtom message_type, GdkFilterFunc func, gpointer data) |
| void | set_double_click_time (guint msec) |
| Glib::RefPtr<Device> | get_core_pointer () |
| Glib::RefPtr<const Device> | get_core_pointer () const |
| void | get_pointer (Glib::RefPtr<Screen>& screen, int& x, int& y, ModifierType& mask) |
| | Gets the current location of the pointer and the current modifier mask for a given display.
|
| void | get_pointer (int& x, int& y, ModifierType& mask) |
| | Gets the current location of the pointer and the current modifier mask for a given display.
|
| Glib::RefPtr<Window> | get_window_at_pointer (int& win_x, int& win_y) |
| Glib::RefPtr<const Window> | get_window_at_pointer (int& win_x, int& win_y) const |
| Glib::RefPtr<Window> | get_window_at_pointer () |
| | Obtains the window underneath the mouse pointer.
|
| Glib::RefPtr<const Window> | get_window_at_pointer () const |
| | Obtains the window underneath the mouse pointer.
|
| GdkDisplayPointerHooks* | set_pointer_hooks (const GdkDisplayPointerHooks* new_hooks) |
| GdkDisplayPointerHooks* | unset_pointer_hooks () |
| guint32 | get_drag_protocol (guint32 xid, GdkDragProtocol& protocol) |
| GdkKeymap* | get_keymap () |
| const GdkKeymap* | get_keymap () const |
| bool | set_selection_owner (const Glib::RefPtr<Window>& owner, GdkAtom selection, guint32 time_, bool send_event) |
| Glib::RefPtr<Window> | get_selection_owner (GdkAtom selection) |
| void | selection_send_notify (guint32 requestor, GdkAtom selection, GdkAtom target, GdkAtom property, guint32 time_) |
| Glib::RefPtr<Pixmap> | lookup_pixmap (GdkNativeWindow anid) |
| Glib::RefPtr<const Pixmap> | lookup_pixmap (GdkNativeWindow anid) const |
| void | flush () |
| bool | supports_cursor_alpha () const |
| bool | supports_cursor_color () const |
| void | get_maximal_cursor_size (guint& width, guint& height) |
Glib::SignalProxy1< void,
bool > | signal_closed () |
Static Public Member Functions |
| Glib::RefPtr<Display> | open (const Glib::ustring& display_name) |
| Glib::RefPtr<Display> | get_default () |
| Glib::RefPtr<Display> | open_default_libgtk_only () |
Protected Member Functions |
| | Display () |
| virtual void | on_closed (bool is_error) |
Related Functions |
(Note that these are not member functions.)
|
| Glib::RefPtr<Gdk::Display> | wrap (GdkDisplay* object, bool take_copy=false) |