gtkWindowSetHasFrame: gtkWindowSetHasFrame

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

(Note: this is a special-purpose function for the framebuffer port, that causes GTK+ to draw its own window border. For most applications, you want gtkWindowSetDecorated instead, which tells the window manager whether to draw the window border.)

Usage

1
gtkWindowSetHasFrame(object, setting)

Arguments

object

a GtkWindow

setting

a boolean

Details

If this function is called on a window with setting of TRUE, before it is realized or showed, it will have a "frame" window around window->window, accessible in window->frame. Using the signal frame_event you can receive all events targeted at the frame.

This function is used by the linux-fb port to implement managed windows, but it could conceivably be used by X-programs that want to do their own window decorations.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.