Re: Making a Gtk::Window ( WINDOW_POPUP ) work as a Gtk::MessageDialog
- From: "SaiKamesh Rathinasabapathy" <rsaikamesh gmail com>
- To: "Josepo Urrutia" <find_all hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Making a Gtk::Window ( WINDOW_POPUP ) work as a Gtk::MessageDialog
- Date: Wed, 11 Jul 2007 15:07:16 +0530
Hey Man!, set_modal() solved my problem. Thank you very much.
Can you please tell me how to hide the mouse pointer through out my application .
On 7/11/07,
Josepo Urrutia <find_all hotmail com> wrote:
>From: "SaiKamesh Rathinasabapathy" <rsaikamesh gmail com>
>To: gtkmm-list gnome org
>Subject: Making a Gtk::Window ( WINDOW_POPUP ) work as a Gtk::MessageDialog
>Date: Wed, 11 Jul 2007 14:50:03 +0530
>
>Hi,
>
>I have invoked the popup window as:
>Gtk::Window* win;
>win = Gtk::manage ( new Gtk::Window ( Gtk::WINDOW_POPUP ) );
>win->set_size_request ( 270,370 );
>win->set_position ( Gtk::WIN_POS_CENTER_ALWAYS );
>win->show_all();
>
>I did not add any button on the pop up window to close it. I added timer to
>close this window so that it is getting closed In 3 seconds.
>
>At the time of displaying this pop up window, the user should not be able
>to
>press any button in the background window ( ie) in my keyboard window ).
>The
>user should only be able to click the buttons in the keyboard window after
>the pop up window got closed.
Try setting the window modal.
win->set_modal(true);
_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]