pixmap widget
A GtkImage
Definition
<pixmap tag_attr="value"...>
<variable>varname</variable>
<height>value</height>
<width>value</width>
<input file>filename</input>
<input file icon="image"></input>
<input file stock="gtk-image"></input>
<sensitive>state</sensitive>
</pixmap>
"..." denotes acceptance of multiples of the same thing.
Tag Attributes
See the GtkImage widget and ancestor class properties.
The following custom tag attributes are available:
Name | Description | Value | Since |
space-expand | Pack widget expanding into space | true or false | 0.7.21 |
space-fill | Pack widget filling space | true or false | 0.7.21 |
Directives
Some of these may have tag attribute equivalents.
Name | Description | Contents | Mandatory | Since |
variable | Shell variable name | | | |
height | Image scaling dimension | An integer > 0 or -1 to ignore | | 0.7.21 |
width | Image scaling dimension | An integer > 0 or -1 to ignore | | 0.7.21 |
input file | Data input source | Image filename | (0) | |
input file icon="image"[1] | GTK theme icon name | | (0) | 0.7.21 |
input file stock="gtk-image"[2] | GTK stock icon ID | gtk-about , gtk-add , ... (full list) | (0) | |
sensitive | Sensitive state | true or false | | 0.7.21 |
Signals
There is no default signal for this widget.
See the GtkWidget widget and ancestor class signals.
Functions
The following functions can be performed upon this widget by any widget capable of emitting signals:
Type | Description | Parameter | Since |
enable | Sensitise widget | Shell variable name | |
disable | Desensitise widget | Shell variable name | |
refresh | Reload input data | Shell variable name | 0.7.21 |
Notes
1. Theme icons default to 32 and do not scale or refresh (the height or width directives can be used to request a size).
2. Stock icons default to GTK_ICON_SIZE_DND and do not scale or refresh (the "icon-size" tag attribute can be used to adjust the size).
button,
checkbox,
colorbutton,
comboboxentry,
comboboxtext,
combobox,
edit,
entry,
frame,
hbox,
hscale,
hseparator,
list,
menubar,
menuitemseparator,
menuitem,
menu,
notebook,
pixmap,
progressbar,
radiobutton,
separator,
spinbutton,
statusbar,
table,
text,
timer,
togglebutton,
tree,
vbox,
vscale,
vseparator,
window,
|