RE: SplashScreen no cursor, timeout, top full screen,
- From: "MONDON Daniel" <Daniel MONDON lpgsystems com>
- To: <gtkmm-list gnome org>
- Subject: RE: SplashScreen no cursor, timeout, top full screen,
- Date: Fri, 17 Feb 2012 17:37:45 +0100
Trying to compile gtkmm 3.0.1, i see cairo upgrade (and pixbuf).
Can i only update both (without gtkmm 3.0) with corresponding gtkmm .so and it runs ?
Thanks
Daniel.
-----Message d'origine-----
De : gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org] De la part de MONDON Daniel
Envoyé : mardi 14 février 2012 09:04
À : lecas malecas
Cc : gtkmm-list gnome org
Objet : RE: SplashScreen no cursor, timeout, top full screen,
Yes, Ubuntu 8.04 too.
But i think adding .so can make the program runs.
Just (?) ask to specialist the specific problem of " undefined symbol: cairo_region_destroy "
Thanks,
Daniel.
PS: I can almost try to generate gtkmm 3.0.1 for Ubuntu 10.04 and 8.04 and compile the program on both systems ...
-----Message d'origine-----
De : lecas malecas [mailto:darkiiiiii gmail com] Envoyé : mardi 14 février 2012 04:32 À : MONDON Daniel Cc : gtkmm-list gnome org Objet : Re: SplashScreen no cursor, timeout, top full screen,
I don't think ubuntu 10.04 has gtkmm3, only gtkmm2.
On Mon, Feb 13, 2012 at 5:13 PM, MONDON Daniel <Daniel MONDON lpgsystems com> wrote:
> The program i do run as i want under ubuntu 11.10 (the machine i generate the program, with gtkmm 3.0 ...).
>
> When i want to run under ubuntu 10.04 or 8.04, i've got the same error.
>
> "symbol lookup error: /usr/lib/libcairo-gobject.so.2: undefined symbol: cairo_region_destroy"
>
> Of course, i have to install missing libs (ldd <my_program>) with ldconfig on both ubuntus.
>
> Any idea :) ?
>
> Thanks
> Daniel
>
>
>
>>-----Message d'origine-----
>>De : gtkmm-list-bounces gnome org
>>[mailto:gtkmm-list-bounces gnome org] De la part de MONDON Daniel
>>Envoyé : mercredi 8 février 2012 17:36 À : Krzesimir Nowak Cc :
>>gtkmm-list gnome org Objet : RE: SplashScreen no cursor, timeout, top
>>full screen,
>>
>>
>>With this example :
>>http://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/tim
>>eout
>>
>>I put the Kjell's code in on_button_add_timer().
>>When i click, mouse cursor become invisible! :)
>>
>>As i need timeout, i will start from this sample program, adding what i need (image, full screen ... ).
>>
>>The remaining questions will be what libraries i need to run the program under Ubuntu 10.04 and 8.04 ...
>>
>>Thanks
>>Daniel.
>
>
>
> -----Message d'origine-----
> De : Krzesimir Nowak [mailto:qdlacz gmail com] Envoyé : mercredi 8
> février 2012 16:44 À : MONDON Daniel Cc : Kjell Ahlstedt;
> gtkmm-list gnome org Objet : Re: SplashScreen no cursor, timeout, top
> full screen,
>
> 2012/2/8 MONDON Daniel <Daniel MONDON lpgsystems com>:
>> Effectively, gdk_window is NULL.
>>
>
> Try calling Kjell's code in signal_realize [1] handler. At this point window should be realized, i.e. it should have allocated GdkWindow.
> There is a tutorial how to add custom signal handler. [2]
>
> [1]
> http://developer.gnome.org/gtkmm/stable/classGtk_1_1Widget.html#a57525
> 266f890c9eb894ae00af141decf [2]
> http://developer.gnome.org/gtkmm-tutorial/stable/sec-connecting-signal
> -handlers.html.en
>
>> Thanks
>> Daniel.
>>
>>
>> -----Message d'origine-----
>> De : Kjell Ahlstedt [mailto:kjell ahlstedt bredband net]
>> Envoyé : mercredi 8 février 2012 15:52 À : MONDON Daniel Cc :
>> gtkmm-list gnome org Objet : Re: SplashScreen no cursor, timeout, top
>> full screen,
>>
>> I think this is a way to hide the cursor:
>>
>> Glib::RefPtr<Gdk::Window> gdk_window = fenetre.get_window(); if
>> (gdk_window)
>> gdk_window->set_cursor(Gdk::Cursor::create(Gdk::BLANK_CURSOR));
>>
>> A possible complication is that Gtk::Widget::get_window() returns a Gdk::Window pointer only if the widget has been realized, and I don't know when exactly that's done.
>>
>> Kjell
>>
>> 2012-02-08 11:04, MONDON Daniel skrev:
>>> 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.
>>>
>>
>> _______________________________________________
>> gtkmm-list mailing list
>> gtkmm-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
- References:
- SplashScreen no cursor, timeout, top full screen,
- Re: SplashScreen no cursor, timeout, top full screen,
- RE: SplashScreen no cursor, timeout, top full screen,
- Re: SplashScreen no cursor, timeout, top full screen,
- RE: SplashScreen no cursor, timeout, top full screen,
- RE: SplashScreen no cursor, timeout, top full screen,
- Re: SplashScreen no cursor, timeout, top full screen,
- RE: SplashScreen no cursor, timeout, top full screen,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]