gandi_stndr(3) - Linux man page

Name

Standard properties.

Synopsis

#include <gandi_core.h>

void GANDI_stndrwidget(GANDIW_widget *w);

void GANDI_stndrwin(WINDOW *w);

Description

These functions applie some standard attributes to the specified object.

void GANDI_stndrwidget(GANDIW_widget *w);

This function sets all the widget's properties to the initial state. The properties which are not changed are: self, border, panlist, parent,child and key_alias. All other are changed thus:
property value
live TRUE
resize_o GANDI_wtv(w)
movable TRUE
rows_min 0
cols_min 0
rows_max INT_MAX
cols_max INT_MAX
allow_border FALSE
visible TRUE
keymap_sys GANDI_keymap_sys_stencil
(see gandi_keymap(3gandi))
keymap NULL
timer NULL
All action handlers are set to NULL. The timer is not detached (see gandi_timer(3gandi)), it is simply set to NULL.

void GANDI_stndrwin(WINDOW *w);

Applies to the w the following properties.
property details value
keypad inopts(3NCURSES) TRUE
leaveok outopts(3NCURSES) FALSE
nodelay inopts(3NCURSES) TRUE
wtimeout inopts(3NCURSES) 1

Notes

Probably it will be changed.

GANDI_stndrwidget demands the widget's core part! Not the widget itself.

See Also

inopts(3NCURSES) outopts(3NCURSES) gandi_core(3gandi) gandi_gandiw(3gandi) gandi_keymap(3gandi)