SplashScreen no cursor, timeout, top full screen,



Hello everybody!

I'm new with gtkmm (my version is gtkmm 3.0), but i know i have to use
it because others applications are running with.

I have to write a splash screen program :
- No mouse cursor
- Full screen
- Stay on Top
- With an execution TimeOut
- Eventually with IP connexion to be killed by program.

In fact, i have to mask a java program and a flash application during
launch or change.

One other parameter is to run under :
- ubuntu 8.04 (2.6.24 kernel - X V 1.4.0.90) (X86)
- ubuntu 10.04 (2.6.32 kernel - X V 1.7.6) (X86)
- Angstrom (2.6.39 kernel - X V1.11.1) (Arm)

A different compiled program for Arm and X86, but i can almost have 3
specifics program if necessary.


My first test program show the top full screen image, but i don't succed
masking the mouse cursor.
What i found make me think i'm not doing the right things: (cursor
functions)

int main(int argc, char *argv[]) 
{
    Gtk::Main app(argc, argv);

    Gtk::Window fenetre;

    Gtk::Image image("/home/toto/GTKMM/fde.jpg");

    fenetre.add(image);
    fenetre.fullscreen();
    fenetre.set_keep_above(true);

    image.show();

     Gtk::Main::run(fenetre);
    
    return 0;
}

Thanks
Daniel.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]