pike.git / src / post_modules / GTK2 / refdoc / GTK2.pmod / Window.pike

version» Context lines:

pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Window.pike:3:   //! flashes when the subwidget (and it's subwidgets) are added to it,   //! this is done automatically by calling 'window->show_all' when you   //! are done with your widget packing.   //! Properties:   //! int accept-focus   //! int allow-grow   //! int allow-shrink   //! int decorated   //! int default-height   //! int default-width + //! int deletable   //! int destroy-with-parent   //! int focus-on-map   //! int gravity @[GDK_GRAVITY_CENTER], @[GDK_GRAVITY_EAST], @[GDK_GRAVITY_NORTH], @[GDK_GRAVITY_NORTH_EAST], @[GDK_GRAVITY_NORTH_WEST], @[GDK_GRAVITY_SOUTH], @[GDK_GRAVITY_SOUTH_EAST], @[GDK_GRAVITY_SOUTH_WEST], @[GDK_GRAVITY_STATIC] and @[GDK_GRAVITY_WEST]   //! int has-toplevel-focus   //! GDK2.Pixbuf icon   //! string icon-name   //! int is-active   //! int modal -  + //! float opacity   //! int resizable   //! string role   //! GDK2.Screen screen   //! int skip-pager-hint   //! int skip-taskbar-hint -  + //! string startup-id   //! string title -  + //! GTK2.Window transient-for   //! int type @[WINDOW_POPUP] and @[WINDOW_TOPLEVEL]   //! int type-hint @[GDK_WINDOW_TYPE_HINT_DESKTOP], @[GDK_WINDOW_TYPE_HINT_DIALOG], @[GDK_WINDOW_TYPE_HINT_DOCK], @[GDK_WINDOW_TYPE_HINT_MENU], @[GDK_WINDOW_TYPE_HINT_NORMAL], @[GDK_WINDOW_TYPE_HINT_SPLASHSCREEN], @[GDK_WINDOW_TYPE_HINT_TOOLBAR] and @[GDK_WINDOW_TYPE_HINT_UTILITY]   //! int urgency-hint   //! int window-position @[WIN_POS_CENTER], @[WIN_POS_CENTER_ALWAYS], @[WIN_POS_CENTER_ON_PARENT], @[WIN_POS_MOUSE] and @[WIN_POS_NONE]   //!   //!   //! Signals:   //! @b{activate_default@}   //!   //! @b{activate_focus@}
pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Window.pike:110:   //!   //!      mapping get_default_size( );   //! Gets the default size of the window. A value of -1 for the width or height   //! indicates that a default size has not been explicitly set for that   //! dimeension, so the "natural" size of the window will be used.   //!   //!    + int get_deletable( ); + //! Returns whether the window has been set to have a close button. + //! + //! +    int get_destroy_with_parent( );   //! Returns whether the window will be destroyed with its transient parent.   //!   //!      GTK2.Widget get_focus( );   //! Retrieves the current focused widget within the window. Note that this is   //! the widget that would have the focus if the toplevel window focused; if the   //! toplevel window is not focused then has_focus() will not be true for the   //! widget.   //!   //!      int get_focus_on_map( );   //! Gets the value set by set_focus_on_map().   //!   //!    - GTK2.Window get_gravity( ); + int get_gravity( );   //! Gets the value set by set_gravity().   //!   //!    -  + GTK2.WindowGroup get_group( ); + //! Returns the group for this widget or the default group. + //! + //! +    GTK2.GdkPixbuf get_icon( );   //! Gets the value set by set_icon().   //!   //!      array get_icon_list( );   //! Retrieves the list of icons set by set_icon_list().   //!   //!   
pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Window.pike:158:   int get_mnemonic_modifier( );   //! Returns the mnemonic modifier for this window.   //!   //!      int get_modal( );   //! Returns whether the window is modal.   //!   //!    + float get_opacity( ); + //! Fetches the requested opacity. + //! + //! +    mapping get_position( );   //! This function returns the position you need to pass to move() to keep this   //! window in its current position. This means that the meaning of the   //! returned value varies with window gravity.   //!   //! If you haven't changed the window gravity, its gravity will be   //! GDK2.GRAVITY_NORTH_WEST. This means that get_position() gets the position   //! of the top-left corner of the window manager frame for the window. move()   //! sets the position of this same top-left corner.   //!
pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Window.pike:367:   //! you want to remove decorations. Depending on the system, this   //! function may not have any effect when called on a window that is   //! already visible, so you should call it before calling show().   //!   //!      GTK2.Window set_default( GTK2.Widget child );   //! The default widget is the widget that's activated when the user presses   //! Enter in a dialog (for example). This function sets or unsets the default   //! widget. When setting (rather than unsetting) the default widget it's - //! generally easier to call GTK2.Widget->grab_focus() on the widget. + //! generally easier to call GTK2.Widget->grab_default() on the widget.   //!   //!      GTK2.Window set_default_size( int width, int height );   //! Sets the default size of a window. If the window's "natural" size (its   //! size request) is larger than the default, the default will be ignored.   //! more generally, if the default size does not obey the geometry hints for   //! the window (set_geometry_hints() can be used to set these explicitly), the   //! default size will be clamped to the nearest permitted size.   //!
pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Window.pike:402:   //!   //! The default size of a window only affects the first time a window is shown;   //! if a window is hidden and re-shown, it will remember the size it had prior   //! to hiding, rather than using the default size.   //!   //! Window scan't actually be 0x0 in size, they must be at least 1x1, but   //! passing 0 for width and height is OK, resulting in a 1x1 default size.   //!   //!    + GTK2.Window set_deletable( int setting ); + //! By default, windows have a close button in the window frame. Some + //! window managers allow GTK+ to disable this button. If you set the + //! deletable property to FALSE using this function, GTK+ will do its best + //! to convince the window manager not to show a close button. Depending + //! on the system, this function may not have any effect when called on a + //! window that is already visible, so you should call it before calling + //! show(). + //! + //! On Windows, this function always works, since there's no window manager + //! policy involved. + //! + //! +    GTK2.Window set_destroy_with_parent( int setting );   //! If setting is true, then destroying the transient parent of this window   //! will also destroy the window itself. This is useful for dialogs that   //! shouldn't persist beyond the lifetime of the main window they're associated   //! with, for example.   //!   //!      GTK2.Window set_focus( GTK2.Widget child );   //! If child is not the current focus widget, and is focusable, sets it as the
pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Window.pike:539:      GTK2.Window set_modal( int setting );   //! Sets a window modal or non-modal. Modal windows prevent interaction with   //! other windows in the same application. To keep modal dialogs on top of   //! main application windows, use set_transient_for() to make the dialog   //! transient for the parent; most window managers will then disallow lowering   //! the dialog below the parent.   //!   //!    + GTK2.Window set_opacity( float opacity ); + //! Request the windowing system to make this window partially transparent, + //! with opacity 0 being full transparent and 1 fully opaque. + //! + //! +    GTK2.Window set_position( int pos );   //! Sets a position contraint for this window. If the old or new constraint   //! is GTK2.WIN_POS_CENTER_ALWAYS, this will also cause the window to be   //! repositioned to satisfy the new constraint.   //!   //!      GTK2.Window set_resizable( int setting );   //! Sets whether the user can resize a window. Windows are user resizable by   //! default.
pike.git/src/post_modules/GTK2/refdoc/GTK2.pmod/Window.pike:564:   //! window in the pager.   //!   //!      GTK2.Window set_skip_taskbar_hint( int setting );   //! Windows may set a hint asking the desktop environment not to display the   //! window in the task bar. This function sets this hint.   //!   //!    + GTK2.Window set_startup_id( string id ); + //! Startup notification identifiers are used by desktop environment to + //! track application startup, to provide user feedback and other features. + //! This function changes the corresponding property on the underlying + //! GDK2.Window. Normally, startup identifier is managed automatically and + //! you should only use this function in special cases like transferring + //! focus from other processes. You should use this function before + //! calling window->present() or any equivalent function generating a + //! window map event. + //! + //! +    GTK2.Window set_title( string title );   //! Set the window title. The default title is the value sent to   //! setup_gtk, or if none is sent, Pike GTK.   //!   //!      GTK2.Window set_transient_for( GTK2.Window parent );   //! Dialog window should be set transient for the main application window they   //! were spawned from. This allows window managers to e.g. keep the dialog on   //! top of the main window, or center the dialog over the main window.