Commit 06f8af87 authored by Murray Cumming's avatar Murray Cumming

gtkmm: Added missing properties.

	* tools/extra_defs_gen/generate_defs_gtk.cc: Added GtkComboBoxEntry and
	GtkColorSelectionDialog.
	* gtk/src/gtk_signals.defs: Added the new sections for these widgets.
	* gtk/src/colorselection.hg: Added color_selection, ok_button, cancel_button,
	and help_button properties.
	* gtk/src/combobox.hg: Added popup_shown and button_sensitivity properties.
	* gtk/src/comboboxentry.hg: Added text_column property.
	* gtk/src/entry.hg: Added inner_borde, primary_icon_tooltip_text,
	secondary_icon_tooltip_text", primary_icon_tooltip_markup" and
	secondary_icon_tooltip_markup properties.
	* gtk/src/filechooserbutton.hg: Added dialog property.
	* gtk/src/handlebox.hg: Added snap_edge_set and child_detached properties.
	* gtk/src/image.hg: Added pixel-size and icon-name properties.
parent a5d97aff
2010-09-25 Murray Cumming <murrayc@murrayc.com>
gtkmm: Added missing properties.
* tools/extra_defs_gen/generate_defs_gtk.cc: Added GtkComboBoxEntry and
GtkColorSelectionDialog.
* gtk/src/gtk_signals.defs: Added the new sections for these widgets.
* gtk/src/colorselection.hg: Added color_selection, ok_button, cancel_button,
and help_button properties.
* gtk/src/combobox.hg: Added popup_shown and button_sensitivity properties.
* gtk/src/comboboxentry.hg: Added text_column property.
* gtk/src/entry.hg: Added inner_borde, primary_icon_tooltip_text,
secondary_icon_tooltip_text", primary_icon_tooltip_markup" and
secondary_icon_tooltip_markup properties.
* gtk/src/filechooserbutton.hg: Added dialog property.
* gtk/src/handlebox.hg: Added snap_edge_set and child_detached properties.
* gtk/src/image.hg: Added pixel-size and icon-name properties.
2010-09-24 Murray Cumming <murrayc@murrayc.com>
gtkmm: Added some more missing properties.
......
......@@ -126,6 +126,11 @@ _DEPRECATE_IFDEF_START
*/
_MEMBER_GET_PTR(help_button,help_button,Button*,GtkWidget*)
_DEPRECATE_IFDEF_END
_WRAP_PROPERTY("color-selection", ColorSelection*)
_WRAP_PROPERTY("ok-button", Button*)
_WRAP_PROPERTY("cancel-button", Button*)
_WRAP_PROPERTY("help-button", Button*)
};
} // namespace Gtk
......@@ -154,6 +154,8 @@ public:
_WRAP_PROPERTY("has-frame", bool)
_WRAP_PROPERTY("focus-on-click", bool)
_WRAP_PROPERTY("tearoff-title", Glib::ustring)
_WRAP_PROPERTY("popup-shown", bool)
_WRAP_PROPERTY("button-sensitivity", SensitivityType)
/** The changed signal gets emitted when the active
* item is changed. This can be due to the user selecting
......
......@@ -97,7 +97,9 @@ public:
/** @see Bin::get_child().
*/
const Entry* get_entry() const;
const Entry* get_entry() const;
_WRAP_PROPERTY("text-column", int)
};
......
......@@ -124,6 +124,8 @@ public:
_WRAP_PROPERTY("has_separator", bool)
_WRAP_SIGNAL(void response(int response_id), "response")
//_WRAP_PROPERTY("has-separator", bool) //deprecated.
_IGNORE_SIGNAL("close")
......
......@@ -207,6 +207,7 @@ public:
_WRAP_PROPERTY("max-length", int)
_WRAP_PROPERTY("visibility", bool)
_WRAP_PROPERTY("has-frame", bool)
_WRAP_PROPERTY("inner-border", Border)
_WRAP_PROPERTY("invisible-char", gunichar)
_WRAP_PROPERTY("invisible-char-set", bool)
_WRAP_PROPERTY("activates-default", bool)
......@@ -235,6 +236,10 @@ public:
_WRAP_PROPERTY("secondary-icon-activatable", bool)
_WRAP_PROPERTY("primary-icon-sensitive", bool)
_WRAP_PROPERTY("secondary-icon-sensitive", bool)
_WRAP_PROPERTY("primary-icon-tooltip-text", bool)
_WRAP_PROPERTY("secondary-icon-tooltip-text", bool)
_WRAP_PROPERTY("primary-icon-tooltip-markup", bool)
_WRAP_PROPERTY("secondary-icon-tooltip-markup", bool)
_WRAP_PROPERTY("im-module", Glib::ustring)
};
......
......@@ -95,6 +95,7 @@ public:
//See http://bugzilla.gnome.org/show_bug.cgi?id=353196
_WRAP_SIGNAL(void file_set(), "file-set", no_default_handler)
_WRAP_PROPERTY("dialog", FileChooserDialog*)
_WRAP_PROPERTY("focus-on-click", bool)
_WRAP_PROPERTY("title", Glib::ustring)
_WRAP_PROPERTY("width-chars", int)
......
......@@ -80,6 +80,7 @@ public:
_WRAP_PROPERTY("label", Glib::ustring)
_WRAP_PROPERTY("label-xalign", double)
_WRAP_PROPERTY("label-yalign", double)
//deprecated: _WRAP_PROPERTY("shadow", ShadowType)
_WRAP_PROPERTY("shadow-type", ShadowType)
_WRAP_PROPERTY("label-widget", Widget*)
......
This diff is collapsed.
......@@ -90,6 +90,8 @@ _DEPRECATE_IFDEF_END
_WRAP_PROPERTY("shadow-type", ShadowType)
_WRAP_PROPERTY("handle-position", PositionType)
_WRAP_PROPERTY("snap-edge", PositionType)
_WRAP_PROPERTY("snap-edge-set", bool)
_WRAP_PROPERTY("child-detached", bool)
};
} /* namespace Gtk */
......@@ -410,7 +410,7 @@ public:
_WRAP_PROPERTY("markup-column", int)
_WRAP_PROPERTY("tooltip-column", int)
_WRAP_PROPERTY("selection-mode", SelectionMode)
_WRAP_PROPERTY("orientation", Orientation)
_WRAP_PROPERTY("orientation", Orientation) //deprecated
_WRAP_PROPERTY("item-orientation", Orientation)
_WRAP_PROPERTY("reorderable", bool)
_WRAP_PROPERTY("model", Glib::RefPtr<TreeModel>)
......
......@@ -174,7 +174,9 @@ public:
_WRAP_PROPERTY("stock", Glib::ustring)
_WRAP_PROPERTY("icon-set", Gtk::IconSet)
_WRAP_PROPERTY("icon-size", int)
_WRAP_PROPERTY("pixel-size", int)
_WRAP_PROPERTY("pixbuf-animation", Glib::RefPtr<Gdk::PixbufAnimation>)
_WRAP_PROPERTY("icon-name", Glib::ustring)
_WRAP_PROPERTY("storage-type", ImageType)
_WRAP_PROPERTY("gicon", Glib::RefPtr<Gio::Icon>)
};
......
......@@ -88,8 +88,10 @@ int main(int argc, char** argv)
<< get_defs( GTK_TYPE_CLIPBOARD )
<< get_defs( GTK_TYPE_COLOR_BUTTON )
<< get_defs( GTK_TYPE_COLOR_SELECTION )
<< get_defs( GTK_TYPE_COLOR_SELECTION_DIALOG )
<< get_defs( GTK_TYPE_COMBO ) /* Deprecated */
<< get_defs( GTK_TYPE_COMBO_BOX )
<< get_defs( GTK_TYPE_COMBO_BOX_ENTRY )
<< get_defs( GTK_TYPE_CONTAINER )
<< get_defs( GTK_TYPE_CTREE ) /* Deprecated */
<< get_defs( GTK_TYPE_CELL_VIEW )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment