def copy()
def free()
|
All attributes are available in PyGTK 2.16 and above.
|
This object is available in PyGTK 2.4 and above.
A gtk.Border
object
contains the integer values for the left, right, top and bottom values of a
border. gtk.Border
is used
in gtk.Style
specifications. gtk.Border
has two
methods: copy
() and
free
().
Starting with PyGTK 2.16 you can also
treat gtk.Border
objects as sequences of 4 integer values. E.g. you can convert to a tuple or read
and assign individual values by index.
gtk.Border(left
=0, right
=0, top
=0, bottom
=0)
| the width of the left margin |
| the width of the right margin |
| the width of the top margin |
| the width of the bottom margin |
Returns : | a new gtk.gdk.Rectangle
object |
This constructor is available in PyGTK 2.16 and above.
Creates a
new gtk.Border
with
the attributes specified
by left
, right
, top
and bottom
. Any unspecified attributes default to 0.
© manpagez.com 2000-2024 Individual documents may contain additional copyright information.