3.4 <GtkBorder>

Structure: <GtkBorder>

Specifies a border around a rectangular area.

Each side can have a different width.

Fields

left

The width of the left border

right

The width of the right border

top

The width of the top border

bottom

The width of the bottom border

Procedures

Method: border:copy self ⇒ %return
Method: copy self ⇒ %return

Copies a <GtkBorder>.

self

Passed: a <GtkBorder>.

a <GtkBorder> struct

%return

Returned: a <GtkBorder>.

a copy of self.

Method: border:free self
Method: free self

Frees a <GtkBorder>.

self

Passed: a <GtkBorder>.

a <GtkBorder> struct

Procedure: border:new ⇒ %return

Allocates a new <GtkBorder> struct and initializes its elements to zero.

%return

Returned: a <GtkBorder>.

a newly allocated <GtkBorder> struct. Free with border:free