Re: Set WindowType of Gtk::Dialog
- From: Tristan Van Berkom <tvb gnome org>
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: Set WindowType of Gtk::Dialog
- Date: Fri, 31 Dec 2010 11:45:56 +0900
On Fri, Dec 31, 2010 at 4:44 AM, Paul Davis <paul linuxaudiosystems com> wrote:
> On Thu, Dec 30, 2010 at 2:39 PM, Jong Bor Lee <jlee binarybag com> 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
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]