canvas_class
):- use_module(library(canvas_class)).
canvas_class
)Each item type is characterized in two ways: first, the form of the create command used to create instances of the type; and second, a set of configuration options for items of that type, which may be used in the create and itemconfigure widget commands.
Usage: shape(S)
S
is a reference to one type of the items supported by canvas widgets.
Usage: option(O)
O
is hidden if the Shape is not visible or shown if its visible.
Usage:
Usage: canvas_class(+ItemsList)
+ItemsList
is a list.
(basic_props:list/1
)
Usage:
Usage:
Usage:
Usage 1: width_value(+Width)
Width
of the canvas. Default 100.
+Width
is a number.
(basic_props:num/1
)
Usage 2: width_value(-Width)
Width
of the canvas.
-Width
is a number.
(basic_props:num/1
)
Usage 1: height_value(+Height)
Height
of the canvas. Default 50.
+Height
is a number.
(basic_props:num/1
)
Usage 2: height_value(-Height)
Height
of the canvas.
-Height
is a number.
(basic_props:num/1
)
Usage 1: side_type(+Side)
Side
of the master, the slave(s) will be packed against. Must be left, right, top or bottom. Defaults to top.
+Side
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 2: side_type(-Side)
Side
of the canvas.
-Side
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 1: expand_value(+Value)
Value
may have any proper boolean value, such as 1 or no. Defaults to 0
+Value
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 2: expand_value(-Value)
Value
which indicates if the slaves should be expanded or no.
-Value
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 1: fill_type(+Option)
+Option
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 2: fill_type(-Option)
-Option
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 1: padx_value(+Amount)
Amount
specifies how much horizontal external padding to leave on each side of the slave(s). Amount defaults to 0.
+Amount
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 2: padx_value(-Amount)
Amount
which specifies how much horizontal external padding to leave on each side of the slaves.
-Amount
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 1: pady_value(+Amount)
Amount
specifies how much vertical external padding to leave on each side of the slave(s). Amount defaults to 0.
+Amount
is currently instantiated to an atom.
(term_typing:atom/1
)
Usage 2: pady_value(-Amount)
Amount
which specifies how much vertical external padding to leave on each side of the slaves.
-Amount
is currently instantiated to an atom.
(term_typing:atom/1
)
Go to the first, previous, next, last section, table of contents.