Re: wxEuphoria - Menu Font

new topic     » goto parent     » topic index » view thread      » older message » newer message

Another multiplatform GUI had this for creating a Window

    1. Creates a Window definition.

SYNTAX

Standard Window:

DEFINE WINDOW <WindowName>
[ AT <nRow> ,<nCol> ]
[ ROW <nRow> ]
[ COL <nCol> ]
WIDTH <nWindth>
HEIGHT <nHeight>
[ VIRTUAL WIDTH <nVirtualWindth> ]
[ VIRTUAL HEIGHT <nVirtualHeight> ]
[ TITLE <cTitle> ]
[ ICON <cIconName> ]
[ WINDOWTYPE STANDARD ]
[ MAIN | CHILD | MDI | PANEL ] | [ WINDOWTYPE MAIN | CHILD | MIDI | PANEL]
[ NOSHOW ]
[ TOPMOST ]
[ PALETTE ]
[ NOAUTORELEASE ]
[ NOMINIMIZE ]
[ NOMAXIMIZE ]
[ NOSIZE ]
[ NOSYSMENU ]
[ NOCAPTION ]
[ CURSOR <CursorName> ]
[ ON INIT<InitProcedureName> | <bBlock> ]
[ ON RELEASE <ReleaseProcedureName> | <bBlock> ]
[ ON INTERACTIVECLOSE <InteractiveCloseProcedureName> | <bBlock> ]
[ ON MOUSECLICK<MouseClickProcedureName> | <bBlock> ]
[ ON MOUSEDRAG<MouseDragProcedureName> | <bBlock> ]
[ ON MOUSEMOVE<MouseMoveProcedureName> | <bBlock> ]
[ ON MOVE<MoveProcedureName> | <bBlock> ]
[ ON SIZE<WindowSizeProcedureName> | <bBlock> ]
[ ON MAXIMIZE <WindowMaximizeProcedureName> | <bBlock> ]
[ ON MINIMIZE <WindowMinimizeProcedureName> | <bBlock> ]
[ ON RESTORE <WindowRestoreProcedureName> | <bBlock> ]
[ ON PAINT<WindowPaintProcedureName> | <bBlock> ]
[ ON DROPFILES {|aFiles| TakeDrop(aFiles)} ]
[ BACKCOLOR <anBackColor> ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ NOTIFYICON <cNotifyIconName> ]
[ NOTIFYTOOLTIP <cNotifyTooltip> ]
[ ON NOTIFYCLICK <NotifyClickProcedure> | <bBlock> ]
[ ON GOTFOCUS <ProcedureName> | <bBlock> ]
[ ON LOSTFOCUS <ProcedureName> | <bBlock> ]
[ ON SCROLLUP <ProcedureName> | <bBlock> ]
[ ON SCROLLDOWN <ProcedureName> | <bBlock> ]
[ ON SCROLLLEFT <ProcedureName> | <bBlock> ]
[ ON SCROLLRIGHT <ProcedureName> | <bBlock> ]
[ ON HSCROLLBOX <ProcedureName> | <bBlock> ]
[ ON VSCROLLBOX <ProcedureName> | <bBlock> ]
[ HELPBUTTON ]

... Control Definitions...

END WINDOW #

Their Menu creation also has a Font part in the composition of the whole. It would seem that they felt it was useful to give all that flexibility.

So I would think it is possible in a multi platform GUI.
If I have to digress from wxEuphoria, I would like to think that it is a temporary use of your Win32Lib pending wxEuphoria-2.9.3 based.
However, the whole of the syntax is pretty different and I would need to rewrite for multi-platform use.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu