[gtkmm] Widget: Added get_style_context().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Widget: Added get_style_context().
- Date: Tue, 7 Dec 2010 16:16:00 +0000 (UTC)
commit 07aa82403b63069ce7fd8cb60fde7a60767b74e3
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Dec 7 15:32:49 2010 +0100
Widget: Added get_style_context().
* gtk/src/widget.hg: Wrap gtk_widget_get_style_context().
ChangeLog | 6 ++++++
gtk/src/widget.hg | 4 ++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index af3363d..640c248 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2010-12-07 Murray Cumming <murrayc murrayc com>
+ Widget: Added get_style_context().
+
+ * gtk/src/widget.hg: Wrap gtk_widget_get_style_context().
+
+2010-12-07 Murray Cumming <murrayc murrayc com>
+
Added CssProvider.
* gtl/src/filelist.am:
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index 2aa1efb..8c576e4 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -40,6 +40,7 @@ _CONFIGINCLUDE(gtkmmconfig.h)
#include <gtkmm/stockid.h>
#include <gtkmm/clipboard.h>
#include <gtkmm/requisition.h>
+#include <gtkmm/stylecontext.h>
#include <gtkmm/widgetpath.h>
_DEFS(gtkmm,gtk)
@@ -502,6 +503,9 @@ public:
_IGNORE(gtk_widget_get_requisition)
_WRAP_METHOD(bool in_destruction() const, gtk_widget_in_destruction)
+
+ _WRAP_METHOD(Glib::RefPtr<StyleContext> get_style_context(), gtk_widget_get_style_context, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<Gtk::StyleContext> get_style_context() const, gtk_widget_get_style_context, refreturn, constversion)
_WRAP_SIGNAL(void show(),"show")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]