3 #ifndef _GDKMM_DISPLAY_H
4 #define _GDKMM_DISPLAY_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 {
class Display_Class; }
66 #ifndef DOXYGEN_SHOULD_SKIP_THIS
75 static CppClassType display_class_;
83 explicit Display(
const Glib::ConstructParams& construct_params);
95 #ifndef DOXYGEN_SHOULD_SKIP_THIS
98 static GType get_base_type() G_GNUC_CONST;
123 static Glib::RefPtr<Display>
open(
const Glib::ustring& display_name);
415 #ifndef GDKMM_DISABLE_DEPRECATED
431 #ifndef GDKMM_DISABLE_DEPRECATED
451 #ifndef GDKMM_DISABLE_DEPRECATED
646 void store_clipboard(
const Glib::RefPtr<Gdk::Window>& clipboard_window, guint32 time_);
648 void store_clipboard(
const Glib::RefPtr<Gdk::Window>& clipboard_window, guint32 time_,
const Glib::StringArrayHandle& targets);
Glib::ustring get_name() const
static Glib::RefPtr< Display > get_default()
void store_clipboard(const Glib::RefPtr< Gdk::Window > &clipboard_window, guint32 time_)
const GdkDisplay * gobj() const
Provides access to the underlying C GObject.
bool set_selection_owner(const Glib::RefPtr< Window > &owner, Glib::ustring &selection, guint32 time_, bool send_event)
static Glib::RefPtr< Display > open_default_libgtk_only()
Glib::RefPtr< Window > get_default_group()
Glib::RefPtr< const Window > get_window_at_pointer(int &win_x, int &win_y) const
Glib::RefPtr< const Screen > get_default_screen() const
GdkNativeWindow get_drag_protocol(GdkNativeWindow xid, GdkDragProtocol &protocol)
void get_pointer(int &x, int &y, ModifierType &mask)
bool supports_cursor_alpha() const
void pointer_ungrab(guint32 timestamp)
Glib::RefPtr< Pixmap > lookup_pixmap(NativeWindow anid)
static Glib::RefPtr< Display > open(const Glib::ustring &display_name)
guint get_default_cursor_size() const
const GdkEvent * get_event() const
static GType get_type() G_GNUC_CONST
void add_client_message_filter(Glib::ustring &message_type, GdkFilterFunc func, gpointer data)
bool supports_selection_notification() const
Glib::RefPtr< Window > get_selection_owner(const Glib::ustring &selection)
bool supports_input_shapes() const
Glib::RefPtr< const Window > get_default_group() const
bool pointer_is_grabbed() const
Glib::RefPtr< Window > get_window_at_pointer()
GdkEvent * peek_event() const
void selection_send_notify(GdkNativeWindow requestor, Glib::ustring &selection, Glib::ustring &target, Glib::ustring &property, guint32 time_)
void store_clipboard(const Glib::RefPtr< Gdk::Window > &clipboard_window, guint32 time_, const Glib::StringArrayHandle &targets)
void get_pointer(Glib::RefPtr< Screen > &screen, int &x, int &y, ModifierType &mask)
void warp_pointer(const Glib::RefPtr< Screen > &screen, int x, int y)
virtual void on_closed(bool is_error)
This is a default handler for the signal signal_closed().
void get_maximal_cursor_size(guint &width, guint &height)
Glib::RefPtr< const Screen > get_screen(int screen_num) const
GdkDisplay * gobj()
Provides access to the underlying C GObject.
GdkDisplayPointerHooks * unset_pointer_hooks()
Glib::SignalProxy1< void, bool > signal_closed()
Glib::RefPtr< const Device > get_core_pointer() const
int get_n_screens() const
Glib::RefPtr< Screen > get_screen(int screen_num)
Glib::RefPtr< Window > get_window_at_pointer(int &win_x, int &win_y)
GdkDisplay * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
GdkDisplayPointerHooks * set_pointer_hooks(const GdkDisplayPointerHooks *new_hooks)
Glib::RefPtr< Device > get_core_pointer()
bool supports_shapes() const
Glib::RefPtr< Screen > get_default_screen()
bool supports_cursor_color() const
bool request_selection_notification(const Glib::ustring &selection)
Glib::ListHandle< Glib::RefPtr< Device > > list_devices()
const GdkKeymap * get_keymap() const
void keyboard_ungrab(guint32 timestamp)
bool supports_composite() const
Glib::ListHandle< Glib::RefPtr< const Device > > list_devices() const
Glib::RefPtr< Gdk::Display > wrap(GdkDisplay *object, bool take_copy=false)
void set_double_click_distance(guint distance)
void put_event(GdkEvent *event)
bool supports_clipboard_persistence() const
Glib::RefPtr< const Window > get_window_at_pointer() const
void set_double_click_time(guint msec)
Glib::RefPtr< const Pixmap > lookup_pixmap(NativeWindow anid) const
typedefG_BEGIN_DECLS struct _GdkDisplayClass GdkDisplayClass
GdkFilterReturn(* GdkFilterFunc)(GdkXEvent *xevent, GdkEvent *event, gpointer data)
GdkNativeWindow NativeWindow
link region and track selection