Re: QTk & popmenu
Stefano
stegua at libero.it
Fri Feb 15 15:25:27 CET 2002
hi,
thanks for answer. I looked at new docs, and I tried the examples you
mailed:
> PopupMenu={QTk.newMenu menu(command(text:"pop up"))}
> {PopupMenu post(100 100)}
but it didn't work. Maybe I have a wrong "QTk.ozk" module, because
error was:
static analysis error *******************
%**
%** illegal feature selection on record
%**
%** Feature found: newMenu
%** Expected one of: {bell, build, buildImageLibrary, buildmenu,
clipboard, dialogbox, loadImageLibrary, loadTk, loadTkPI, newFont,
newImage, newImageLibrary, newLook, registerWidget, saveImageLibrary,
setAssertLevel, wInfo}
%** in file "Oz", line 2, column 14
%** ------------------ rejected (1 error)
I tried then with <QTk.buildmenu menu(...)>, but i get another error
(about initialing parent widget).
bye,
Ste
> Hi,
>
> the new-but-not-yet-officialy-
released version of the QTk documentation
> might help you:
> http://www.info.ucl.ac.be/people/ned/qtk/http-html-
new/node42.html#misc.menu
>
> For example:
>
> PopupMenu={QTk.newMenu menu(command(text:"pop up"))}
> {PopupMenu post(100 100)}
>
> Hope it helps,
> Donatien Grolaux
>
> ----- Original Message -----
> From: "Stefano" <stegua at libero.it>
> To: <users at mozart-oz.org>
> Sent: Friday, February 15, 2002 2:21 PM
> Subject: QTk & popmenu
>
>
> > hi,
> >
> > is there anyway to manage popmenu with QTk?
> > I looked for in "QTk Module" by Donatien Grolaux, but I didn't found
> > much.
> >
> > thanks in advance,
> > Stefano
> > -
> > Please send submissions to users at mozart-oz.org
> > and administriva mail to users-request at mozart-oz.org.
> > The Mozart Oz web site is at http://www.mozart-oz.org/.
> >
>
>
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.
More information about the mozart-users
mailing list