sugar-toolkit-gtk3/src/sugar3/graphics
Simon Schampijer 20319cb3c4 Use GObject constructor for Gtk.Alignment
With PyGTK, all parameters of the Alignment constructor had defaults [1].
With GTK3+pygi, when using the explicit constructor (Alignment.new() resp.
gtk_alignment_new() [2]), all values would need to be passed. However when
using the GObject constructor, named properties can be passed in instead and
we only need to pass those that different from the default.

[1] http://developer.gnome.org/pygtk/stable/class-gtkalignment.html#constructor-gtkalignment
[2] http://developer.gnome.org/gtk/stable/GtkAlignment.html#gtk-alignment-new

Signed-off-by: Simon Schampijer <simon@schampijer.de>
[assembled from several patches; replaced description]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
2011-12-13 17:19:53 -03:00
..
__init__.py
alert.py Use GObject constructor for Gtk.Alignment 2011-12-13 17:19:53 -03:00
animator.py
colorbutton.py
combobox.py
icon.py Use accessor functions for data fields 2011-12-13 17:19:53 -03:00
iconentry.py
Makefile.am
menuitem.py
notebook.py
objectchooser.py Use accessor functions for data fields 2011-12-13 17:19:53 -03:00
palette.py Use GObject constructor for Gtk.Alignment 2011-12-13 17:19:53 -03:00
palettegroup.py
palettewindow.py Use accessor functions for data fields 2011-12-13 17:19:53 -03:00
panel.py
radiopalette.py
radiotoolbutton.py
style.py
toggletoolbutton.py
toolbarbox.py Use GObject constructor for Gtk.Alignment 2011-12-13 17:19:53 -03:00
toolbox.py Use GObject constructor for Gtk.Alignment 2011-12-13 17:19:53 -03:00
toolbutton.py
toolcombobox.py
tray.py Use GObject constructor for Gtk.Alignment 2011-12-13 17:19:53 -03:00
window.py Use accessor functions for data fields 2011-12-13 17:19:53 -03:00
xocolor.py