home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
iv31pm.zip
/
ivos2.zip
/
iv
/
src
/
examples
/
box4
/
main.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-14
|
538b
|
22 lines
#include <IV-look/kit.h>
#include <InterViews/background.h>
#include <InterViews/layout.h>
#include <InterViews/session.h>
#include <InterViews/window.h>
int main(int argc, char** argv) {
Session* session = new Session("Himom", argc, argv);
WidgetKit& kit = *WidgetKit::instance();
const LayoutKit& layout = *LayoutKit::instance();
return session->run_window(
new ApplicationWindow(
new Background(
layout.hbox(
kit.label("good"), layout.hglue(), kit.label("bye")
),
kit.background()
)
)
);
}