[libgda-uimm] DataEntry: Update the wrapped methods according to the C API.
- From: Josà Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda-uimm] DataEntry: Update the wrapped methods according to the C API.
- Date: Fri, 30 Sep 2011 19:53:26 +0000 (UTC)
commit 4b9591d6e514115ec520f51050d833963b7dd24f
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date: Fri Sep 30 15:29:41 2011 -0400
DataEntry: Update the wrapped methods according to the C API.
* libgda-ui/src/dataentry.hg (reset): Remove as in the C API.
(expand_in_layout): Rename to can_expand() as in the C API.
(expand_changed): Wrap the new signal.
ChangeLog | 8 ++++++++
libgda-ui/src/dataentry.hg | 5 ++---
2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7472aea..cc70d2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2011-09-30 Josà Alburquerque <jaalburqu svn gnome org>
+ DataEntry: Update the wrapped methods according to the C API.
+
+ * libgda-ui/src/dataentry.hg (reset): Remove as in the C API.
+ (expand_in_layout): Rename to can_expand() as in the C API.
+ (expand_changed): Wrap the new signal.
+
+2011-09-30 Josà Alburquerque <jaalburqu svn gnome org>
+
Change the use of Gtk::[VH]Box to Gtk::Box.
* libgda-ui/src/basicform.hg:
diff --git a/libgda-ui/src/dataentry.hg b/libgda-ui/src/dataentry.hg
index 4706d56..86977a0 100644
--- a/libgda-ui/src/dataentry.hg
+++ b/libgda-ui/src/dataentry.hg
@@ -145,8 +145,6 @@ public:
template<class DataType>
void get_reference_value(DataType& value) const;
- _WRAP_METHOD(void reset(), gdaui_data_entry_reset)
-
_WRAP_METHOD(void set_default_value(const Glib::ValueBase& value), gdaui_data_entry_set_default_value)
/** Sets the default value for the DataEntry which gets displayed when the
@@ -165,7 +163,7 @@ public:
_WRAP_METHOD(Gnome::Gda::ValueAttribute get_attributes() const, gdaui_data_entry_get_attributes)
_WRAP_METHOD(Glib::RefPtr<Gnome::Gda::DataHandler> get_handler(), gdaui_data_entry_get_handler)
_WRAP_METHOD(Glib::RefPtr<const Gnome::Gda::DataHandler> get_handler() const, gdaui_data_entry_get_handler, constversion)
- _WRAP_METHOD(bool expand_in_layout() const, gdaui_data_entry_expand_in_layout)
+ _WRAP_METHOD(bool can_expand(bool horiz) const, gdaui_data_entry_can_expand)
_WRAP_METHOD(void set_editable(bool editable), gdaui_data_entry_set_editable)
_WRAP_METHOD(bool get_editable() const, gdaui_data_entry_get_editable)
_WRAP_METHOD(void grab_focus(), gdaui_data_entry_grab_focus)
@@ -177,6 +175,7 @@ public:
//GError.
//_WRAP_SIGNAL(void contents_valid(), "contents-valid", errthrow)
+ _WRAP_SIGNAL(void expand_changed(), "expand-changed")
_WRAP_SIGNAL(void status_changed(), "status-changed")
_WRAP_VFUNC(void set_value_type(GType type), "set_value_type")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]