mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-05-24 21:22:25 +00:00
* 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. svn path=/trunk/gtk-sharp/; revision=19296
This commit is contained in:
parent
974db35edf
commit
e779241cce
|
@ -1,3 +1,10 @@
|
|||
2003-10-22 Hector E. Gomez Morales <hgomez_36@flashmail.com>
|
||||
|
||||
* 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 <mwh@sysrq.dk>
|
||||
|
||||
* en/AtkSharp.xml: Added
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<summary>Methods for controlling drag and drop handling.</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
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 <see cref="T:Gtk.Selection" />. Also, the Drag and Drop API makes use of events in the <see cref="T:Gtk.Widget" /> 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 <see cref="T:Gtk.Selection" />. Also, the Drag and Drop API makes use of events in the <see cref="T:Gtk.Widget" /> class.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -134,7 +134,7 @@
|
|||
<Parameter Name="actions" Type="Gdk.DragAction" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Sets up a <paramref name="widget" /> so that GTK+ will start a drag operation when the user clicks and drags on the <paramref name="widget" />.</summary>
|
||||
<summary>Sets up a <paramref name="widget" /> so that GTK# will start a drag operation when the user clicks and drags on the <paramref name="widget" />.</summary>
|
||||
<param name="widget">A <see cref="T:Gtk.Widget" />.</param>
|
||||
<param name="start_button_mask">The bitmask of buttons that can start the drag.</param>
|
||||
<param name="targets">The table of targets that the drag will support.</param>
|
||||
|
@ -185,7 +185,7 @@
|
|||
<Parameter Name="current_y" Type="System.Int32" />
|
||||
</Parameters>
|
||||
<Docs>
|
||||
<summary>Checks to see if a mouse drag starting at (<paramref name="start_x" />, <paramref name="start_y" />) and ending at (<paramref name="current_x" />, <paramref name="current_y" />) has passed the GTK+ drag threshold, and this should trigger the beginning of a drag-and-drog operation.</summary>
|
||||
<summary>Checks to see if a mouse drag starting at (<paramref name="start_x" />, <paramref name="start_y" />) and ending at (<paramref name="current_x" />, <paramref name="current_y" />) has passed the GTK# drag threshold, and this should trigger the beginning of a drag-and-drog operation.</summary>
|
||||
<param name="widget">A <see cref="T:Gtk.Widget" />.</param>
|
||||
<param name="start_x">X coordinate of a start of drag.</param>
|
||||
<param name="start_y">Y coordinate of a start of drag.</param>
|
||||
|
@ -263,7 +263,7 @@
|
|||
<param name="pixbuf">The <see cref="T:Gdk.Pixbuf" /> for the drag icon.</param>
|
||||
<remarks>
|
||||
<para>
|
||||
GTK+ retains a reference for <paramref name="pixbuf" /> and will release it when it is no longer needed.
|
||||
GTK# retains a reference for <paramref name="pixbuf" /> and will release it when it is no longer needed.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -337,7 +337,7 @@
|
|||
<param name="time_">A timestamp for retrieving the data. This will generally be the time received in a <see cref="F:Gtk.Widget.DragMotion" /> or <see cref="F:Gtk.Widget.DragDrop" /> event.</param>
|
||||
<remarks>
|
||||
<para>
|
||||
When the data is received or the retrieval fails, GTK+ will emit a <see cref="F:Gtk.Widget.DragDataReceived" /> event. Failure of the retrieval is indicated by the length field of the <paramref name="selection_data" /> signal parameter being negative. However, when <see cref="M:Gtk.Drag.GetData" /> is called implicitely because the <see cref="F:Gtk.DestDefaults.Drop" /> was set, then the <paramref name="widget" /> will not receive notification of failed drops.
|
||||
When the data is received or the retrieval fails, GTK# will emit a <see cref="F:Gtk.Widget.DragDataReceived" /> event. Failure of the retrieval is indicated by the length field of the <paramref name="selection_data" /> signal parameter being negative. However, when <see cref="M:Gtk.Drag.GetData" /> is called implicitely because the <see cref="F:Gtk.DestDefaults.Drop" /> was set, then the <paramref name="widget" /> will not receive notification of failed drops.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -366,7 +366,7 @@
|
|||
<param name="hot_y">The Y offset with <paramref name="pixmap" /> of the hotspot.</param>
|
||||
<remarks>
|
||||
<para>
|
||||
GTK+ retains references for the arguments, and will release them when they are no longer needed. In general, <see cref="M:Gtk.Drag.SetIconPixbuf" /> will be more convenient to use.
|
||||
GTK# retains references for the arguments, and will release them when they are no longer needed. In general, <see cref="M:Gtk.Drag.SetIconPixbuf" /> will be more convenient to use.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -443,7 +443,7 @@
|
|||
<param name="mask">The transparency mask for an image.</param>
|
||||
<remarks>
|
||||
<para>
|
||||
GTK+ retains references for the arguments, and will release them when they are no longer needed. Use <see cref="M:Gtk.Drag.SourceSetIconPixbuf" /> instead.
|
||||
GTK# retains references for the arguments, and will release them when they are no longer needed. Use <see cref="M:Gtk.Drag.SourceSetIconPixbuf" /> instead.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -468,7 +468,7 @@
|
|||
<param name="hot_y">The Y offset within <paramref name="widget" /> of the hotspot.</param>
|
||||
<remarks>
|
||||
<para>
|
||||
GTK+ will not destroy the icon, so if you don't want it to persist, you should connect to the <see cref="F:Gtk.Widgart.DragEnd" /> 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 <see cref="F:Gtk.Widgart.DragEnd" /> event and destroy it yourself.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
The <see cref="T:Gtk.GammaCurve" /> widget shows a curve which the user can edit with the mouse just like a <see cref="T:Gtk.Curve" /> 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.
|
||||
</para>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -264,7 +264,7 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>Unused since before GTK+ 1.2, will be removed in a future version.</summary>
|
||||
<summary>Unused since before GTK 1.2, will be removed in a future version.</summary>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -279,7 +279,7 @@
|
|||
<summary>Set and unset by <see cref="P:Gtk.Widget.AppPaintable" />.</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
|
|
@ -151,7 +151,8 @@
|
|||
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.
|
||||
</para>
|
||||
<para>
|
||||
You can track maximization via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on <see cref="T:Gtk.Widget" /></para>
|
||||
You can track maximization via the <see cref="F:Gtk.Widget.WindowStateEvent" /> event on <see cref="T:Gtk.Widget" />
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -171,7 +172,7 @@
|
|||
<param name="height">Return location for height, or <see langword="null" />.</param>
|
||||
<remarks>
|
||||
<para>
|
||||
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 <see cref="M:Gtk.Window.GetSize" /> 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 <see cref="M:Gtk.Window.Resize" /> then immediately call <see cref="M:Gtk.Window.GetSize" />, 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 <see cref="M:Gtk.Window.GetSize" /> 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 <see cref="M:Gtk.Window.Resize" /> then immediately call <see cref="M:Gtk.Window.GetSize" />, 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.
|
||||
</para>
|
||||
<para>
|
||||
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 <see cref="F:Gtk.Widget.ConfigureEvent" /> on the window and adjust your size-dependent state to match the size delivered in the GdkEventConfigure.
|
||||
|
@ -233,8 +234,7 @@
|
|||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Activates the current focused <paramref name="widget" /> within the <paramref name="window" />.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if a <paramref name="widget" /> got activated.</returns>
|
||||
<returns><see langword="true" /> if a <paramref name="widget" /> got activated.</returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -250,11 +250,10 @@
|
|||
<Docs>
|
||||
<summary>Parses a standard X Window System geometry string.</summary>
|
||||
<param name="geometry"></param>
|
||||
<returns>
|
||||
<see langword="true" /> if string was parsed successfully.</returns>
|
||||
<returns><see langword="true" /> if string was parsed successfully.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
<see cref="M:Gtk.Window.ParseGeometry" /> does work on all GTK+ ports including Win32 but is primarily intended for an X environment.
|
||||
<see cref="M:Gtk.Window.ParseGeometry" /> does work on all GTK# ports including Win32 but is primarily intended for an X environment.
|
||||
</para>
|
||||
<para>
|
||||
If either a size or a position can be extracted from the geometry string, <see cref="M:Gtk.Window.ParseGeometry" /> returns <see langword="true" /> and calls <see cref="M:Gtk.Window.SetDefaultSize" /> and/or <see cref="M:Gtk.Window.Move" /> to resize/move the window.
|
||||
|
@ -390,7 +389,7 @@
|
|||
If you haven't changed the window gravity, its gravity will be GDK_GRAVITY_NORTH_WEST. This means that <see cref="M:Gtk.Window.GetPosition" /> gets the position of the top-left corner of the window manager frame for the window. <see cref="M:Gtk.Window.Move" /> sets the position of this same top-left corner.
|
||||
</para>
|
||||
<para>
|
||||
<see cref="M:Gtk.Window.GetPosition" /> 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.
|
||||
<see cref="M:Gtk.Window.GetPosition" /> 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.
|
||||
</para>
|
||||
<para>
|
||||
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 <see cref="M:Gtk.Window.GetPostion" /> tends to result in moving the window slightly. Window managers are slowly getting better over time.
|
||||
|
@ -437,8 +436,7 @@
|
|||
<summary>Activates the targets associated with the mnemonic.</summary>
|
||||
<param name="keyval">The mnemonic.</param>
|
||||
<param name="modifier">The modifiers.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the activation is done.</returns>
|
||||
<returns><see langword="true" /> if the activation is done.</returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -451,8 +449,7 @@
|
|||
<Parameters />
|
||||
<Docs>
|
||||
<summary>Activates the default <paramref name="widget" /> for the <paramref name="window" />.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if a <paramref name="widget" /> is activated.</returns>
|
||||
<returns><see langword="true" /> if a <paramref name="widget" /> is activated.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
That is unless the current focused <paramref name="widget" /> has been configured to receive the default (see <see cref="F:Gtk.WidgetFlags.ReceivesDefault" />) action in which case the case the focused <paramref name="widget" /> is activated.
|
||||
|
@ -527,7 +524,7 @@
|
|||
<param name="wmclass_class">Window class hint.</param>
|
||||
<remarks>
|
||||
<para>
|
||||
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 <see cref="P:Gtk.Window.Role" /> 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 <see cref="P:Gtk.Window.Role" /> 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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -837,10 +834,17 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:System.Boolean" /></param>
|
||||
<returns>an object of type <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>If this function is called on a window with setting of <see langword="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.</summary>
|
||||
<param name="value">A <see langword="boolean" />.</param>
|
||||
<returns><see langword="true" /> if a frame has been added to the window via <see cref="P:Gtk.Window.HasFrame" />.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
Using the event <see cref="F:Gtk.WIndow.FrameEvent" /> 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.
|
||||
</para>
|
||||
<para>
|
||||
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 <see cref="P:Gtk.Window.Decorated" /> instead, which tells the window manager whether to draw the window border.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Gravity">
|
||||
|
@ -851,10 +855,14 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:Gdk.Gravity" /></param>
|
||||
<returns>an object of type <see cref="T:Gdk.Gravity" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets or obtains the meaning of coordinates passed to <see cref="M:Gtk.Window.Move" />.</summary>
|
||||
<param name="value">A window gravity.</param>
|
||||
<returns>A window gravity.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
The default window gravity is <see cref="F:Gdk.Gravity.NorthWest" /> which is typically "do what you mean". See <see cref="M:Gtk.Window.Move" /> and <see cref="T:Gdk.Gravity" />.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="MnemonicModifier">
|
||||
|
@ -865,10 +873,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:Gdk.ModifierType" /></param>
|
||||
<returns>an object of type <see cref="T:Gdk.ModifierType" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets or obtains the mnemonic modifier for this <paramref name="window" />.</summary>
|
||||
<param name="value">The modfier mask.</param>
|
||||
<returns>The modifier mask used to activate mnemonics on this window.</returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="TypeHint">
|
||||
|
@ -879,10 +887,14 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:Gdk.WindowTypeHint" /></param>
|
||||
<returns>an object of type <see cref="T:Gdk.WindowTypeHint" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets or obtains the type hint for <paramref name="window" />.</summary>
|
||||
<param name="value">The window type.</param>
|
||||
<returns>The ttype hint for <paramref name="window" />.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="TransientFor">
|
||||
|
@ -893,10 +905,17 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:Gtk.Window" /></param>
|
||||
<returns>an object of type <see cref="T:Gtk.Window" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets ot obtains the transient parent.</summary>
|
||||
<param name="value">Parent window.</param>
|
||||
<returns></returns>
|
||||
<remarks>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Focus">
|
||||
|
@ -907,10 +926,17 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:Gtk.Widget" /></param>
|
||||
<returns>an object of type <see cref="T:Gtk.Widget" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets a <paramref name="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 <paramref name="widget" /> within the window.</summary>
|
||||
<param name="value"><paramref name="Widget" /> to be the new focus widget, or <see langword="null" /> to unset any focus widget for the toplevel window.</param>
|
||||
<returns>The currently focused <paramref name="widget" />, or <see langword="null" /> if there is none.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
To set the focus to a particular <paramref name="widget" /> in the toplevel, it is usually more convenient to use <see cref="M:Gtk.Widget.GrabFocus" />.
|
||||
</para>
|
||||
<para>
|
||||
Note: when retrieving the current focused <paramref name="widget" /> is the <paramref name="widget" /> that would have the focus if the toplevel focused; if the toplevel window is not focused then <see cref="P:Gtk.Widget.HasFocus" /> will not be <see langword="true" /> for the <paramref name="widget" />.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="IconList">
|
||||
|
@ -921,10 +947,26 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:GLib.List" /></param>
|
||||
<returns>an object of type <see cref="T:GLib.List" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets or obtains the list of icons representing a <see cref="T:Gtk.Window" />.</summary>
|
||||
<param name="value">A list of <see cref="T:Gdk.Pixbuf" />.</param>
|
||||
<returns>Copy of window's icon list.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
<para>
|
||||
<see cref="M:Gtk.Window.IconList" /> 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.
|
||||
</para>
|
||||
<para>
|
||||
Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them).
|
||||
</para>
|
||||
<para>
|
||||
Note that transient windows (those who have been set transient for another window using <see cref="P:Gtk.Window.TransientFor" /> will inherit their icon from their transient parent. So there's no need to explicity set the icon on transient windows.
|
||||
</para>
|
||||
<para>
|
||||
When retrieving the list is copied, but the reference count on each won't be incremented.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Role">
|
||||
|
@ -935,10 +977,18 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:System.String" /></param>
|
||||
<returns>an object of type <see cref="T:System.String" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets or obtains the role of the window.</summary>
|
||||
<param name="value">Unique identifier for the window to be used when restoring a session.</param>
|
||||
<returns>The role of the window if set, or <see langword="null" />. The returned is owned by the widget and must not be modified or freed.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
This property is only useful on X11, not with other GTK# targets.
|
||||
</para>
|
||||
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.
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Decorated">
|
||||
|
@ -949,16 +999,15 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>Sets if a Window will be decorated or not ( borderless ).</summary>
|
||||
<param name="value">A <see cref="T:System.Boolean" />.</param>
|
||||
<returns>
|
||||
<see langword="true" /> to decorate the window or if the window has been set to have decorations.</returns>
|
||||
<summary>Sets or obtains whether the window has been set to have decorations.</summary>
|
||||
<param name="value"><see langword="true" /> to decorate the window.</param>
|
||||
<returns><see langword="true" /> if the window has been set to have decorations.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
With this property you control if a window will be decorated or not.
|
||||
</para>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -971,9 +1020,9 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>Sets if a Window will be resizable by the user or not.</summary>
|
||||
<param name="value">an object of type <see cref="T:System.Boolean" /></param>
|
||||
<returns>an object of type <see cref="T:System.Boolean" /></returns>
|
||||
<summary>Sets or obtains whether a window will be resizable by the user or not.</summary>
|
||||
<param name="value"><see langword="true" /> if the user can resize this window.</param>
|
||||
<returns><see langword="true" /> if the user can resize the window.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
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 @@
|
|||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>Property used for setting/getting the window position.</summary>
|
||||
<param name="value">an object of type <see cref="T:Gtk.WindowPosition" /></param>
|
||||
<returns>an object of type <see cref="T:Gtk.WindowPosition" /></returns>
|
||||
<param name="value">An object of type <see cref="T:Gtk.WindowPosition" />.</param>
|
||||
<returns>An object of type <see cref="T:Gtk.WindowPosition" />.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -1008,8 +1057,8 @@
|
|||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>Property used for defining the default height of a window.</summary>
|
||||
<param name="value">an object of type <see cref="T:System.Int32" /></param>
|
||||
<returns>an object of type <see cref="T:System.Int32" /></returns>
|
||||
<param name="value">An object of type <see cref="T:System.Int32" />.</param>
|
||||
<returns>An object of type <see cref="T:System.Int32" />.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
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 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<summary>Sets or obtains whether the transient parent of <paramref name="window" /> will also destroy <paramref name="window" /> itself</summary>
|
||||
<param name="value">an object of type <see cref="T:System.Int32" /></param>
|
||||
<returns>an object of type <see cref="T:System.Int32" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<remarks>
|
||||
<para>
|
||||
This is useful for dialogs that shouldn't persist beyond the livefime of the main window they're associated with, for example.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Modal">
|
||||
|
@ -1039,10 +1092,17 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:System.Boolean" /></param>
|
||||
<returns>an object of type <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets or obtains the modal status of <paramref name="window" />.</summary>
|
||||
<param name="value">Whether the window is modal.</param>
|
||||
<returns><see langword="true" /> if the window is set to be modal and establishes a grab when shown.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
Modal windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use <see cref="P:Gtk.Window.TransientFor" /> to make the dialog transient for the parent; most window managers will then disallow lowering the dialog below the parent.
|
||||
</para>
|
||||
<para>
|
||||
There are two status: modal (<see langword="true" />) and non-modal (<see langword="false" />).
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AllowGrow">
|
||||
|
@ -1053,10 +1113,10 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>To be added</summary>
|
||||
<param name="value">an object of type <see cref="T:System.Boolean" /></param>
|
||||
<returns>an object of type <see cref="T:System.Boolean" /></returns>
|
||||
<remarks>To be added</remarks>
|
||||
<summary>Sets or obtains if the <paramref name="window" /> can be resized to a larger size by the user.</summary>
|
||||
<param name="value">if <see langword="true" /> the <paramref name="window" /> can be resized.</param>
|
||||
<returns><see langword="true" /> if the <paramref name="window" /> can be resized.</returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Title">
|
||||
|
@ -1067,12 +1127,12 @@
|
|||
</ReturnValue>
|
||||
<Parameters></Parameters>
|
||||
<Docs>
|
||||
<summary>Property used for setting the Window Title.</summary>
|
||||
<param name="value">an object of type <see cref="T:System.String" /></param>
|
||||
<returns>an object of type <see cref="T:System.String" /></returns>
|
||||
<summary>Property used for setting the window title.</summary>
|
||||
<param name="value">Title of the <paramref name="window" />.</param>
|
||||
<returns>The title of the <paramref name="window" />, or <see langword="null" /> if none has been set explicitely. The returned string is owned by the <paramref name="widget" /> and must not be modified or freed.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
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 <paramref name="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.
|
||||
</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
|
@ -1351,8 +1411,7 @@
|
|||
<Docs>
|
||||
<summary>Sets an icon to be used as fallback for windows that haven't had <see cref="P:Gtk.Window.IconList" /> called on them from a file on disk.</summary>
|
||||
<param name="filename">Location of icon file.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if setting the icon succeded.</returns>
|
||||
<returns><see langword="true" /> if setting the icon succeded.</returns>
|
||||
<remarks />
|
||||
</Docs>
|
||||
</Member>
|
||||
|
@ -1387,8 +1446,7 @@
|
|||
<Docs>
|
||||
<summary>Sets the icon for <paramref name="window" />.</summary>
|
||||
<param name="filename">Location of icon file.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if setting the icon succeded.</returns>
|
||||
<returns><see langword="true" /> if setting the icon succeded.</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
This method is equivalent to calling <see cref="M:Gtk.Window.ParseGeometry" /> with pixbuf created by loading the image from <paramref name="filename" />.
|
||||
|
|
Loading…
Reference in a new issue