BUTTON:
Attributes


AUTO-GEN

This is internal code used by glade2bond conversion programme to figure out which tags are hand made and which are generated. Any XML you write should have auto-gen set to false. This maybe replaced with namespace at some point.

Value(s)

Default Value

#IMPLIED

CONFIGVAR

Value(s)

CDATA

Default Value

#IMPLIED

CUSTOMLABEL

Value(s)

CDATA

Default Value

#IMPLIED

DEFAULTFOCUS

Value(s)

Default Value

false

EDITABLE

Boolean property, controls whether the button is clickable or not (can then be adjusted to be clickable by triggers or conditions).

Value(s)

Default Value

true

GRABFOCUS

Value(s)

Default Value

false

HTMLHEIGHT

Value(s)

CDATA

Default Value

#IMPLIED

HTMLLEFT

Value(s)

CDATA

Default Value

#IMPLIED

HTMLTOP

Value(s)

CDATA

Default Value

#IMPLIED

HTMLWIDTH

Value(s)

CDATA

Default Value

#IMPLIED

IMAGE

A button can have an image on it, with or without text.

Value(s)

CDATA

Default Value

#IMPLIED

LABEL

The text to display on the button. This may be passed in with mnemonics, e.g. _Button, causing the B to be underlined and the button to be triggered on an Alt-B keypress.

Value(s)

CDATA

Default Value

#IMPLIED

LONGNAME

Value(s)

CDATA

Default Value

#IMPLIED

MAXHEIGHT

Value(s)

CDATA

Default Value

-1

MAXWIDTH

Value(s)

CDATA

Default Value

-1

MINHEIGHT

This is useful for forcing widgets to be a minimum certain size.

Value(s)

CDATA

Default Value

-1

MINWIDTH

This is useful for forcing widgets to be a minimum certain size.

Value(s)

CDATA

Default Value

-1

NAME

Name of the widget that will be used in bond for api calls.

Value(s)

CDATA

Default Value

#IMPLIED

STOCK

A button can be chosen from the gtk-stock list, which would contain an image and the default text on the button. Note that the stock text value will override that of the label attribute. If you wish to have the label text with the stock image, put the stock value in the image attribute instead.

Value(s)

CDATA

Default Value

#IMPLIED

TABINDEX

Specify the order in which interactive widgets will be tabbed through. This may be any natural integer value (negative values should not be used). For purposes of tabbing, all widgets with an order specified will preceed any without an order specified. The lowest tabindex values will preceed higher values.

Value(s)

CDATA

Default Value

#IMPLIED

VISIBLE

When set to TRUE, this states which windows are visible once the xml program is executed.

Value(s)

Default Value

true

XPOS

Value(s)

CDATA

Default Value

#IMPLIED

YPOS

Value(s)

CDATA

Default Value

#IMPLIED
Back to BUTTON


bond-2.1 DTD