eraseCDKMarquee3
Cdk marquee widget
Part of cdk_marquee(3).
Usage
cc [flag ...]
file ...
-lcdk
[library ...]
Overview
The Cdk marquee widget creates a pop-up marquee window. The following functions create or manipulate the Cdk marquee widget.
Available functions
activateCDKMarquee-
activates the marquee widget.
- •
-
The
marqueeparameter is a pointer to a defined marquee widget.
- •
-
The
delayparameter states how long to wait between movements. This value is highly dependent on each machine the program runs on.
- •
-
The
repeatvalue tells the marquee widget how many times to display the given message.
- •
-
The
boxoption draws the widget with or without a box. This function returns -1 if the message passed is NULL, 0 otherwise.
deactivateCDKMarquee-
deactivates the marquee widget.
destroyCDKMarquee-
removes the widget from the screen and frees memory the object used.
drawCDKMarquee-
draws the marquee widget on the screen. If the
boxparameter is true, the widget is drawn with a box.
eraseCDKMarquee-
removes the widget from the screen. This does NOT destroy the widget.
getCDKMarqueeBox-
returns true if the widget will be drawn with a box around it.
moveCDKMarquee-
moves the given widget to the given position.
- •
-
The parameters
xposandyposare the new position of the widget.
- •
-
The parameter
xposmay be an integer or one of the pre-defined values TOP, BOTTOM, and CENTER.
- •
-
The parameter
yposmay be an integer or one of the pre-defined values LEFT, RIGHT, and CENTER.
- •
-
The parameter
relativestates whether thexpos/ypospair is a relative move or an absolute move.
-
For example, if
xpos= 1 andypos= 2 andrelative= TRUE, then the widget would move one row down and two columns right. If the value ofrelativewas FALSE, then the widget would move to the position (1,2).
-
Do not use the values TOP, BOTTOM, LEFT, RIGHT, or CENTER when
relative= TRUE. (weird things may happen).
- •
-
The final parameter
refreshis a boolean value which states whether the widget will get refreshed after the move.
newCDKMarquee-
creates a marquee widget and returns a pointer to it. Parameters:
screen-
is the screen you wish this widget to be placed in.
xpos-
controls the placement of the object along the horizontal axis. It may be an integer or one of the pre-defined values LEFT, RIGHT, and CENTER.
ypos-
controls the placement of the object along the vertical axis. It may be an integer or one of the pre-defined values TOP, BOTTOM, and CENTER.
width-
controls the width of the field. If you provide a value of zero for the width, the widget uses the width of the screen. If a negative value is provided, then the widget uses the width of the screen less the value provided.
shadow-
turns the shadow on or off around this widget.
-
If the widget could not be created then a NULL pointer is returned.
positionCDKMarquee-
allows the user to move the widget around the screen via the cursor/keypad keys. See cdk_position (3) for key bindings.
setCDKMarqueeBackgroundAttrib-
sets the background attribute of the widget. The parameter
attributeis a curses attribute, e.g., A_BOLD.
setCDKMarqueeBackgroundColor-
sets the background color of the widget. The parameter
coloris in the format of the Cdk format strings. For more information see cdk_display(3).
setCDKMarqueeBox-
sets whether the widget will be drawn with a box around it.
setCDKMarqueeBoxAttribute-
sets the attribute of the box.
setCDKMarqueeHorizontalChar-
sets the horizontal drawing character for the box to the given character.
setCDKMarqueeLLChar-
sets the lower left hand corner of the widget's box to the given character.
setCDKMarqueeLRChar-
sets the lower right hand corner of the widget's box to the given character.
setCDKMarqueeULChar-
sets the upper left hand corner of the widget's box to the given character.
setCDKMarqueeURChar-
sets the upper right hand corner of the widget's box to the given character.
setCDKMarqueeVerticalChar-
sets the vertical drawing character for the box to the given character.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm) to Debian 9 (Stretch)
- Debian 8 (Jessie) to Debian 7 (Wheezy)
- Debian 6.0 (Squeeze) to Debian 5.0 (Lenny)
- Debian 4.0 (Etch)
- Debian 3.1 (Sarge) to Debian 3.0 (Woody)