Gtk_Window(3)

NAME - Gtk_Window

HEADER REQUIRED
#include <gtk--/window.h&gt;>

BASE CLASSES
Gtk_Bin(3)

DERIVED BY
Gtk_ColorSelectionDialog(3) Gtk_Dialog(3) Gtk_FileSelection(3) Gtk_FontSelectionDialog(3) Gtk_Plug(3)

PROPERTIES

title
    Type: _gtk_string
    Set: set_title()

     Title displayed by window manager for this window. 0 is means this window has no title.

    Windows with a type of {num GTK_WINDOW_POPUP} may not display a title even if set.

wmclass_name
    Type: _gtk_string
    Set: set_wmclass()

     Property used for X window manager.

wmclass_class
    Type: _gtk_string
    Set: set_wmclass()

     Property used for X window manager.

type
    Type: GtkWindowType

     This flags determine what kind of decorations and behavior this window gets. This information is given to the window manager and it determines how to show the window on the screen. See {page GtkWindowType}

    Possible values for GtkWindowType argument are: {num GTK_WINDOW_TOPLEVEL}, {num GTK_WINDOW_DIALOG}, {num GTK_WINDOW_POPUP}

focus_widget
    Type: Gtk_Widget*

default_widget
    Type: Gtk_Widget*

transient_parent
    Type: Gtk_Window*

resize_count
    Type: gushort

allow_shrink
    Type: guint:1
    Set: set_policy()

     Indicates if shrinking this window is allowed.

allow_grow
    Type: guint:1
    Set: set_policy()

     Indicates if expanding this window is allowed.

auto_shrink
    Type: guint:1
    Set: set_policy()

handling_resize
    Type: guint:1

position
    Type: guint:2

     Determine where the window will be displayed when it is finally drawn to the screen. Currently the following positions and the effect they have on window placement can be specified. See {page GtkWindowPosition}

    Possible states are: {num GTK_WIN_POS_NONE}, {num GTK_WIN_POS_CENTER}, {num GTK_WIN_POS_MOUSE}

use_uposition
    Type: guint:1

     The following flag is initially TRUE when a window is mapped. and will be set to FALSE after it is first positioned. It is also temporarily reset when the window's size changes.

    When TRUE, we move the window to the position the app set.

modal
    Type: guint:1
    Set: set_modal()

     A modal window is one that must be responded to before the user is allowed to return to the application. Use modal windows sparingly.

PUBLIC MEMBER INDEX
    Gtk_Window(GtkWindowType type=GTK_WINDOW_TOPLEVEL);
      Create a window.
    Gtk_Window(GtkWindow *castitem);
    void  set_title(const _gtk_string &title);
      Set the window {title}.
    void  set_wmclass(const _gtk_string &wmclass_name, const _gtk_string &wmclass_class);
      Set the window manager names.
    void  set_policy(gint allow_shrink, gint allow_grow, gint auto_shrink);
      Set the window resizing policy.
    void  add_accel_group(const Gtk_AccelGroup &accel_group);
      (Gtk 1.1)
    void  remove_accel_group(const Gtk_AccelGroup &accel_group);
      (Gtk 1.1)
    void  set_modal(bool modal);
      (Gtk 1.1)
    void  set_default_size(gint width, gint height);
      (Gtk 1.1)
    void  set_geometry_hints(const Gtk_Widget &geometry_widget, GdkGeometry *geometry, GdkWindowHints geom_mask);
      (Gtk 1.1)
    void  set_transient_for(const Gtk_Window &parent);
      (Gtk 1.1)
    void  set_position(GtkWindowPosition position);
      Set the window position.
    gint  activate_focus();
    gint  activate_default();
    signal void  set_focus_c(GtkWidget*);
    signal void  set_focus(Gtk_Widget*);
    GtkWindow*  gtkobj();
    const GtkWindow*  gtkobj() const;
    static bool  isGtkWindow(Gtk_Object *checkcast);

PROTECTED MEMBER INDEX
    friend  CppClassType;
    typedef GtkWindow  BaseObjectType;
    typedef GtkWindowClass  BaseClassType;
    virtual void * get_parent_class();
    virtual void  set_focus_c_impl(GtkWidget* p1);

PRIVATE MEMBER INDEX
    static CppClassType  window_class;
    GtkType  get_type();

PUBLIC MEMBER DESCRIPTIONS

Gtk_Window::Gtk_Window (GtkWindowType type=GTK_WINDOW_TOPLEVEL);
    Create a window..
    This creates a window with an optional type.

void  Gtk_Window::set_wmclass (const _gtk_string &wmclass_name, const _gtk_string &wmclass_class);
    Set the window manager names..
    See wmclass_name and wmclass_class.

void  Gtk_Window::set_policy (gint allow_shrink, gint allow_grow, gint auto_shrink);
    Set the window resizing policy..
    See allow_shrink,allow_grow, and auto_shrink

PROTECTED MEMBER DESCRIPTIONS

PRIVATE MEMBER DESCRIPTIONS