After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 55425 - add gtk_window_is_decorated()
add gtk_window_is_decorated()
Status: RESOLVED DUPLICATE of bug 55767
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-05-29 15:42 UTC by Vitaly Tishkov
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vitaly Tishkov 2001-05-29 15:42:02 UTC
There is a function

void        gtk_window_set_decorated        (GtkWindow *window,
                                              gboolean setting);

which sets if window is decorated.
See
http://developer.gnome.org/doc/API/2.0/gtk/gtkwindow.html#GTK-WINDOW-SET-DECORATED

But looks that it's impossible to understand if the window is decorated
using GtkWindow API.

I propose to add function (I don't know which name is better)
gboolean gtk_window_is_decorated (GtkWindow *window)
or
gboolean gtk_window_get_decorated (GtkWindow *window)
Comment 1 Havoc Pennington 2001-06-05 17:34:30 UTC

*** This bug has been marked as a duplicate of 55767 ***