henesyinit from p9fce6d0435 years agoHistory
103 lines · 2.3 KB · Text
RawDownload
.TH PLINITBUTTON 2.SH NAMEplinitbutton, plinitcanvas, plinitcheckbutton, plinitedit, plinitentry, plinitframe, plinitgroup, plinitidollist, plinitlabel, plinitlist, plinitmenu, plinitmessage, plinitpopup, plinitpulldown, plinitradiobutton, plinitscrollbar, plinitslider, plinittextview \- panel reinitialization functions.SH SYNOPSIS.nf.B #include <u.h>.br.B #include <libg.h>.br.B #include <panel.h>.PP.Bvoid plinitbutton(Panel*, int, Icon*, void (*)(Panel*, int)).PP.Bvoid plinitcanvas(Panel*, int, void (*)(Panel*, Mouse*)).PP.Bvoid plinitcheckbutton(Panel*, int, Icon*,.B	                  void (*)(Panel*, int, int)).PP.Bvoid plinitedit(Panel*, int, Point, Rune*, int,.B	           void (*)(Panel *)).PP.Bvoid plinitentry(Panel*, int, int, char*,.B	            void (*)(Panel*, char*)).PP.Bvoid plinitframe(Panel*, int).PP.Bvoid plinitgroup(Panel*, int).PP.Bvoid plinitlabel(Panel*, int, Icon*).PP.Bvoid plinitlist(Panel*, int, char *(*)(int), int,.B	           void(*)(Panel*, int, int)).PP.Bvoid plinitmenu(Panel*, int, Icon**, int,.B	           void (*)(int, int)).PP.Bvoid plinitmessage(Panel*, int, int, char*).PP.Bvoid plinitpopup(Panel*, int, Panel*, Panel*, Panel*).PP.Bvoid plinitpulldown(Panel*, int, Icon*, Panel*, int).PP.Bvoid plinitradiobutton(Panel*, int, Icon*,.B	                  void (*)(Panel*, int, int)).PP.Bvoid plinitscrollbar(Panel*, int).PP.Bvoid plinitslider(Panel*, int, Point,.B	             void(*)(Panel*, int, int, int)).PP.Bvoid plinittextview(Panel*, int, Point, Rtext*,.B	               void (*)(Panel*, int, Rtext*)).SH DESCRIPTIONCorresponding to each.BR Panel -creationfunction (see.IR plbutton (2))is a function that reinitializes the parameters of that kind of panel.The reinitialization functions are all named by inserting the string.B initafter the creation function's initial.BR pl .For example,.B plinitbuttonwill reinitialize a panel created by.BR plbutton .Their argument lists are identical to the corresponding creation function,except that the first argument is a pointer to the panel to be reinitialized,rather than its parent..SH SOURCE.B /sys/src/libpanel.SH SEE ALSO.IR plinit (2),.IR plbutton (2),.IR graphics (2).brTom Duff,``A quick introduction to the panel library''.