[Y-devel] window sample

Robert Wimmer seppwimmer at hotmail.com
Mon Mar 8 22:46:18 GMT 2004


hi there,

the samples i have seen here create always a new class for each window. so i 
deceided to demonstrate that it is easy to build "dynamic" windows with the 
given means. for it is only a demonstration it is really simple. it uses a 
new built class named "mywin" . you can add labels, buttons, checkboxes,  
quitbuttons and the new widget textclock (a demonstration how to combine to 
existing classes - tickers and labels - to a new one ) to this window.

it works with patch-32 , and you should be able to compile it standalone - 
if not check the include and library pathes in the Makefile.

- just unpack (tar xzfv ...)
- "cd" to the new built directory
- "make" it.
- open Y
- type ./ymywin1 from the new directory
- and an (ugly) window will apear

i have ATTACHED the tar.gz, because i have no possibilty to make it 
downloadable :-( sorry.

please let me (us) know what you think about it.

last but not least : i began to work on an editwidget class and i think we 
have to intruduce a new structure to handle the "tabbing" of widgets (to 
select the widget focus with the keyboard - tab from one widget to the 
next).

bye sepp

_________________________________________________________________
Recherchieren Sie auf eigene Faust mit der wohl besten Suchmaschine im Netz. 
https://search.msn.at/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win_sample.tar.gz
Type: application/unix-tar
Size: 2005 bytes
Desc: not available
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040308/460c7d1e/win_sample.tar.bin


More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved