Re: Set WindowType of Gtk::Dialog

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

 



On Fri, Dec 31, 2010 at 4:44 AM, Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Dec 30, 2010 at 2:39 PM, Jong Bor Lee <jlee@xxxxxxxxxxxxx> wrote:
>> Hello,
>>
>> I'm trying to create a Gtk::Dialog which has WindowType == WINDOW_POPUP.
>>
>> I think this should be possible, since I can create Dialogs in Glade and set
>> the window type to popup. The resulting dialog won't have a title bar and
>> won't be moveable,
>
> consider gtk_window_set_decorated() for the first part.

Would be probably better to go through gtk_window_set_decorated()
as Paul suggests.

But to satisfy your curiousity:

dialog = g_object_new (GTK_TYPE_DIALOG, "type", GTK_WINDOW_POPUP, NULL);

would do that.

Cheers,
     -Tristan
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux