The members of Gtk.Window are listed below.
See Also: Inherited members from Gtk.Bin
| Protected constructor. |
| AcceptFocus | bool. Windows may set a hint asking the desktop environment not to receive the input focus. | |
| AllowGrow | bool. Sets or obtains if the window can be resized to a larger size by the user. | |
| AllowShrink | bool. Sets or obtains if the window has no mininum size. | |
| [write-only] static | AutoStartupNotification | bool. Property used for setting the automatic startup notification. |
| Decorated | bool. Sets or obtains whether the window has been set to have decorations. | |
| [write-only] | Default | Widget. Sets or unsets the default widget for a Gtk.Window about. |
| DefaultHeight | int. Property used for setting or obtaining the default height of a window. | |
| [write-only] static | DefaultIcon | Gdk.Pixbuf. Sets an icon to be used as fallback for windows that have not had Window.SetIcon() called on them from a pixbuf. |
static | DefaultIconList | Gdk.Pixbuf[]. Sets or obtains the icon list to be used as fallback for windows that haven't had Window.IconList called on them to set up a window-specific icon list. |
| [write-only] static | DefaultIconName | string. Documentation for this section has not yet been entered. |
| DefaultSize | Gdk.Size. Sets or obtains the default size of window. | |
| DefaultWidth | int. Property used for setting or obtaining the default width of a window. | |
| Deletable | bool. Indicates if the window has a close button. | |
| DestroyWithParent | bool. Sets or obtains whether the transient parent of window will also destroy window itself | |
| Focus | Widget. Sets a widget to be the focus widget for the window if it is not the current focus widget, and its focusable, or retrieves the current focused widget within the window. | |
| FocusOnMap | bool. Documentation for this section has not yet been entered. | |
| Gravity | Gdk.Gravity. Sets or obtains the meaning of coordinates passed to Window.Move. | |
| [read-only] | Group | WindowGroup. Gets the Group the window is associated with. |
| [read-only] static | GType | GLib.GType. GType Property |
| HasFrame | bool. 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 widget->window, accessible in window->frame. Or it access the "frame" window exterior to widget->window. | |
| [read-only] | HasToplevelFocus | bool. Whether the input focus is within this window. |
| Icon | Gdk.Pixbuf. Property used for setting the icon for a window. | |
| IconList | Gdk.Pixbuf[]. Sets or obtains the list of icons representing a Gtk.Window. | |
| IconName | string. Documentation for this section has not yet been entered. | |
| [read-only] | IsActive | bool. Whether the toplevel is the current active window. |
| [write-only] | KeepAbove | bool. Asks to keep window above, so that it stays on top. |
| [write-only] | KeepBelow | bool. Asks to keep window below, so that it stays in bottom. |
| MnemonicModifier | Gdk.ModifierType. Sets or obtains the mnemonic modifier for this window. | |
| Modal | bool. Sets or obtains the modal status of window. | |
| Opacity | double. Opacity property. | |
| Resizable | bool. Sets or obtains whether a window will be resizable by the user or not. | |
| Role | string. Sets or obtains the role of the window. | |
| Screen | Gdk.Screen. Sets or obtains the Gdk.Screen where the window is displayed. | |
| SkipPagerHint | bool. Whether the window should not be in the pager. | |
| SkipTaskbarHint | bool. Whether the window should not be in the taskbar. | |
| [write-only] | StartupId | string. Documentation for this section has not yet been entered. |
| Title | string. Property used for setting the window title. | |
| TransientFor | Window. Sets or obtains the transient parent window. | |
| [read-only] | Type | WindowType. The type of window. |
| TypeHint | Gdk.WindowTypeHint. Sets or obtains the type hint for window. | |
| UrgencyHint | bool. Urgency Hint. | |
| WindowPosition | WindowPosition. Property used for setting/getting the window position. |
ActivateDefault()Activates the default widget for the window. | ||
ActivateFocus()Activates the current focused widget within the window. | ||
ActivateKey(Gdk.EventKey)Activates mnemonics and accelerators for this window. | ||
AddAccelGroup(AccelGroup)Associate accel_group with window. | ||
AddEmbeddedXid(uint)Adds an X id number to the list of embedded windows. | ||
AddMnemonic(uint, Widget)Adds a mnemonic to this window. | ||
BeginMoveDrag(int, int, int, uint)Starts moving a window. | ||
BeginResizeDrag(Gdk.WindowEdge, int, int, int, uint)Starts resizing a window. | ||
Deiconify()Asks to deiconify (i.e. unminimize) the specified window. | ||
Fullscreen()Asks to place window in the fullscreen state. | ||
GetDefaultSize(out int, out int)Gets the default size of the window. | ||
GetFrameDimensions(out int, out int, out int, out int)Retrieves the dimensions of the frame window for this toplevel. | ||
GetPosition(out int, out int)This method returns the position you need to pass to Window.Move to keep window in its current position. | ||
GetSize(out int, out int)Obtains the current size of window. | ||
Iconify()Asks to iconify (i.e. minimize) the specified window. | ||
static | ListToplevels()Returns a list of all existing toplevel windows. | |
Maximize()Asks to maximize window, so that it becomes full-screen. | ||
MnemonicActivate(uint, Gdk.ModifierType)Activates the targets associated with the mnemonic. | ||
Move(int, int)Asks the window manager to move window to the given position. | ||
ParseGeometry(string)Parses a standard X Window System geometry string. | ||
Present()Presents a window to the user. | ||
PresentWithTime(uint)Present with a user action timestamp. | ||
PropagateKeyEvent(Gdk.EventKey)Propagate a key press or release event to the focus widget and up the focus container chain until a widget handles evnt. | ||
RemoveAccelGroup(AccelGroup)Reverses the effects of Window.AddAccelGroup. | ||
RemoveEmbeddedXid(uint)Removes an X id number to the list of embedded windows. | ||
RemoveMnemonic(uint, Widget)Removes a mnemonic from this window. | ||
ReshowWithInitialSize()Hides window, then reshows it, resetting the default size and position of the window. | ||
Resize(int, int)Resizes the window as if the user had done so, obeying geometry constraints. | ||
static | SetDefaultIconFromFile(string)Sets an icon to be used as fallback for windows that haven't had Window.IconList called on them from a file on disk. | |
SetDefaultSize(int, int)Sets the default size of an object, with the specified width and height arguments. | ||
SetFrameDimensions(int, int, int, int)For windows with frames (see Window.HasFrame) this method can be used to change the size of the frame border. | ||
SetGeometryHints(Widget, Gdk.Geometry, Gdk.WindowHints)This method sets up hints about how a window can be resized by the user. | ||
SetIconFromFile(string)Sets the icon for window. | ||
SetPolicy(int, int, int)Changes how a toplevel window deals with its size request and user resize attempts. | ||
SetPosition(WindowPosition)Sets the position constraint for a window. | ||
SetWmclass(string, string)It sets the X Window System "class" and "name" hints for a window. (Don't use this method.) | ||
Stick()Asks to stick window, which means that it will appear on all user desktops. | ||
Unfullscreen()Asks to toggle off the fullscreen state for window. | ||
Unmaximize()Asks to unmaximize window. | ||
Unstick()Asks to unstick window, which means that it will appear on only one of the user's desktops. | ||
OnDefaultActivated()Default handler for the Window.DefaultActivated event. | ||
OnFocusActivated()Default handler for the Window.FocusActivated event. | ||
OnFrameEvent(Gdk.Event)Default handler for the Window.FrameEvent event. | ||
OnKeysChanged()Default handler for the Window.KeysChanged event. | ||
OnMoveFocus(DirectionType)Default handler for the Window.MoveFocus event. | ||
OnSetFocus(Widget)Default handler for the Window.SetFocus event. | ||
| DefaultActivated | DefaultActivated event. | |
| FocusActivated | FocusActivated event. | |
| FrameEvent | FrameEvent event. | |
| KeysChanged | KeysChanged event. | |
| MoveFocus | MoveFocus event. | |
| SetFocus | SetFocus event. |