[gtkmm] CellRenderer: Added 2 methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] CellRenderer: Added 2 methods.
- Date: Tue, 21 Dec 2010 09:07:32 +0000 (UTC)
commit 9c6b28850ad11e7fd9fe659be73e240762ff7927
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Dec 21 10:06:24 2010 +0100
CellRenderer: Added 2 methods.
* gtk/src/cellrenderer.hg: Added is_activatable() and get_aligned_area().
ChangeLog | 6 ++++++
gtk/src/cellrenderer.hg | 4 ++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index dd19a8f..663663e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-12-21 Murray Cumming <murrayc murrayc com>
+
+ CellRenderer: Added 2 methods.
+
+ * gtk/src/cellrenderer.hg: Added is_activatable() and get_aligned_area().
+
2010-12-20 Murray Cumming <murrayc murrayc com>
Gtk: Add CellArea, CellAreaBox and CellAreaContext
diff --git a/gtk/src/cellrenderer.hg b/gtk/src/cellrenderer.hg
index 8813131..29df206 100644
--- a/gtk/src/cellrenderer.hg
+++ b/gtk/src/cellrenderer.hg
@@ -51,6 +51,9 @@ public:
_WRAP_METHOD(void get_preferred_height(Widget& widget, int& minimum_height, int& natural_height) const, gtk_cell_renderer_get_preferred_height)
_WRAP_METHOD(void get_preferred_width_for_height(Widget& widget, int height, int& minimum_width, int& natural_width) const, gtk_cell_renderer_get_preferred_width_for_height)
_WRAP_METHOD(void get_preferred_size(Widget& widget, Requisition& minimum_size, Requisition& natural_size) const, gtk_cell_renderer_get_preferred_size)
+
+ //TODO: Use a return value intead?
+ _WRAP_METHOD(void get_aligned_area(Widget& widget, CellRendererState flags, const Gdk::Rectangle& cell_area, Gdk::Rectangle& aligned_area), gtk_cell_renderer_get_aligned_area)
_WRAP_METHOD(void render(
const Cairo::RefPtr<Cairo::Context>& cr,
@@ -89,6 +92,7 @@ public:
_WRAP_METHOD(bool get_visible() const, gtk_cell_renderer_get_visible)
_WRAP_METHOD(void set_sensitive(bool sensitive = true), gtk_cell_renderer_set_sensitive)
_WRAP_METHOD(bool get_sensitive() const, gtk_cell_renderer_get_sensitive)
+ _WRAP_METHOD(bool is_activatable() const, gtk_cell_renderer_is_activatable)
_WRAP_METHOD(void stop_editing(bool canceled = false), gtk_cell_renderer_stop_editing)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]