* [Caml-list] Osiris 1.0 Released
@ 2002-02-22 16:31 Warp
0 siblings, 0 replies; 3+ messages in thread
From: Warp @ 2002-02-22 16:31 UTC (permalink / raw)
To: OCaml, ocaml_beginners; +Cc: harry
Hi all !
Osiris is a set of very-easy-to-use Class Wrappers for the Win32 Controls
API.
The main goal of Osiris is to enable RAD (Rapid Application Developpement)
of user interfaces.
You can now get sources & precompiled binaries at http://warplayer.free.fr
Sample :
(* file : sample.ml *)
open Osiris;;
let my_wnd = new_window() in
my_wnd#caption "My Window Caption";
let lpan = new_panel my_wnd#container in
lpan#align AlLeft;
let lbutton = new_button lpan#container in
lbutton#align AlCenter;
lbutton#caption "Click Me !";
lbutton#on_click (fun x -> message_box (x#get_caption^" Clicked"));
my_wnd#state Normal;
my_wnd#update;
while my_wnd#process do
()
done
Requirements :
- OCaml 3.04 - for dynlink purpose
- Windows 95/98/NT/2K/Me/...
- A recent version of the Win32 OCaml API by Harry Chomsky ( can be found at
www.chomsky.net )
(dynamic binaries are included in the current distribution)
Nicolas Cannasse
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] Osiris 1.0 Released
2002-02-25 8:17 Charles-Albert Lehalle
@ 2002-02-25 9:05 ` Warp
0 siblings, 0 replies; 3+ messages in thread
From: Warp @ 2002-02-25 9:05 UTC (permalink / raw)
To: Charles-Albert Lehalle, OCaml, ocaml_beginners
> I tried to use Osiris yesterday and it returns :
>
> -----
> # #use "F:\Programs\OCaml\lib\osiris\sample.ml";;
>Reference to undefined global `Osiris'
> -----
> What can I do?
I didn't test Osiris with the interactive mode, but I think you should first
start with a
#load "(YourPath)Osiris.cma"
because Sample is using the Osiris Library.
Warp
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [Caml-list] Osiris 1.0 Released
@ 2002-02-25 8:17 Charles-Albert Lehalle
2002-02-25 9:05 ` Warp
0 siblings, 1 reply; 3+ messages in thread
From: Charles-Albert Lehalle @ 2002-02-25 8:17 UTC (permalink / raw)
To: Warp, OCaml, ocaml_beginners; +Cc: harry
I tried to use Osiris yesterday and it returns :
-----
# #use "F:\Programs\OCaml\lib\osiris\sample.ml";;
Reference to undefined global `Osiris'
-----
What can I do?
> -----Message d'origine-----
> De : Warp [mailto:warplayer@free.fr]
> Envoyé : vendredi 22 février 2002 17:32
> À : OCaml; ocaml_beginners@yahoogroups.com
> Cc : harry@chomsky.net
> Objet : [Caml-list] Osiris 1.0 Released
>
>
> Hi all !
>
> Osiris is a set of very-easy-to-use Class Wrappers for the
> Win32 Controls
> API.
> The main goal of Osiris is to enable RAD (Rapid Application
> Developpement)
> of user interfaces.
> You can now get sources & precompiled binaries at
http://warplayer.free.fr
Sample :
(* file : sample.ml *)
open Osiris;;
let my_wnd = new_window() in
my_wnd#caption "My Window Caption";
let lpan = new_panel my_wnd#container in
lpan#align AlLeft;
let lbutton = new_button lpan#container in
lbutton#align AlCenter;
lbutton#caption "Click Me !";
lbutton#on_click (fun x -> message_box (x#get_caption^" Clicked"));
my_wnd#state Normal;
my_wnd#update;
while my_wnd#process do
()
done
Requirements :
- OCaml 3.04 - for dynlink purpose
- Windows 95/98/NT/2K/Me/...
- A recent version of the Win32 OCaml API by Harry Chomsky ( can be found at
www.chomsky.net )
(dynamic binaries are included in the current distribution)
Nicolas Cannasse
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives:
http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ:
http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-25 9:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-22 16:31 [Caml-list] Osiris 1.0 Released Warp
2002-02-25 8:17 Charles-Albert Lehalle
2002-02-25 9:05 ` Warp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox