|
From: Alexander S.K. <al...@be...> - 2014-10-03 09:31:44
|
Alain,
I'll answer by parts in few messages, because each question demands
some investigation.
> 1) I tried to put an image in background of my window like this:
>
> INIT WINDOW oMainWindow MAIN TITLE "Utilitaires de généalogie" ;
> AT ox,oy SIZE 844,381 //;
> BACKGROUND BITMAP cImageDir+"acte.png"
>
This doesn't work in GTK version. Gtk has different kinds of windows,
some of them are drawable, some - not. So the decision is to place on
the main window some drawable widget.
@ 0,0 BITMAP "some.png"
is a good variant. Or you may use a panel with ON PAINT method and paint
there anything you need.
> 2) I haven't found how to create a status bar
>
ADD STSTUS oStatus TO oMainWindow
and then use oStatus:SetText( someText ) to write there. This method has
been fixed in a latest Changelog.
Regards, Alexander.
|