emacs-devel
[Top][All Lists]
Advanced

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

GTK "decorated" and "deletable" properties (was: just-the-text Emacs fra


From: Ted Zlatanov
Subject: GTK "decorated" and "deletable" properties (was: just-the-text Emacs frame)
Date: Thu, 02 Jun 2011 13:53:28 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Thu, 02 Jun 2011 21:00:13 +0300 Eli Zaretskii <address@hidden> wrote: 

>> From: Ted Zlatanov <address@hidden>
>> Date: Thu, 02 Jun 2011 08:15:31 -0500
>> 
>> >> Can this pop up a frame without a title bar, much like what tooltip
>> >> does?
>> 
EZ> Not without some help from the display engine on the C level, AFAICT.
EZ> Tooltips are special kind of frame treated specially by redisplay.
>> 
>> I always thought frame decorations came from the window manager; is
>> there a way to tell it "I draw my own title bar"?

EZ> I'm not an expert on this, so I don't know.  However, if you grep the
EZ> Emacs sources for "tip_frame", you will see how many places give
EZ> special treatment to tooltip frames.

According to http://developer.gnome.org/gtk/2.24/GtkWindow.html, we
could use gtk_window_set_decorated() and gtk_window_set_deletable()
before the frame's GTK Window is shown.

Can these be exposed through frame parameters?  It's the last missing piece
for the emacs-panel popup frames.

Thanks
Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]