diff --git a/doc/ChangeLog b/doc/ChangeLog index 4fa3e3fca..b8d93091f 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,10 @@ +2003-10-22 Hector E. Gomez Morales + + * en/Gtk/Drag.xml: fix some typos and errors. + * en/Gtk/Window.xml: Almost done, some properties and events missing. + * en/Gtk/WidgetFlags.xml: fix some errors. + * en/Gtk/TODO: update missing list. + 2003-10-14 Martin Willemoes Hansen * en/AtkSharp.xml: Added diff --git a/doc/en/Gtk/Drag.xml b/doc/en/Gtk/Drag.xml index 3e5f2b138..1416368c2 100644 --- a/doc/en/Gtk/Drag.xml +++ b/doc/en/Gtk/Drag.xml @@ -12,7 +12,7 @@ Methods for controlling drag and drop handling. - GTK+ has a rich set of methods for doing inter-process communication via the drag-and-drop metaphor. GTK+ can do drag-and-drop (DND) via multiple protocols. The currently supported protocols are the Xdnd and Motif protocols. As well as the methods listed here, applications may need to use some facilities provided for . Also, the Drag and Drop API makes use of events in the class. + GTK# has a rich set of methods for doing inter-process communication via the drag-and-drop metaphor. GTK# can do drag-and-drop (DND) via multiple protocols. The currently supported protocols are the Xdnd and Motif protocols. As well as the methods listed here, applications may need to use some facilities provided for . Also, the Drag and Drop API makes use of events in the class. @@ -134,7 +134,7 @@ - Sets up a so that GTK+ will start a drag operation when the user clicks and drags on the . + Sets up a so that GTK# will start a drag operation when the user clicks and drags on the . A . The bitmask of buttons that can start the drag. The table of targets that the drag will support. @@ -185,7 +185,7 @@ - Checks to see if a mouse drag starting at (, ) and ending at (, ) has passed the GTK+ drag threshold, and this should trigger the beginning of a drag-and-drog operation. + Checks to see if a mouse drag starting at (, ) and ending at (, ) has passed the GTK# drag threshold, and this should trigger the beginning of a drag-and-drog operation. A . X coordinate of a start of drag. Y coordinate of a start of drag. @@ -263,7 +263,7 @@ The for the drag icon. - GTK+ retains a reference for and will release it when it is no longer needed. + GTK# retains a reference for and will release it when it is no longer needed. @@ -337,7 +337,7 @@ A timestamp for retrieving the data. This will generally be the time received in a or event. - When the data is received or the retrieval fails, GTK+ will emit a event. Failure of the retrieval is indicated by the length field of the signal parameter being negative. However, when is called implicitely because the was set, then the will not receive notification of failed drops. + When the data is received or the retrieval fails, GTK# will emit a event. Failure of the retrieval is indicated by the length field of the signal parameter being negative. However, when is called implicitely because the was set, then the will not receive notification of failed drops. @@ -366,7 +366,7 @@ The Y offset with of the hotspot. - GTK+ retains references for the arguments, and will release them when they are no longer needed. In general, will be more convenient to use. + GTK# retains references for the arguments, and will release them when they are no longer needed. In general, will be more convenient to use. @@ -443,7 +443,7 @@ The transparency mask for an image. - GTK+ retains references for the arguments, and will release them when they are no longer needed. Use instead. + GTK# retains references for the arguments, and will release them when they are no longer needed. Use instead. @@ -468,7 +468,7 @@ The Y offset within of the hotspot. - GTK+ will not destroy the icon, so if you don't want it to persist, you should connect to the event and destroy it yourself. + GTK# will not destroy the icon, so if you don't want it to persist, you should connect to the event and destroy it yourself. @@ -500,4 +500,4 @@ - \ No newline at end of file + diff --git a/doc/en/Gtk/GammaCurve.xml b/doc/en/Gtk/GammaCurve.xml index 6c1de52a2..a7d2d5a7f 100644 --- a/doc/en/Gtk/GammaCurve.xml +++ b/doc/en/Gtk/GammaCurve.xml @@ -13,7 +13,7 @@ The widget shows a curve which the user can edit with the mouse just like a widget. On the right of the curve it also displays 5 buttons, 3 of which change between the 3 curve modes (spline, linear and free), and the other 2 set the curve to a particular gamma value, or reset it to a straight line. - NOTE: this widget is considered too specialized/little-used for GTK+, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK+ distribution. + NOTE: this widget is considered too specialized/little-used for GTK#, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, we are not accepting new features for the widget, and it will eventually move out of the GTK# distribution. @@ -104,4 +104,4 @@ - \ No newline at end of file + diff --git a/doc/en/Gtk/TODO b/doc/en/Gtk/TODO index 19ce9a1e1..aebee23bd 100644 --- a/doc/en/Gtk/TODO +++ b/doc/en/Gtk/TODO @@ -1,6 +1,6 @@ TODO doc for Gtk namespace. -There are in total 325 xml to document in Gtk. Right now there are 178 xml not documented in any proportion. +There are in total 324 xml to document in Gtk. Right now there are 176 xml not documented in any proportion. The idea is to have a easy way to know what documentation is missing, if you want to help or are helping please take out the xml that you commit from the missing list. For documentation that take some time to finish (like HTML, TextBuffer, etc) the best is that you but your name and email next to the file in this list to acknowledge that you are working in it (is recommendable that you suscribe to the mono-docs mailing list). @@ -166,7 +166,6 @@ TreeDragDest.xml TreeDragSource.xml Treelter.xml TreelterCompareFunc.xml -TreeModel.xml TreeModelFlags.xml TreeModelForeachFunc.xml TreeModelSort.xml @@ -175,7 +174,6 @@ TreeRowReference.xml TreeSelectionForeachFunc.xml TreeSelectionFunc.xml TreeSortable.xml -TreeStore.xml TreeView.xml TreeViewColumnDropFunc.xml TreeViewDropPosition.xml diff --git a/doc/en/Gtk/WidgetFlags.xml b/doc/en/Gtk/WidgetFlags.xml index cc92a4c72..c046d83e9 100644 --- a/doc/en/Gtk/WidgetFlags.xml +++ b/doc/en/Gtk/WidgetFlags.xml @@ -264,7 +264,7 @@ - Unused since before GTK+ 1.2, will be removed in a future version. + Unused since before GTK 1.2, will be removed in a future version. @@ -279,7 +279,7 @@ Set and unset by . - Must be set on widgets whose window the application directly draws on, in order to keep GTK+ from overwriting the drawn stuff. + Must be set on widgets whose window the application directly draws on, in order to keep GTK# from overwriting the drawn stuff. @@ -329,4 +329,4 @@ - \ No newline at end of file + diff --git a/doc/en/Gtk/Window.xml b/doc/en/Gtk/Window.xml index 4a502da20..c67262b3f 100644 --- a/doc/en/Gtk/Window.xml +++ b/doc/en/Gtk/Window.xml @@ -40,7 +40,7 @@ Returns a list of all existing toplevel windows. List of toplevel widgets. - + The widgets in the list are not individually referenced. If you want to iterate through the list and perform actions involving callbacks that might destroy the widgets, you must call g_list_foreach (result, (GFunc)g_object_ref, ) first, and then unref all the widgets afterwards. @@ -65,7 +65,7 @@ Y position where the user clicked to initiate the drag. Timestamp from the click event that initiated the drag. - + This method is used if an application has window movement grips. When GDK can support it, the window movement will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window movement, potentially not all that well, depending on the windowing system. @@ -90,10 +90,10 @@ Location to store the width of the frame at the returns, or . Location to store the height of the frame at the bottom, or . - + It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See to get the standard window border extents.) See also , . - + Note: this is a special-purpose method intended for the framebuffer port; see . @@ -109,10 +109,10 @@ Asks to iconify (i.e. minimize) the specified . - + Note that you shouldn't assume the window is definitely iconified afterward, because other entities (e.g. the user or window manager) could deiconify it again, or there may not be a window manager in which case iconification isn't possible, etc. But normally the window will end up iconified. Just do not write code that crashes if not. - + You can track iconification via the event on . @@ -128,10 +128,10 @@ Asks to unstick , which means that it will appear on only one of the user's desktops. - + Note that you shouldn't assume the window is definitely unstuck afterward, because other entities (e.g. the user or window manager) could stick it again. But normally the window will end up stuck. Just do not write code that crashes if not. - + You can track stickiness via the event on . @@ -147,11 +147,12 @@ Asks to unmaximize . - + Note that you shouldn't assume the window is definitely unmaximized afterward, because other entities (e.g. the user or window manager) could maximize it again, and not all window managers honor requests to unmaximize. But normally the window will end up unmaximized. Just don't write code that crashes if not. - - You can track maximization via the event on + + You can track maximization via the event on + @@ -170,10 +171,10 @@ Return location for width, or . Return location for height, or . - - If window is not onscreen, it returns the size GTK+ will suggest to the window manager for the initial window size (but this is not reliably the same as the size the window manager will actually select). The size obtained by is the last size received in a GdkEventConfigure, that is, GTK+ uses its locally-stored size, rather than querying the X server for the size. As a result, if you call then immediately call , the size would not have taken effect yet. After the window manager processes the resize request, GTK+ receives notification that the size has changed via a configure event, and the size of the window gets updated. + + If window is not onscreen, it returns the size GTK# will suggest to the window manager for the initial window size (but this is not reliably the same as the size the window manager will actually select). The size obtained by is the last size received in a GdkEventConfigure, that is, GTK# uses its locally-stored size, rather than querying the X server for the size. As a result, if you call then immediately call , the size would not have taken effect yet. After the window manager processes the resize request, GTK# receives notification that the size has changed via a configure event, and the size of the window gets updated. - + Note 1: Nearly any use of this method creates a race condition, because the size of the window may change between the time that you get the size and the time that you perform some action assuming that size is the current size. To avoid race conditions, connect to on the window and adjust your size-dependent state to match the size delivered in the GdkEventConfigure. @@ -194,7 +195,7 @@ Location to store the default width, or . Location to store the default height, or . - + A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the window will be used. @@ -215,13 +216,13 @@ Width in pixels to resize the window to. Height in pixels to resize the window to. - + The default geometry constraint is that windows may not be smaller than their size request; to override this constraint, call to set the window's request to a smaller value. - + If is called before showing a window for the first time, it overrides any default size set with . Windows may not be resized smaller than 1 by 1 pixels. - + @@ -233,8 +234,7 @@ Activates the current focused within the . - - if a got activated. + if a got activated. @@ -250,22 +250,21 @@ Parses a standard X Window System geometry string. - - if string was parsed successfully. + if string was parsed successfully. - - does work on all GTK+ ports including Win32 but is primarily intended for an X environment. + + does work on all GTK# ports including Win32 but is primarily intended for an X environment. - + If either a size or a position can be extracted from the geometry string, returns and calls and/or to resize/move the window. - + If returns , it will also set the GDK_HINT_USER_POS and/or GDK_HINT_USER_SIZE hints indicating to the window manager that the size/position of the window was user-specified. This causes most window managers to honor the geometry. - + Note that for to work as expected, it has to be called when the window has its "final" size, i.e. after calling on the contents and on the window. - + @@ -293,13 +292,13 @@ Asks to stick , which means that it will appear on all user desktops. - + Note that you shouldn't assume the window is definitely stuck afterward, because other entities (e.g. the user or window manager) could unstick it again, and some window managers do not support sticking windows. But normally the window will end up stuck. Just don't write code that crashes if not. - + You can track stickiness via the event on GtkWidget. It's permitted to call this method before showing a window. - + @@ -321,10 +320,10 @@ The width of the right border. The height of the bottom border. - + Note: this is a special-purpose method intended for the framebuffer port; see . It will have no effect on the window border drawn by the window manager, which is the normal case when using the X Window system. - + @@ -365,10 +364,10 @@ Y position where the user clicked to initiate the drag Timestamp from the click event that initiated the drag. - + This method is used if an application has window resizing controls. When GDK can support it, the resize will be done using the standard mechanism for the window manager or windowing system. Otherwise, GDK will try to emulate window resizing, potentially not all that well, depending on the windowing system. - + @@ -386,22 +385,22 @@ Return location for X coordinate of gravity-determined reference point. Return location for Y coordinate of gravity-determined reference point. - + If you haven't changed the window gravity, its gravity will be GDK_GRAVITY_NORTH_WEST. This means that gets the position of the top-left corner of the window manager frame for the window. sets the position of this same top-left corner. - - is not 100% reliable because the X Window System does not specify a way to obtain the geometry of the decorations placed on a window by the window manager. Thus GTK+ is using a "best guess" that works with most window managers. + + is not 100% reliable because the X Window System does not specify a way to obtain the geometry of the decorations placed on a window by the window manager. Thus GTK# is using a "best guess" that works with most window managers. - + Moreover, nearly all window managers are historically broken with respect to their handling of window gravity. So moving a window to its current position as returned by tends to result in moving the window slightly. Window managers are slowly getting better over time. - + If a window has gravity GDK_GRAVITY_STATIC the window manager frame is not relevant, and thus will always produce accurate results. However you can't use static gravity to do things like place a window in a corner of the screen, because static gravity ignores the window manager decorations. - + If you are saving and restoring your application's window positions, you should know that it's impossible for applications to do this without getting it somewhat wrong because applications do not have sufficient knowledge of window manager state. The Correct Mechanism is to support the session management protocol (see the "GnomeClient" object in the GNOME libraries for example) and allow the window manager to save your window sizes and positions. - + @@ -414,13 +413,13 @@ Asks to deiconify (i.e. unminimizw) the specified . - + Note that you shouldn't assume the window is definitely deiconified afterward, because other entities (e.g. the user or window manager) could iconify it again before your code which assumes deiconification gets to run. - + You can track iconification via the event on GtkWidget. - + @@ -437,8 +436,7 @@ Activates the targets associated with the mnemonic. The mnemonic. The modifiers. - - if the activation is done. + if the activation is done. @@ -451,13 +449,12 @@ Activates the default for the . - - if a is activated. + if a is activated. - + That is unless the current focused has been configured to receive the default (see ) action in which case the case the focused is activated. - + @@ -470,13 +467,13 @@ Asks to maximize , so that it becomes full-screen. - + Note that you shouldn't assume the window is definitely maximized afterward, because other entities (e.g. the user or window manager) could unmaximize it again, and not all window managers support maximization. But normally the window will end up maximized. Just don't write code that crashes if not. - + You can track maximization via the event on GtkWidget. It's permitted to call this method before showing a window, in which case the window will be maximized when it appears onscreen initially. - + @@ -526,10 +523,10 @@ Window name hint. Window class hint. - - According to the ICCCM, you should always set these to the same value for all windows in an application, and GTK+ sets them to that value by default, so calling this method is sort of pointless. However, you may want to call on each window in your application, for the benefit of the session manager. Setting the role allows the window manager to restore window positions when loading a saved session. + + According to the ICCCM, you should always set these to the same value for all windows in an application, and GTK# sets them to that value by default, so calling this method is sort of pointless. However, you may want to call on each window in your application, for the benefit of the session manager. Setting the role allows the window manager to restore window positions when loading a saved session. - + @@ -562,19 +559,19 @@ Width in pixels, or -1 to unset the default width. Height in pixels, or -1 to unset the default height. - + 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 ( can be used to set these explicitly), the default size will be clamped to the nearest permitted size. - + Unlike which sets a size request for a and thus would keep users from shrinking the window, this method only sets the initial size, just as if the user had resized the window themselves. Users can still shrink the window again as they normally would. Setting a default size of -1 means to use the "natural" default size (the size request of the window). - + For more control over a window's initial size and how resizing works, investigate . - + For some uses, is a more appropriate method. changes the current size of the window, rather than the size to be used on initial display. always affects the window itself, not the geometry widget. - + 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. @@ -590,13 +587,13 @@ Presents a to the user. - + This may mean raising the window in the stacking order, deiconifying it, moving it to the current desktop, and/or giving it the keyboard focus, possibly dependent on the user's platform, window manager, and preferences. If window is hidden, this method calls as well. - + This method should be used when the user tries to open a window that's already open. Say for example the preferences dialog is currently open, and the user chooses Preferences from the menu a second time; use to move the already-open dialog where the user can see it. - + @@ -609,10 +606,10 @@ Hides , then reshows it, resetting the default size and position of the . - + Used by GUI builders only. - + @@ -630,19 +627,19 @@ X coordinate to move window to. Y coordinate to move window to. - + Window managers are free to ignore this; most window managers ignore requests for initial window positions (instead using a user-defined placement algorithm) and honor requests after the window has already been shown. - + Note: the position is the position of the gravity-determined reference point for the window. The gravity determines two things: first, the location of the reference point in root window coordinates; and second, which point on the window is positioned at the reference point. - + By default the gravity is GDK_GRAVITY_NORTH_WEST, so the reference point is simply the x, y supplied to . The top-left corner of the window decorations (aka window frame or border) will be placed at , . Therefore, to position a window at the top left of the screen, you want to use the default gravity (which is GDK_GRAVITY_NORTH_WEST) and move the window to 0,0. - + To position a window at the bottom right corner of the screen, you would set GDK_GRAVITY_SOUTH_EAST, which means that the reference point is at x + the window width and y + the window height, and the bottom-right corner of the window border will be placed at that reference point. - + @@ -658,7 +655,7 @@ Sets the position constraint for a . A position constraint. - + Is is used for placing the window in some area, depending on the constraint. @@ -677,10 +674,10 @@ Associate with . A . - + Such that calling on will activate accelerators in . - + @@ -700,10 +697,10 @@ Struct containing geometry information. Mask indicating which struct fields should be paid attention to. - + You can set a minimum and maximum size; allowed resize increments (e.g. for xterm, you can only resize by the size of a character); aspect ratios; and more. See . - + @@ -730,7 +727,7 @@ Pointer to the C object. An instance of Window, wrapping the C object. - This is an internal constructor, and should not be used by user code. + This is an internal constructor, and should not be used by user code. @@ -746,7 +743,7 @@ A . A . - + Creates a new Window object, wich can be of type TopLevel ( most of the cases ) or PopUp. Take care with the use of PopUp type, since it is not controlled by the window manager. @@ -775,7 +772,7 @@ A string. A . - + Creates a new TopLevel Window object, using as the title. You get the same if you use the public Window ( Gtk.WindowType type ) constructor and later set the string Title property. @@ -793,10 +790,10 @@ A list of . A copy of default icon list. - + This method allows you to set up the icon for all windows in your app at once. - + @@ -823,10 +820,10 @@ Widget to be the default, or to unset the default for the toplevel. A . - + The default is the widget that's activated when the user presses Enter in a dialog (for example). When setting (rather than unsetting) the default it's generally easier to call on the . Before making a default , you must set the flag on the you'd like to make the default. - + @@ -837,10 +834,17 @@ - To be added - an object of type - an object of type - To be added + If this function is called on a window with setting of , 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. + A . + if a frame has been added to the window via . + + + Using the event you can receive all events targeted at the frame. This method is used by the linux-fb port to implement managed windows, but it could concievably be used by X-programs that want to do their own window decorations. + + + Note: This is a special-purpose method for the framebuffer port, this caues to GTK# to draw its own window border. For most applications you want instead, which tells the window manager whether to draw the window border. + + @@ -851,10 +855,14 @@ - To be added - an object of type - an object of type - To be added + Sets or obtains the meaning of coordinates passed to . + A window gravity. + A window gravity. + + + The default window gravity is which is typically "do what you mean". See and . + + @@ -865,10 +873,10 @@ - To be added - an object of type - an object of type - To be added + Sets or obtains the mnemonic modifier for this . + The modfier mask. + The modifier mask used to activate mnemonics on this window. + @@ -879,10 +887,14 @@ - To be added - an object of type - an object of type - To be added + Sets or obtains the type hint for . + The window type. + The ttype hint for . + + + By setting the type hint for the window, you allow the window manager to decorate and handle the window in a way which is suitable to the function of the window in your application. This property should be called before the window becomes visible. + + @@ -893,10 +905,17 @@ - To be added - an object of type - an object of type - To be added + Sets ot obtains the transient parent. + Parent window. + + + + Dialog windows should be transient for the main window they were spawned from, this allows windows managers to e.g. keep the dialog on top of the main window, or center the dialog over the main window. + + + On Windows(tm), this function will and put the child window on top of the parent, much as the window would have done in X. + + @@ -907,10 +926,17 @@ - To be added - an object of type - an object of type - To be added + Sets a to be the focus widget for the window if it is not the current focus widget, and its focusable, or retrieves the current focused within the window. + to be the new focus widget, or to unset any focus widget for the toplevel window. + The currently focused , or if there is none. + + + To set the focus to a particular in the toplevel, it is usually more convenient to use . + + + Note: when retrieving the current focused is the that would have the focus if the toplevel focused; if the toplevel window is not focused then will not be for the . + + @@ -921,10 +947,26 @@ - To be added - an object of type - an object of type - To be added + Sets or obtains the list of icons representing a . + A list of . + Copy of window's icon list. + + + The icon is used when window is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window framw, or display it in other contexts. + + + allows you to pass the same icon in several hand-drawn sizes. The list should contain the natural sizes your icon is available in; that is, don't scale the image before passing it to GTK#. Scaling is postponed unitl the last minute, when the desired final size is known, to allow best quality. By passing several sizes, you may improve the final image quality of the icon, by reducing or eliminating automatic image scaling. + + + Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them). + + + Note that transient windows (those who have been set transient for another window using will inherit their icon from their transient parent. So there's no need to explicity set the icon on transient windows. + + + When retrieving the list is copied, but the reference count on each won't be incremented. + + @@ -935,10 +977,18 @@ - To be added - an object of type - an object of type - To be added + Sets or obtains the role of the window. + Unique identifier for the window to be used when restoring a session. + The role of the window if set, or . The returned is owned by the widget and must not be modified or freed. + + + This property is only useful on X11, not with other GTK# targets. + + In combination with the window title, the window role allows a window manager to identify "the same" window when an application is restarted. So for example you might set the "toolbox" role on your app's toolbox window, so that when the user restarts their session, the session manager can put the toolbox back in the same place. + + If a window already has a unique title, you don't need to set the role, since the WM can use the title to identigy the window when restoring the session. + + @@ -949,16 +999,15 @@ - Sets if a Window will be decorated or not ( borderless ). - A . - - to decorate the window or if the window has been set to have decorations. + Sets or obtains whether the window has been set to have decorations. + to decorate the window. + if the window has been set to have decorations. - + With this property you control if a window will be decorated or not. - - By default, windows are decorated with a title bar and resize controls. Some window managers allow to disable these decorations, creating a borderless Window. If you set this property as false, Gtk# will try to convince the window manager not to decorate the Window. + + By default, windows are decorated with a title bar and resize controls. Some window managers allow to disable these decorations, creating a borderless Window. If you set this property as false, Gtk# will try to convince the window manager not to decorate the window. @@ -971,11 +1020,11 @@ - Sets if a Window will be resizable by the user or not. - an object of type - an object of type + Sets or obtains whether a window will be resizable by the user or not. + if the user can resize this window. + if the user can resize the window. - + By default, windows are resizable, so you can change the size of them. But if you set this property to false, the user won't be able to change the size of them. @@ -990,11 +1039,11 @@ Property used for setting/getting the window position. - an object of type - an object of type + An object of type . + An object of type . - - This property will alow you to define where a Window must be displayed on the screen. It work with the Gtk.WindowPosition enum, soy maybe you should check it before use it. + + This property will alow you to define where a Window must be displayed on the screen. It work with the Gtk.WindowPosition enum, so maybe you should check it before use it. @@ -1008,10 +1057,10 @@ Property used for defining the default height of a window. - an object of type - an object of type + An object of type . + An object of type . - + This property will allow you to define the default height for your Window. It only define the default one, so if the Window is resized, it won't be able to do anything. @@ -1025,10 +1074,14 @@ - To be added + Sets or obtains whether the transient parent of will also destroy itself an object of type an object of type - To be added + + + This is useful for dialogs that shouldn't persist beyond the livefime of the main window they're associated with, for example. + + @@ -1039,10 +1092,17 @@ - To be added - an object of type - an object of type - To be added + Sets or obtains the modal status of . + Whether the window is modal. + if the window is set to be modal and establishes a grab when shown. + + + Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent. + + + There are two status: modal () and non-modal (). + + @@ -1053,10 +1113,10 @@ - To be added - an object of type - an object of type - To be added + Sets or obtains if the can be resized to a larger size by the user. + if the can be resized. + if the can be resized. + @@ -1067,12 +1127,12 @@ - Property used for setting the Window Title. - an object of type - an object of type + Property used for setting the window title. + Title of the . + The title of the , or if none has been set explicitely. The returned string is owned by the and must not be modified or freed. - - This property will allow you to set the Window Title. The Title of a window will be displayed in its title bar. Since the title bar is rendered by the window managers on X Window System, the way it appears will depend on the user preferences. This title should help the users to distinguish a window from others opened. A good title will have the application name an the actual document, for example. + + This property will allow you to set the window title. The title of a will be displayed in its title bar. Since the title bar is rendered by the window managers on X Window System, the way it appears will depend on the user preferences. This title should help the users to distinguish a window from others opened. A good title will have the application name an the actual document, for example. @@ -1215,7 +1275,7 @@ GLib type for the type Creates a new instance of Window, using the GLib-provided type - + This is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code. @@ -1351,8 +1411,7 @@ Sets an icon to be used as fallback for windows that haven't had called on them from a file on disk. Location of icon file. - - if setting the icon succeded. + if setting the icon succeded. @@ -1366,13 +1425,13 @@ Asks to place in the fullscreen state. - + Note that you shouldn't assume the window is definitely full screen afterward, because other entities (e.g. the user or window manager) could unfullscreen it again, and not all window managers honor requests to fullscreen windows. But normally the window will end up restored to its normal state. Just don't write code that crashes if not. - + You can track the fullscreen state via the event on . - + @@ -1387,13 +1446,12 @@ Sets the icon for . Location of icon file. - - if setting the icon succeded. + if setting the icon succeded. - + This method is equivalent to calling with pixbuf created by loading the image from . - + @@ -1406,14 +1464,14 @@ Asks to toggle off the fullscreen state for . - + Note that you shouldn't assume the window is definitely not full screen afterward, because other entities (e.g. the user or window manager) could fullscreen it again, and not all window managers honor requests to unfullscreen windows. But normally the window will end up restored to its normal state. Just don't write code that crashes if not. - + You can track the fullscreen state via the event on . - + - \ No newline at end of file +