[gtkmm] Gdk::EventConfigure: Add implementation of get_rect()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk::EventConfigure: Add implementation of get_rect()
- Date: Fri, 7 Jul 2017 14:50:46 +0000 (UTC)
commit 35f53247f332b4312c2a0bf806a562f512873c2f
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Fri Jul 7 16:46:17 2017 +0200
Gdk::EventConfigure: Add implementation of get_rect()
This was apparently overlooked in
commit 346905f426d0486c91ec9cfe94033f92f8e71efb
gdk/src/events.ccg | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gdk/src/events.ccg b/gdk/src/events.ccg
index 8154928..02a5fbd 100644
--- a/gdk/src/events.ccg
+++ b/gdk/src/events.ccg
@@ -55,6 +55,11 @@ bool EventScroll::is_scroll_stop_event() const
return gobj()->is_stop;
}
+Gdk::Rectangle EventConfigure::get_rect() const
+{
+ return Gdk::Rectangle(gobj()->x, gobj()->y, gobj()->width, gobj()->height);
+}
+
bool EventSelection::has_requestor() const
{
return gobj()->requestor != nullptr;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]