Fix various doxgen errors in YTK
This is about half of the reported errors, then my patience ran out. More later
This commit is contained in:
parent
5a52b66dfa
commit
fd96694a21
@ -547,9 +547,9 @@ GType _gdk_pixmap_impl_get_type (void) G_GNUC_CONST;
|
||||
|
||||
/**
|
||||
* _gdk_windowing_gc_set_clip_region:
|
||||
* @gc: a #GdkGC
|
||||
* @region: the new clip region
|
||||
* @reset_origin: if TRUE, reset the clip_x/y_origin values to 0
|
||||
* @param gc: a #GdkGC
|
||||
* @param region: the new clip region
|
||||
* @param reset_origin: if TRUE, reset the clip_x/y_origin values to 0
|
||||
*
|
||||
* Do any window-system specific processing necessary
|
||||
* for a change in clip region. Since the clip origin
|
||||
@ -566,12 +566,12 @@ void _gdk_windowing_gc_set_clip_region (GdkGC *gc,
|
||||
|
||||
/**
|
||||
* _gdk_windowing_gc_copy:
|
||||
* @dst_gc: a #GdkGC from the GDK backend
|
||||
* @src_gc: a #GdkGC from the GDK backend
|
||||
* @param dst_gc: a #GdkGC from the GDK backend
|
||||
* @param src_gc: a #GdkGC from the GDK backend
|
||||
*
|
||||
* Copies backend specific state from @src_gc to @dst_gc.
|
||||
* Copies backend specific state from \p src_gc to \p dst_gc.
|
||||
* This is called before the generic state is copied, so
|
||||
* the old generic state is still available from @dst_gc
|
||||
* the old generic state is still available from \p dst_gc
|
||||
**/
|
||||
void _gdk_windowing_gc_copy (GdkGC *dst_gc,
|
||||
GdkGC *src_gc);
|
||||
|
@ -44,7 +44,7 @@ typedef struct _GdkPangoRendererPrivate GdkPangoRendererPrivate;
|
||||
/**
|
||||
* GdkPangoRenderer:
|
||||
*
|
||||
* #GdkPangoRenderer is a subclass of #PangoRenderer used for rendering
|
||||
* GdkPangoRenderer is a subclass of PangoRenderer used for rendering
|
||||
* Pango objects into GDK drawables. The default renderer for a particular
|
||||
* screen is obtained with gdk_pango_renderer_get_default(); Pango
|
||||
* functions like pango_renderer_draw_layout() and
|
||||
|
@ -527,7 +527,7 @@ public:
|
||||
/** Looks up the Gdk::Pixmap that wraps the given native pixmap handle.
|
||||
*
|
||||
* For example in the X backend, a native pixmap handle is an Xlib
|
||||
* <type>XID</type>.
|
||||
* <tt>XID</tt>.
|
||||
*
|
||||
* @param anid A native pixmap handle.
|
||||
* @return The Gdk::Pixmap wrapper for the native pixmap,
|
||||
@ -538,7 +538,7 @@ public:
|
||||
/** Looks up the Gdk::Pixmap that wraps the given native pixmap handle.
|
||||
*
|
||||
* For example in the X backend, a native pixmap handle is an Xlib
|
||||
* <type>XID</type>.
|
||||
* <tt>XID</tt>.
|
||||
*
|
||||
* @param anid A native pixmap handle.
|
||||
* @return The Gdk::Pixmap wrapper for the native pixmap,
|
||||
|
@ -311,7 +311,7 @@ protected:
|
||||
* image data from a server-side drawable to a client-side RGB(A) buffer.
|
||||
* This allows you to efficiently read individual pixels on the client side.
|
||||
*
|
||||
* If the drawable @src has no colormap (See Gdk::Drawable::get_colormap()),
|
||||
* If the drawable \p src has no colormap (See Gdk::Drawable::get_colormap()),
|
||||
* then a suitable colormap must be specified. Otherwise, you may use the
|
||||
* constructor that takes no colormap argument.
|
||||
* Typically a Gdk::Window or a pixmap created by passing a Gdk:Window
|
||||
@ -433,7 +433,7 @@ public:
|
||||
* image data from a server-side drawable to a client-side RGB(A) buffer.
|
||||
* This allows you to efficiently read individual pixels on the client side.
|
||||
*
|
||||
* If the drawable @src has no colormap (See Gdk::Drawable::get_colormap()),
|
||||
* If the drawable \p src has no colormap (See Gdk::Drawable::get_colormap()),
|
||||
* then a suitable colormap must be specified. Otherwise, you may use the
|
||||
* constructor that takes no colormap argument.
|
||||
* Typically a Gdk::Window or a pixmap created by passing a Gdk:Window
|
||||
@ -667,7 +667,7 @@ public:
|
||||
* TThe list of all writable formats can be determined by using get_formats() with
|
||||
* Gdk::PixbufFormat::is_writable().
|
||||
*
|
||||
* The @a option_keys and @option_values, if not empty, should contain pairs of strings that modify the save parameters.
|
||||
* The @a option_keys and \p option_values, if not empty, should contain pairs of strings that modify the save parameters.
|
||||
* For example, "quality", "100".
|
||||
*
|
||||
* Currently only a few parameters exist. JPEG images can be saved with a "quality" parameter;
|
||||
|
@ -46,7 +46,7 @@ typedef struct _GtkAboutDialogClass GtkAboutDialogClass;
|
||||
/**
|
||||
* GtkAboutDialog:
|
||||
*
|
||||
* The <structname>GtkAboutDialog</structname> struct contains
|
||||
* The \struct GtkAboutDialog struct contains
|
||||
* only private fields and should not be directly accessed.
|
||||
*/
|
||||
struct _GtkAboutDialog
|
||||
@ -128,9 +128,9 @@ void gtk_about_dialog_set_logo_icon_name (GtkAboutDialog
|
||||
|
||||
/**
|
||||
* GtkAboutDialogActivateLinkFunc:
|
||||
* @about: the #GtkAboutDialog in which the link was activated
|
||||
* @link_: the URL or email address to which the activated link points
|
||||
* @data: user data that was passed when the function was registered
|
||||
* @param about: the #GtkAboutDialog in which the link was activated
|
||||
* @param link_: the URL or email address to which the activated link points
|
||||
* @param data: user data that was passed when the function was registered
|
||||
* with gtk_about_dialog_set_email_hook() or
|
||||
* gtk_about_dialog_set_url_hook()
|
||||
*
|
||||
|
@ -68,9 +68,9 @@ typedef gboolean (*GtkAccelGroupActivate) (GtkAccelGroup *accel_group,
|
||||
|
||||
/**
|
||||
* GtkAccelGroupFindFunc:
|
||||
* @key:
|
||||
* @closure:
|
||||
* @data:
|
||||
* @param key:
|
||||
* @param closure:
|
||||
* @param data:
|
||||
*
|
||||
* Since: 2.2
|
||||
*/
|
||||
|
@ -42,13 +42,16 @@ typedef struct _GtkActivatableIface GtkActivatableIface;
|
||||
|
||||
/**
|
||||
* GtkActivatableIface:
|
||||
* @update: Called to update the activatable when its related action's properties change.
|
||||
* @param update: Called to update the activatable when its related action's properties change.
|
||||
* You must check the #GtkActivatable:use-action-appearance property only apply action
|
||||
* properties that are meant to effect the appearance accordingly.
|
||||
* @sync_action_properties: Called to update the activatable completely, this is called internally when
|
||||
* #GtkActivatable::related-action property is set or unset and by the implementor when
|
||||
* #GtkActivatable::use-action-appearance changes.<note><para>This method can be called
|
||||
* with a %NULL action at times</para></note>
|
||||
* @param sync_action_properties: Called to update the activatable completely, this is called internally when
|
||||
* GtkActivatable::related-action property is set or unset and by the implementor when
|
||||
* GtkActivatable::use-action-appearance changes.
|
||||
*
|
||||
* \note
|
||||
* This method can be called
|
||||
* with a %NULL action at times
|
||||
*
|
||||
* Since: 2.16
|
||||
*/
|
||||
|
@ -43,14 +43,14 @@ G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GtkAssistantPageType:
|
||||
* @GTK_ASSISTANT_PAGE_CONTENT: The page has regular contents.
|
||||
* @GTK_ASSISTANT_PAGE_INTRO: The page contains an introduction to the
|
||||
* @param GTK_ASSISTANT_PAGE_CONTENT: The page has regular contents.
|
||||
* @param GTK_ASSISTANT_PAGE_INTRO: The page contains an introduction to the
|
||||
* assistant task.
|
||||
* @GTK_ASSISTANT_PAGE_CONFIRM: The page lets the user confirm or deny the
|
||||
* @param GTK_ASSISTANT_PAGE_CONFIRM: The page lets the user confirm or deny the
|
||||
* changes.
|
||||
* @GTK_ASSISTANT_PAGE_SUMMARY: The page informs the user of the changes
|
||||
* @param GTK_ASSISTANT_PAGE_SUMMARY: The page informs the user of the changes
|
||||
* done.
|
||||
* @GTK_ASSISTANT_PAGE_PROGRESS: Used for tasks that take a long time to
|
||||
* @param GTK_ASSISTANT_PAGE_PROGRESS: Used for tasks that take a long time to
|
||||
* complete, blocks the assistant until the page is marked as complete.
|
||||
*
|
||||
* An enum for determining the page role inside the #GtkAssistant. It's
|
||||
@ -107,8 +107,8 @@ struct _GtkAssistantClass
|
||||
|
||||
/**
|
||||
* GtkAssistantPageFunc:
|
||||
* @current_page: The page number used to calculate the next page.
|
||||
* @data: user data.
|
||||
* @param current_page: The page number used to calculate the next page.
|
||||
* @param data: user data.
|
||||
*
|
||||
* A function used by gtk_assistant_set_forward_page_func() to know which
|
||||
* is the next page given a current one. It's called both for computing the
|
||||
|
@ -66,18 +66,18 @@ struct _GtkBoxClass
|
||||
|
||||
/**
|
||||
* GtkBoxChild:
|
||||
* @widget: the child widget, packed into the GtkBox.
|
||||
* @padding: the number of extra pixels to put between this child and its
|
||||
* @param widget: the child widget, packed into the GtkBox.
|
||||
* @param padding: the number of extra pixels to put between this child and its
|
||||
* neighbors, set when packed, zero by default.
|
||||
* @expand: flag indicates whether extra space should be given to this child.
|
||||
* @param expand: flag indicates whether extra space should be given to this child.
|
||||
* Any extra space given to the parent GtkBox is divided up among all children
|
||||
* with this attribute set to %TRUE; set when packed, %TRUE by default.
|
||||
* @fill: flag indicates whether any extra space given to this child due to its
|
||||
* @expand attribute being set is actually allocated to the child, rather than
|
||||
* @param fill: flag indicates whether any extra space given to this child due to its
|
||||
* \p expand attribute being set is actually allocated to the child, rather than
|
||||
* being used as padding around the widget; set when packed, %TRUE by default.
|
||||
* @pack: one of #GtkPackType indicating whether the child is packed with
|
||||
* @param pack: one of #GtkPackType indicating whether the child is packed with
|
||||
* reference to the start (top/left) or end (bottom/right) of the GtkBox.
|
||||
* @is_secondary: %TRUE if the child is secondary
|
||||
* @param is_secondary: %TRUE if the child is secondary
|
||||
*
|
||||
* The #GtkBoxChild holds a child widget of #GtkBox and describes how the child
|
||||
* is to be packed into the #GtkBox. All fields of this #GtkBoxChild should be
|
||||
|
@ -42,45 +42,45 @@ typedef struct _GtkBuildableIface GtkBuildableIface;
|
||||
|
||||
/**
|
||||
* GtkBuildableIface:
|
||||
* @g_iface: the parent class
|
||||
* @set_name: Stores the name attribute given in the GtkBuilder UI definition.
|
||||
* @param g_iface: the parent class
|
||||
* @param set_name: Stores the name attribute given in the GtkBuilder UI definition.
|
||||
* #GtkWidget stores the name as object data. Implement this method if your
|
||||
* object has some notion of "name" and it makes sense to map the XML name
|
||||
* attribute to it.
|
||||
* @get_name: The getter corresponding to @set_name. Implement this
|
||||
* if you implement @set_name.
|
||||
* @add_child: Adds a child. The @type parameter can be used to
|
||||
* @param get_name: The getter corresponding to \p set_name. Implement this
|
||||
* if you implement \p set_name.
|
||||
* @param add_child: Adds a child. The \p type parameter can be used to
|
||||
* differentiate the kind of child. #GtkContainer implements this
|
||||
* to add add a child widget to the container, #GtkNotebook uses
|
||||
* the @type to distinguish between page labels (of type "page-label")
|
||||
* the \p type to distinguish between page labels (of type "page-label")
|
||||
* and normal children.
|
||||
* @set_buildable_property: Sets a property of a buildable object.
|
||||
* @param set_buildable_property: Sets a property of a buildable object.
|
||||
* It is normally not necessary to implement this, g_object_set_property()
|
||||
* is used by default. #GtkWindow implements this to delay showing itself
|
||||
* (i.e. setting the #GtkWidget:visible property) until the whole interface
|
||||
* is created.
|
||||
* @construct_child: Constructs a child of a buildable that has been
|
||||
* @param construct_child: Constructs a child of a buildable that has been
|
||||
* specified as "constructor" in the UI definition. #GtkUIManager implements
|
||||
* this to reference to a widget created in a <ui> tag which is outside
|
||||
* of the normal GtkBuilder UI definition hierarchy. A reference to the
|
||||
* constructed object is returned and becomes owned by the caller.
|
||||
* @custom_tag_start: Implement this if the buildable needs to parse
|
||||
* @param custom_tag_start: Implement this if the buildable needs to parse
|
||||
* content below <child>. To handle an element, the implementation
|
||||
* must fill in the @parser structure and @user_data and return %TRUE.
|
||||
* must fill in the \p parser structure and \p user_data and return %TRUE.
|
||||
* #GtkWidget implements this to parse keyboard accelerators specified
|
||||
* in <accelerator> elements. #GtkContainer implements it to map
|
||||
* properties defined via <packing> elements to child properties.
|
||||
* Note that @user_data must be freed in @custom_tag_end or @custom_finished.
|
||||
* @custom_tag_end: Called for the end tag of each custom element that is
|
||||
* handled by the buildable (see @custom_tag_start).
|
||||
* @custom_finished: Called for each custom tag handled by the buildable
|
||||
* when the builder finishes parsing (see @custom_tag_start)
|
||||
* @parser_finished: Called when a builder finishes the parsing
|
||||
* Note that \p user_data must be freed in \p custom_tag_end or \p custom_finished.
|
||||
* @param custom_tag_end: Called for the end tag of each custom element that is
|
||||
* handled by the buildable (see \p custom_tag_start).
|
||||
* @param custom_finished: Called for each custom tag handled by the buildable
|
||||
* when the builder finishes parsing (see \p custom_tag_start)
|
||||
* @param parser_finished: Called when a builder finishes the parsing
|
||||
* of a UI definition. It is normally not necessary to implement this,
|
||||
* unless you need to perform special cleanup actions. #GtkWindow sets
|
||||
* the #GtkWidget:visible property here.
|
||||
* @get_internal_child: Returns an internal child of a buildable.
|
||||
* #GtkDialog implements this to give access to its @vbox, making
|
||||
* @param get_internal_child: Returns an internal child of a buildable.
|
||||
* #GtkDialog implements this to give access to its \p vbox, making
|
||||
* it possible to add children to the vbox in a UI definition.
|
||||
* Implement this if the buildable has internal children that may
|
||||
* need to be accessed from a UI definition.
|
||||
|
@ -210,11 +210,11 @@ typedef enum
|
||||
|
||||
/**
|
||||
* GtkMessageType:
|
||||
* @GTK_MESSAGE_INFO: Informational message
|
||||
* @GTK_MESSAGE_WARNING: Nonfatal warning message
|
||||
* @GTK_MESSAGE_QUESTION: Question requiring a choice
|
||||
* @GTK_MESSAGE_ERROR: Fatal error message
|
||||
* @GTK_MESSAGE_OTHER: None of the above, doesn't get an icon
|
||||
* @param GTK_MESSAGE_INFO: Informational message
|
||||
* @param GTK_MESSAGE_WARNING: Nonfatal warning message
|
||||
* @param GTK_MESSAGE_QUESTION: Question requiring a choice
|
||||
* @param GTK_MESSAGE_ERROR: Fatal error message
|
||||
* @param GTK_MESSAGE_OTHER: None of the above, doesn't get an icon
|
||||
*
|
||||
* The type of message being displayed in the dialog.
|
||||
*/
|
||||
|
@ -38,15 +38,15 @@ typedef struct _GtkFileChooser GtkFileChooser;
|
||||
|
||||
/**
|
||||
* GtkFileChooserAction:
|
||||
* @GTK_FILE_CHOOSER_ACTION_OPEN: Indicates open mode. The file chooser
|
||||
* @param GTK_FILE_CHOOSER_ACTION_OPEN: Indicates open mode. The file chooser
|
||||
* will only let the user pick an existing file.
|
||||
* @GTK_FILE_CHOOSER_ACTION_SAVE: Indicates save mode. The file chooser
|
||||
* @param GTK_FILE_CHOOSER_ACTION_SAVE: Indicates save mode. The file chooser
|
||||
* will let the user pick an existing file, or type in a new
|
||||
* filename.
|
||||
* @GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER: Indicates an Open mode for
|
||||
* @param GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER: Indicates an Open mode for
|
||||
* selecting folders. The file chooser will let the user pick an
|
||||
* existing folder.
|
||||
* @GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER: Indicates a mode for creating a
|
||||
* @param GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER: Indicates a mode for creating a
|
||||
* new folder. The file chooser will let the user name an existing or
|
||||
* new folder.
|
||||
*
|
||||
@ -63,15 +63,15 @@ typedef enum
|
||||
|
||||
/**
|
||||
* GtkFileChooserConfirmation:
|
||||
* @GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM: The file chooser will present
|
||||
* @param GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM: The file chooser will present
|
||||
* its stock dialog to confirm about overwriting an existing file.
|
||||
* @GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME: The file chooser will
|
||||
* @param GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME: The file chooser will
|
||||
* terminate and accept the user's choice of a file name.
|
||||
* @GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN: The file chooser will
|
||||
* @param GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN: The file chooser will
|
||||
* continue running, so as to let the user select another file name.
|
||||
*
|
||||
* Used as a return value of handlers for the
|
||||
* #GtkFileChooser::confirm-overwrite signal of a #GtkFileChooser. This
|
||||
* GtkFileChooser::confirm-overwrite signal of a #GtkFileChooser. This
|
||||
* value determines whether the file chooser will present the stock
|
||||
* confirmation dialog, accept the user's choice of a filename, or
|
||||
* let the user choose another filename.
|
||||
@ -91,17 +91,17 @@ GType gtk_file_chooser_get_type (void) G_GNUC_CONST;
|
||||
/**
|
||||
* GTK_FILE_CHOOSER_ERROR:
|
||||
*
|
||||
* Used to get the #GError quark for #GtkFileChooser errors.
|
||||
* Used to get the GError quark for #GtkFileChooser errors.
|
||||
*/
|
||||
#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
|
||||
|
||||
/**
|
||||
* GtkFileChooserError:
|
||||
* @GTK_FILE_CHOOSER_ERROR_NONEXISTENT: Indicates that a file does not exist.
|
||||
* @GTK_FILE_CHOOSER_ERROR_BAD_FILENAME: Indicates a malformed filename.
|
||||
* @GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS: Indicates a duplicate path (e.g. when
|
||||
* @param GTK_FILE_CHOOSER_ERROR_NONEXISTENT: Indicates that a file does not exist.
|
||||
* @param GTK_FILE_CHOOSER_ERROR_BAD_FILENAME: Indicates a malformed filename.
|
||||
* @param GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS: Indicates a duplicate path (e.g. when
|
||||
* adding a bookmark).
|
||||
* @GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME: Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).
|
||||
* @param GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME: Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).
|
||||
*
|
||||
* These identify the various errors that can occur while calling
|
||||
* #GtkFileChooser functions.
|
||||
|
@ -60,19 +60,19 @@ struct _GtkIconThemeClass
|
||||
|
||||
/**
|
||||
* GtkIconLookupFlags:
|
||||
* @GTK_ICON_LOOKUP_NO_SVG: Never return SVG icons, even if gdk-pixbuf
|
||||
* @param GTK_ICON_LOOKUP_NO_SVG: Never return SVG icons, even if gdk-pixbuf
|
||||
* supports them. Cannot be used together with %GTK_ICON_LOOKUP_FORCE_SVG.
|
||||
* @GTK_ICON_LOOKUP_FORCE_SVG: Return SVG icons, even if gdk-pixbuf
|
||||
* @param GTK_ICON_LOOKUP_FORCE_SVG: Return SVG icons, even if gdk-pixbuf
|
||||
* doesn't support them.
|
||||
* Cannot be used together with %GTK_ICON_LOOKUP_NO_SVG.
|
||||
* @GTK_ICON_LOOKUP_USE_BUILTIN: When passed to
|
||||
* @param GTK_ICON_LOOKUP_USE_BUILTIN: When passed to
|
||||
* gtk_icon_theme_lookup_icon() includes builtin icons
|
||||
* as well as files. For a builtin icon, gtk_icon_info_get_filename()
|
||||
* returns %NULL and you need to call gtk_icon_info_get_builtin_pixbuf().
|
||||
* @GTK_ICON_LOOKUP_GENERIC_FALLBACK: Try to shorten icon name at '-'
|
||||
* @param GTK_ICON_LOOKUP_GENERIC_FALLBACK: Try to shorten icon name at '-'
|
||||
* characters before looking at inherited themes. For more general
|
||||
* fallback, see gtk_icon_theme_choose_icon(). Since 2.12.
|
||||
* @GTK_ICON_LOOKUP_FORCE_SIZE: Always return the icon scaled to the
|
||||
* @param GTK_ICON_LOOKUP_FORCE_SIZE: Always return the icon scaled to the
|
||||
* requested size. Since 2.14.
|
||||
*
|
||||
* Used to specify options for gtk_icon_theme_lookup_icon()
|
||||
@ -90,8 +90,8 @@ typedef enum
|
||||
|
||||
/**
|
||||
* GtkIconThemeError:
|
||||
* @GTK_ICON_THEME_NOT_FOUND: The icon specified does not exist in the theme
|
||||
* @GTK_ICON_THEME_FAILED: An unspecified error occurred.
|
||||
* @param GTK_ICON_THEME_NOT_FOUND: The icon specified does not exist in the theme
|
||||
* @param GTK_ICON_THEME_FAILED: An unspecified error occurred.
|
||||
*
|
||||
* Error codes for GtkIconTheme operations.
|
||||
**/
|
||||
|
@ -106,16 +106,16 @@ struct _GtkImageGIconData
|
||||
|
||||
/**
|
||||
* GtkImageType:
|
||||
* @GTK_IMAGE_EMPTY: there is no image displayed by the widget
|
||||
* @GTK_IMAGE_PIXMAP: the widget contains a #GdkPixmap
|
||||
* @GTK_IMAGE_IMAGE: the widget contains a #GdkImage
|
||||
* @GTK_IMAGE_PIXBUF: the widget contains a #GdkPixbuf
|
||||
* @GTK_IMAGE_STOCK: the widget contains a stock icon name (see <xref linkend="gtk-Stock-Items"/>)
|
||||
* @GTK_IMAGE_ICON_SET: the widget contains a #GtkIconSet
|
||||
* @GTK_IMAGE_ANIMATION: the widget contains a #GdkPixbufAnimation
|
||||
* @GTK_IMAGE_ICON_NAME: the widget contains a named icon.
|
||||
* @param GTK_IMAGE_EMPTY: there is no image displayed by the widget
|
||||
* @param GTK_IMAGE_PIXMAP: the widget contains a #GdkPixmap
|
||||
* @param GTK_IMAGE_IMAGE: the widget contains a #GdkImage
|
||||
* @param GTK_IMAGE_PIXBUF: the widget contains a #GdkPixbuf
|
||||
* @param GTK_IMAGE_STOCK: the widget contains a stock icon name
|
||||
* @param GTK_IMAGE_ICON_SET: the widget contains a #GtkIconSet
|
||||
* @param GTK_IMAGE_ANIMATION: the widget contains a #GdkPixbufAnimation
|
||||
* @param GTK_IMAGE_ICON_NAME: the widget contains a named icon.
|
||||
* This image type was added in GTK+ 2.6
|
||||
* @GTK_IMAGE_GICON: the widget contains a #GIcon.
|
||||
* @param GTK_IMAGE_GICON: the widget contains a GIcon.
|
||||
* This image type was added in GTK+ 2.14
|
||||
*
|
||||
* Describes the image data representation used by a #GtkImage. If you
|
||||
|
@ -70,21 +70,21 @@ struct _GtkMessageDialogClass
|
||||
|
||||
/**
|
||||
* GtkButtonsType:
|
||||
* @GTK_BUTTONS_NONE: no buttons at all
|
||||
* @GTK_BUTTONS_OK: an OK button
|
||||
* @GTK_BUTTONS_CLOSE: a Close button
|
||||
* @GTK_BUTTONS_CANCEL: a Cancel button
|
||||
* @GTK_BUTTONS_YES_NO: Yes and No buttons
|
||||
* @GTK_BUTTONS_OK_CANCEL: OK and Cancel buttons
|
||||
* @param GTK_BUTTONS_NONE: no buttons at all
|
||||
* @param GTK_BUTTONS_OK: an OK button
|
||||
* @param GTK_BUTTONS_CLOSE: a Close button
|
||||
* @param GTK_BUTTONS_CANCEL: a Cancel button
|
||||
* @param GTK_BUTTONS_YES_NO: Yes and No buttons
|
||||
* @param GTK_BUTTONS_OK_CANCEL: OK and Cancel buttons
|
||||
*
|
||||
* Prebuilt sets of buttons for the dialog. If
|
||||
* none of these choices are appropriate, simply use %GTK_BUTTONS_NONE
|
||||
* then call gtk_dialog_add_buttons().
|
||||
* <note>
|
||||
*
|
||||
* \note
|
||||
* Please note that %GTK_BUTTONS_OK, %GTK_BUTTONS_YES_NO
|
||||
* and %GTK_BUTTONS_OK_CANCEL are discouraged by the
|
||||
* <ulink url="http://library.gnome.org/devel/hig-book/stable/">GNOME HIG</ulink>.
|
||||
* </note>
|
||||
* and %GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG.
|
||||
*
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ G_BEGIN_DECLS
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_OBJECT_TYPE:
|
||||
* @object: a #GtkObject.
|
||||
* @param object: a #GtkObject.
|
||||
*
|
||||
* Gets the type of an object.
|
||||
*
|
||||
@ -65,7 +65,7 @@ G_BEGIN_DECLS
|
||||
#define GTK_OBJECT_TYPE G_OBJECT_TYPE
|
||||
/**
|
||||
* GTK_OBJECT_TYPE_NAME:
|
||||
* @object: a #GtkObject.
|
||||
* @param object: a #GtkObject.
|
||||
*
|
||||
* Gets the name of an object's type.
|
||||
*
|
||||
|
@ -39,13 +39,13 @@ G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GtkRecentSortType:
|
||||
* @GTK_RECENT_SORT_NONE: Do not sort the returned list of recently used
|
||||
* @param GTK_RECENT_SORT_NONE: Do not sort the returned list of recently used
|
||||
* resources.
|
||||
* @GTK_RECENT_SORT_MRU: Sort the returned list with the most recently used
|
||||
* @param GTK_RECENT_SORT_MRU: Sort the returned list with the most recently used
|
||||
* items first.
|
||||
* @GTK_RECENT_SORT_LRU: Sort the returned list with the least recently used
|
||||
* @param GTK_RECENT_SORT_LRU: Sort the returned list with the least recently used
|
||||
* items first.
|
||||
* @GTK_RECENT_SORT_CUSTOM: Sort the returned list using a custom sorting
|
||||
* @param GTK_RECENT_SORT_CUSTOM: Sort the returned list using a custom sorting
|
||||
* function passed using gtk_recent_manager_set_sort_func().
|
||||
*
|
||||
* Used to specify the sorting method to be applyed to the recently
|
||||
|
@ -48,19 +48,19 @@ typedef struct _GtkRecentManagerPrivate GtkRecentManagerPrivate;
|
||||
|
||||
/**
|
||||
* GtkRecentData:
|
||||
* @display_name: a UTF-8 encoded string, containing the name of the recently
|
||||
* @param display_name: a UTF-8 encoded string, containing the name of the recently
|
||||
* used resource to be displayed, or %NULL;
|
||||
* @description: a UTF-8 encoded string, containing a short description of
|
||||
* @param description: a UTF-8 encoded string, containing a short description of
|
||||
* the resource, or %NULL;
|
||||
* @mime_type: the MIME type of the resource;
|
||||
* @app_name: the name of the application that is registering this recently
|
||||
* @param mime_type: the MIME type of the resource;
|
||||
* @param app_name: the name of the application that is registering this recently
|
||||
* used resource;
|
||||
* @app_exec: command line used to launch this resource; may contain the
|
||||
* @param app_exec: command line used to launch this resource; may contain the
|
||||
* "%f" and "%u" escape characters which will be expanded
|
||||
* to the resource file path and URI respectively when the command line
|
||||
* is retrieved;
|
||||
* @groups: a vector of strings containing groups names;
|
||||
* @is_private: whether this resource should be displayed only by the
|
||||
* @param groups: a vector of strings containing groups names;
|
||||
* @param is_private: whether this resource should be displayed only by the
|
||||
* applications that have registered it or not.
|
||||
*
|
||||
* Meta-data to be passed to gtk_recent_manager_add_full() when
|
||||
@ -105,18 +105,18 @@ struct _GtkRecentManagerClass
|
||||
|
||||
/**
|
||||
* GtkRecentManagerError:
|
||||
* @GTK_RECENT_MANAGER_ERROR_NOT_FOUND: the URI specified does not exists in
|
||||
* @param GTK_RECENT_MANAGER_ERROR_NOT_FOUND: the URI specified does not exists in
|
||||
* the recently used resources list.
|
||||
* @GTK_RECENT_MANAGER_ERROR_INVALID_URI: the URI specified is not valid.
|
||||
* @GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING: the supplied string is not
|
||||
* @param GTK_RECENT_MANAGER_ERROR_INVALID_URI: the URI specified is not valid.
|
||||
* @param GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING: the supplied string is not
|
||||
* UTF-8 encoded.
|
||||
* @GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED: no application has registered
|
||||
* @param GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED: no application has registered
|
||||
* the specified item.
|
||||
* @GTK_RECENT_MANAGER_ERROR_READ: failure while reading the recently used
|
||||
* @param GTK_RECENT_MANAGER_ERROR_READ: failure while reading the recently used
|
||||
* resources file.
|
||||
* @GTK_RECENT_MANAGER_ERROR_WRITE: failure while writing the recently used
|
||||
* @param GTK_RECENT_MANAGER_ERROR_WRITE: failure while writing the recently used
|
||||
* resources file.
|
||||
* @GTK_RECENT_MANAGER_ERROR_UNKNOWN: unspecified error.
|
||||
* @param GTK_RECENT_MANAGER_ERROR_UNKNOWN: unspecified error.
|
||||
*
|
||||
* Error codes for GtkRecentManager operations
|
||||
**/
|
||||
|
@ -69,10 +69,10 @@ struct _GtkSizeGroupClass
|
||||
|
||||
/**
|
||||
* GtkSizeGroupMode:
|
||||
* @GTK_SIZE_GROUP_NONE: group has no effect
|
||||
* @GTK_SIZE_GROUP_HORIZONTAL: group affects horizontal requisition
|
||||
* @GTK_SIZE_GROUP_VERTICAL: group affects vertical requisition
|
||||
* @GTK_SIZE_GROUP_BOTH: group affects both horizontal and vertical requisition
|
||||
* @param GTK_SIZE_GROUP_NONE: group has no effect
|
||||
* @param GTK_SIZE_GROUP_HORIZONTAL: group affects horizontal requisition
|
||||
* @param GTK_SIZE_GROUP_VERTICAL: group affects vertical requisition
|
||||
* @param GTK_SIZE_GROUP_BOTH: group affects both horizontal and vertical requisition
|
||||
*
|
||||
* The mode of the size group determines the directions in which the size
|
||||
* group affects the requested sizes of its component widgets.
|
||||
|
@ -45,8 +45,8 @@ typedef struct _GtkToolPalettePrivate GtkToolPalettePrivate;
|
||||
|
||||
/**
|
||||
* GtkToolPaletteDragTargets:
|
||||
* @GTK_TOOL_PALETTE_DRAG_ITEMS: Support drag of items.
|
||||
* @GTK_TOOL_PALETTE_DRAG_GROUPS: Support drag of groups.
|
||||
* @param GTK_TOOL_PALETTE_DRAG_ITEMS: Support drag of items.
|
||||
* @param GTK_TOOL_PALETTE_DRAG_GROUPS: Support drag of groups.
|
||||
*
|
||||
* Flags used to specify the supported drag targets.
|
||||
*/
|
||||
|
@ -45,15 +45,15 @@ typedef struct _GtkToolShellIface GtkToolShellIface;
|
||||
|
||||
/**
|
||||
* GtkToolShellIface:
|
||||
* @get_icon_size: mandatory implementation of gtk_tool_shell_get_icon_size().
|
||||
* @get_orientation: mandatory implementation of gtk_tool_shell_get_orientation().
|
||||
* @get_style: mandatory implementation of gtk_tool_shell_get_style().
|
||||
* @get_relief_style: optional implementation of gtk_tool_shell_get_relief_style().
|
||||
* @rebuild_menu: optional implementation of gtk_tool_shell_rebuild_menu().
|
||||
* @get_text_orientation: optional implementation of gtk_tool_shell_get_text_orientation().
|
||||
* @get_text_alignment: optional implementation of gtk_tool_shell_get_text_alignment().
|
||||
* @get_ellipsize_mode: optional implementation of gtk_tool_shell_get_ellipsize_mode().
|
||||
* @get_text_size_group: optional implementation of gtk_tool_shell_get_text_size_group().
|
||||
* @param get_icon_size: mandatory implementation of gtk_tool_shell_get_icon_size().
|
||||
* @param get_orientation: mandatory implementation of gtk_tool_shell_get_orientation().
|
||||
* @param get_style: mandatory implementation of gtk_tool_shell_get_style().
|
||||
* @param get_relief_style: optional implementation of gtk_tool_shell_get_relief_style().
|
||||
* @param rebuild_menu: optional implementation of gtk_tool_shell_rebuild_menu().
|
||||
* @param get_text_orientation: optional implementation of gtk_tool_shell_get_text_orientation().
|
||||
* @param get_text_alignment: optional implementation of gtk_tool_shell_get_text_alignment().
|
||||
* @param get_ellipsize_mode: optional implementation of gtk_tool_shell_get_ellipsize_mode().
|
||||
* @param get_text_size_group: optional implementation of gtk_tool_shell_get_text_size_group().
|
||||
*
|
||||
* Virtual function table for the #GtkToolShell interface.
|
||||
*/
|
||||
|
@ -43,58 +43,58 @@ G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GtkWidgetFlags:
|
||||
* @GTK_TOPLEVEL: widgets without a real parent, as there are #GtkWindow<!-- -->s and
|
||||
* @param GTK_TOPLEVEL: widgets without a real parent, as there are #GtkWindow and
|
||||
* #GtkMenu<!-- -->s have this flag set throughout their lifetime.
|
||||
* Toplevel widgets always contain their own #GdkWindow.
|
||||
* @GTK_NO_WINDOW: Indicative for a widget that does not provide its own #GdkWindow.
|
||||
* @param GTK_NO_WINDOW: Indicative for a widget that does not provide its own #GdkWindow.
|
||||
* Visible action (e.g. drawing) is performed on the parent's #GdkWindow.
|
||||
* @GTK_REALIZED: Set by gtk_widget_realize(), unset by gtk_widget_unrealize().
|
||||
* @param GTK_REALIZED: Set by gtk_widget_realize(), unset by gtk_widget_unrealize().
|
||||
* A realized widget has an associated #GdkWindow.
|
||||
* @GTK_MAPPED: Set by gtk_widget_map(), unset by gtk_widget_unmap().
|
||||
* @param GTK_MAPPED: Set by gtk_widget_map(), unset by gtk_widget_unmap().
|
||||
* Only realized widgets can be mapped. It means that gdk_window_show()
|
||||
* has been called on the widgets window(s).
|
||||
* @GTK_VISIBLE: Set by gtk_widget_show(), unset by gtk_widget_hide(). Implies that a
|
||||
* @param GTK_VISIBLE: Set by gtk_widget_show(), unset by gtk_widget_hide(). Implies that a
|
||||
* widget will be mapped as soon as its parent is mapped.
|
||||
* @GTK_SENSITIVE: Set and unset by gtk_widget_set_sensitive().
|
||||
* @param GTK_SENSITIVE: Set and unset by gtk_widget_set_sensitive().
|
||||
* The sensitivity of a widget determines whether it will receive
|
||||
* certain events (e.g. button or key presses). One premise for
|
||||
* the widget's sensitivity is to have this flag set.
|
||||
* @GTK_PARENT_SENSITIVE: Set and unset by gtk_widget_set_sensitive() operations on the
|
||||
* @param GTK_PARENT_SENSITIVE: Set and unset by gtk_widget_set_sensitive() operations on the
|
||||
* parents of the widget.
|
||||
* This is the second premise for the widget's sensitivity. Once
|
||||
* it has %GTK_SENSITIVE and %GTK_PARENT_SENSITIVE set, its state is
|
||||
* effectively sensitive. This is expressed (and can be examined) by
|
||||
* the #GTK_WIDGET_IS_SENSITIVE macro.
|
||||
* @GTK_CAN_FOCUS: Determines whether a widget is able to handle focus grabs.
|
||||
* @GTK_HAS_FOCUS: Set by gtk_widget_grab_focus() for widgets that also
|
||||
* @param GTK_CAN_FOCUS: Determines whether a widget is able to handle focus grabs.
|
||||
* @param GTK_HAS_FOCUS: Set by gtk_widget_grab_focus() for widgets that also
|
||||
* have %GTK_CAN_FOCUS set. The flag will be unset once another widget
|
||||
* grabs the focus.
|
||||
* @GTK_CAN_DEFAULT: The widget is allowed to receive the default action via
|
||||
* @param GTK_CAN_DEFAULT: The widget is allowed to receive the default action via
|
||||
* gtk_widget_grab_default() and will reserve space to draw the default if possible
|
||||
* @GTK_HAS_DEFAULT: The widget currently is receiving the default action and
|
||||
* @param GTK_HAS_DEFAULT: The widget currently is receiving the default action and
|
||||
* should be drawn appropriately if possible
|
||||
* @GTK_HAS_GRAB: Set by gtk_grab_add(), unset by gtk_grab_remove(). It means that the
|
||||
* @param GTK_HAS_GRAB: Set by gtk_grab_add(), unset by gtk_grab_remove(). It means that the
|
||||
* widget is in the grab_widgets stack, and will be the preferred one for
|
||||
* receiving events other than ones of cosmetic value.
|
||||
* @GTK_RC_STYLE: Indicates that the widget's style has been looked up through the rc
|
||||
* @param GTK_RC_STYLE: Indicates that the widget's style has been looked up through the rc
|
||||
* mechanism. It does not imply that the widget actually had a style
|
||||
* defined through the rc mechanism.
|
||||
* @GTK_COMPOSITE_CHILD: Indicates that the widget is a composite child of its parent; see
|
||||
* @param GTK_COMPOSITE_CHILD: Indicates that the widget is a composite child of its parent; see
|
||||
* gtk_widget_push_composite_child(), gtk_widget_pop_composite_child().
|
||||
* @GTK_NO_REPARENT: Unused since before GTK+ 1.2, will be removed in a future version.
|
||||
* @GTK_APP_PAINTABLE: Set and unset by gtk_widget_set_app_paintable().
|
||||
* @param GTK_NO_REPARENT: Unused since before GTK+ 1.2, will be removed in a future version.
|
||||
* @param GTK_APP_PAINTABLE: Set and unset by gtk_widget_set_app_paintable().
|
||||
* Must be set on widgets whose window the application directly draws on,
|
||||
* in order to keep GTK+ from overwriting the drawn stuff. See
|
||||
* <xref linkend="app-paintable-widgets"/> for a detailed
|
||||
* #app-paintable-widgets for a detailed
|
||||
* description of this flag.
|
||||
* @GTK_RECEIVES_DEFAULT: The widget when focused will receive the default action and have
|
||||
* @param GTK_RECEIVES_DEFAULT: The widget when focused will receive the default action and have
|
||||
* %GTK_HAS_DEFAULT set even if there is a different widget set as default.
|
||||
* @GTK_DOUBLE_BUFFERED: Set and unset by gtk_widget_set_double_buffered().
|
||||
* @param GTK_DOUBLE_BUFFERED: Set and unset by gtk_widget_set_double_buffered().
|
||||
* Indicates that exposes done on the widget should be
|
||||
* double-buffered. See <xref linkend="double-buffering"/> for a
|
||||
* double-buffered. #double-buffering" for a
|
||||
* detailed discussion of how double-buffering works in GTK+ and
|
||||
* why you may want to disable it for special cases.
|
||||
* @GTK_NO_SHOW_ALL:
|
||||
* @param GTK_NO_SHOW_ALL:
|
||||
*
|
||||
* Tells about certain properties of the widget.
|
||||
*/
|
||||
@ -145,7 +145,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_TYPE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Gets the type of a widget.
|
||||
*
|
||||
@ -157,7 +157,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_STATE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Returns the current state of the widget, as a #GtkStateType.
|
||||
*
|
||||
@ -169,7 +169,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_SAVED_STATE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Returns the saved state of the widget, as a #GtkStateType.
|
||||
*
|
||||
@ -187,9 +187,9 @@ typedef enum
|
||||
*/
|
||||
/**
|
||||
* GTK_WIDGET_FLAGS:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Returns the widget flags from @wid.
|
||||
* Returns the widget flags from \p wid.
|
||||
*
|
||||
* Deprecated: 2.20: Use the proper function to test individual states:
|
||||
* gtk_widget_get_app_paintable(), gtk_widget_get_can_default(),
|
||||
@ -207,7 +207,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_TOPLEVEL:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is a toplevel widget.
|
||||
*
|
||||
@ -219,7 +219,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_NO_WINDOW:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget doesn't have an own #GdkWindow.
|
||||
*
|
||||
@ -231,7 +231,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_REALIZED:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is realized.
|
||||
*
|
||||
@ -243,7 +243,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_MAPPED:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is mapped.
|
||||
*
|
||||
@ -255,7 +255,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_VISIBLE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is visible.
|
||||
*
|
||||
@ -267,7 +267,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_DRAWABLE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is mapped and visible.
|
||||
*
|
||||
@ -279,7 +279,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_SENSITIVE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the #GTK_SENSITIVE flag has be set on the widget.
|
||||
*
|
||||
@ -291,7 +291,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_PARENT_SENSITIVE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the #GTK_PARENT_SENSITIVE flag has be set on the widget.
|
||||
*
|
||||
@ -303,7 +303,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_IS_SENSITIVE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is effectively sensitive.
|
||||
*
|
||||
@ -316,7 +316,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_CAN_FOCUS:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is able to handle focus grabs.
|
||||
*
|
||||
@ -328,7 +328,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_HAS_FOCUS:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget has grabbed the focus and no other
|
||||
* widget has done so more recently.
|
||||
@ -341,7 +341,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_CAN_DEFAULT:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is allowed to receive the default action
|
||||
* via gtk_widget_grab_default().
|
||||
@ -354,7 +354,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_HAS_DEFAULT:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget currently is receiving the default action.
|
||||
*
|
||||
@ -366,7 +366,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_HAS_GRAB:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is in the grab_widgets stack, and will be
|
||||
* the preferred one for receiving events other than ones of cosmetic value.
|
||||
@ -379,7 +379,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_RC_STYLE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget's style has been looked up through the rc
|
||||
* mechanism.
|
||||
@ -392,7 +392,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_COMPOSITE_CHILD:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget is a composite child of its parent.
|
||||
*
|
||||
@ -404,7 +404,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_APP_PAINTABLE:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the #GTK_APP_PAINTABLE flag has been set on the widget.
|
||||
*
|
||||
@ -416,7 +416,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_RECEIVES_DEFAULT:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the widget when focused will receive the default action
|
||||
* even if there is a different widget set as default.
|
||||
@ -429,7 +429,7 @@ typedef enum
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
/**
|
||||
* GTK_WIDGET_DOUBLE_BUFFERED:
|
||||
* @wid: a #GtkWidget.
|
||||
* @param wid: a #GtkWidget.
|
||||
*
|
||||
* Evaluates to %TRUE if the #GTK_DOUBLE_BUFFERED flag has been set on the widget.
|
||||
*
|
||||
@ -443,8 +443,8 @@ typedef enum
|
||||
*/
|
||||
/**
|
||||
* GTK_WIDGET_SET_FLAGS:
|
||||
* @wid: a #GtkWidget.
|
||||
* @flag: the flags to set.
|
||||
* @param wid: a #GtkWidget.
|
||||
* @param flag: the flags to set.
|
||||
*
|
||||
* Turns on certain widget flags.
|
||||
*
|
||||
@ -461,8 +461,8 @@ typedef enum
|
||||
|
||||
/**
|
||||
* GTK_WIDGET_UNSET_FLAGS:
|
||||
* @wid: a #GtkWidget.
|
||||
* @flag: the flags to unset.
|
||||
* @param wid: a #GtkWidget.
|
||||
* @param flag: the flags to unset.
|
||||
*
|
||||
* Turns off certain widget flags.
|
||||
*
|
||||
@ -486,21 +486,21 @@ typedef struct _GtkWindow GtkWindow;
|
||||
|
||||
/**
|
||||
* GtkAllocation:
|
||||
* @x: the X position of the widget's area relative to its parents allocation.
|
||||
* @y: the Y position of the widget's area relative to its parents allocation.
|
||||
* @width: the width of the widget's allocated area.
|
||||
* @height: the height of the widget's allocated area.
|
||||
* @param x: the X position of the widget's area relative to its parents allocation.
|
||||
* @param y: the Y position of the widget's area relative to its parents allocation.
|
||||
* @param width: the width of the widget's allocated area.
|
||||
* @param height: the height of the widget's allocated area.
|
||||
*
|
||||
* A <structname>GtkAllocation</structname> of a widget represents region which has been allocated to the
|
||||
* A GtkAllocation of a widget represents region which has been allocated to the
|
||||
* widget by its parent. It is a subregion of its parents allocation. See
|
||||
* <xref linkend="size-allocation"/> for more information.
|
||||
* #size-allocation for more information.
|
||||
*/
|
||||
typedef GdkRectangle GtkAllocation;
|
||||
|
||||
/**
|
||||
* GtkCallback:
|
||||
* @widget: the widget to operate on
|
||||
* @data: user-supplied data
|
||||
* @param widget: the widget to operate on
|
||||
* @param data: user-supplied data
|
||||
*
|
||||
* The type of the callback functions used for e.g. iterating over
|
||||
* the children of a container, see gtk_container_foreach().
|
||||
@ -510,11 +510,11 @@ typedef void (*GtkCallback) (GtkWidget *widget,
|
||||
|
||||
/**
|
||||
* GtkRequisition:
|
||||
* @width: the widget's desired width
|
||||
* @height: the widget's desired height
|
||||
* @param width: the widget's desired width
|
||||
* @param height: the widget's desired height
|
||||
*
|
||||
* A <structname>GtkRequisition</structname> represents the desired size of a widget. See
|
||||
* <xref linkend="size-requisition"/> for more information.
|
||||
* A GtkRequisition represents the desired size of a widget. See
|
||||
* #size-requisition for more information.
|
||||
*/
|
||||
struct _GtkRequisition
|
||||
{
|
||||
@ -595,17 +595,17 @@ struct _GtkWidget
|
||||
|
||||
/**
|
||||
* GtkWidgetClass:
|
||||
* @parent_class:
|
||||
* @activate_signal:
|
||||
* @set_scroll_adjustments_signal:
|
||||
* @param parent_class:
|
||||
* @param activate_signal:
|
||||
* @param set_scroll_adjustments_signal:
|
||||
*
|
||||
* <structfield>activate_signal</structfield>
|
||||
* activate_signal
|
||||
* The signal to emit when a widget of this class is activated,
|
||||
* gtk_widget_activate() handles the emission. Implementation of this
|
||||
* signal is optional.
|
||||
*
|
||||
*
|
||||
* <structfield>set_scroll_adjustment_signal</structfield>
|
||||
* set_scroll_adjustment_signal
|
||||
* This signal is emitted when a widget of this class is added
|
||||
* to a scrolling aware parent, gtk_widget_set_scroll_adjustments()
|
||||
* handles the emission.
|
||||
@ -1067,8 +1067,8 @@ GdkPixmap * gtk_widget_get_snapshot (GtkWidget *widget,
|
||||
|
||||
/**
|
||||
* gtk_widget_set_visual:
|
||||
* @widget: a #GtkWidget
|
||||
* @visual: a visual
|
||||
* @param widget: a #GtkWidget
|
||||
* @param visual: a visual
|
||||
*
|
||||
* This function is deprecated; it does nothing.
|
||||
*/
|
||||
@ -1076,7 +1076,7 @@ GdkPixmap * gtk_widget_get_snapshot (GtkWidget *widget,
|
||||
|
||||
/**
|
||||
* gtk_widget_push_visual:
|
||||
* @visual: a visual
|
||||
* @param visual: a visual
|
||||
*
|
||||
* This function is deprecated; it does nothing.
|
||||
*/
|
||||
@ -1091,7 +1091,7 @@ GdkPixmap * gtk_widget_get_snapshot (GtkWidget *widget,
|
||||
|
||||
/**
|
||||
* gtk_widget_set_default_visual:
|
||||
* @visual: a visual
|
||||
* @param visual: a visual
|
||||
*
|
||||
* This function is deprecated; it does nothing.
|
||||
*/
|
||||
@ -1165,21 +1165,21 @@ void gtk_widget_modify_font (GtkWidget *widget,
|
||||
|
||||
/**
|
||||
* gtk_widget_set_rc_style:
|
||||
* @widget: a #GtkWidget.
|
||||
* @param widget: a #GtkWidget.
|
||||
*
|
||||
* Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
|
||||
* Equivalent to <tt>gtk_widget_set_style (widget, NULL)</tt>.
|
||||
*
|
||||
* Deprecated: 2.0: Use gtk_widget_set_style() with a %NULL @style argument instead.
|
||||
* Deprecated: 2.0: Use gtk_widget_set_style() with a %NULL \p style argument instead.
|
||||
*/
|
||||
#define gtk_widget_set_rc_style(widget) (gtk_widget_set_style (widget, NULL))
|
||||
|
||||
/**
|
||||
* gtk_widget_restore_default_style:
|
||||
* @widget: a #GtkWidget.
|
||||
* @param widget: a #GtkWidget.
|
||||
*
|
||||
* Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
|
||||
* Equivalent to <tt>gtk_widget_set_style (widget, NULL)</tt>.
|
||||
*
|
||||
* Deprecated: 2.0: Use gtk_widget_set_style() with a %NULL @style argument instead.
|
||||
* Deprecated: 2.0: Use gtk_widget_set_style() with a %NULL \p style argument instead.
|
||||
*/
|
||||
#define gtk_widget_restore_default_style(widget) (gtk_widget_set_style (widget, NULL))
|
||||
#endif
|
||||
|
@ -51,7 +51,7 @@ namespace Gtk
|
||||
* About dialogs often contain links and email addresses. Gtk::AboutDialog supports this by offering global
|
||||
* hooks, which are called when the user clicks on a link or email address, see set_email_hook() and
|
||||
* set_url_hook(). Email addresses in the authors, documenters and artists properties are recognized by looking
|
||||
* for <user@host>, URLs are recognized by looking for http://url, with the URL extending to the next space,
|
||||
* for <user\@host>, URLs are recognized by looking for http://url, with the URL extending to the next space,
|
||||
* tab or line break.
|
||||
*
|
||||
* An AboutDialog looks like this:
|
||||
|
@ -240,7 +240,7 @@ public:
|
||||
* @param action the action
|
||||
* @param proxy the proxy
|
||||
*
|
||||
* @par Slot Prototype:
|
||||
* @paragraph Slot Prototype:
|
||||
* <tt>void on_my_%disconnect_proxy(const Glib::RefPtr<Action>& action, Widget* proxy)</tt>
|
||||
*
|
||||
*/
|
||||
@ -248,15 +248,15 @@ public:
|
||||
Glib::SignalProxy2< void,const Glib::RefPtr<Action>&,Widget* > signal_disconnect_proxy();
|
||||
|
||||
|
||||
/** The pre_activate signal is emitted just before the @action in the
|
||||
/** The pre_activate signal is emitted just before the \p action in the
|
||||
* action_group is activated
|
||||
*
|
||||
* This is intended for UIManager to proxy the signal and provide global
|
||||
* notification just before any action is activated.
|
||||
*
|
||||
* @action the action
|
||||
* @param action the action
|
||||
*
|
||||
* @par Slot Prototype:
|
||||
* @paragraph Slot Prototype:
|
||||
* <tt>void on_my_%pre_activate(const Glib::RefPtr<Action>& action)</tt>
|
||||
*
|
||||
*/
|
||||
@ -264,15 +264,15 @@ public:
|
||||
Glib::SignalProxy1< void,const Glib::RefPtr<Action>& > signal_pre_activate();
|
||||
|
||||
|
||||
/** The post_activate signal is emitted just after the @action in the
|
||||
* @action_group is activated
|
||||
/** The post_activate signal is emitted just after the \p action in the
|
||||
* \p action_group is activated
|
||||
*
|
||||
* This is intended for UIManager to proxy the signal and provide global
|
||||
* notification just after any action is activated.
|
||||
*
|
||||
* @param action the action
|
||||
*
|
||||
* @par Slot Prototype:
|
||||
* @paragraph Slot Prototype:
|
||||
* <tt>void on_my_%post_activate(const Glib::RefPtr<Action>& action)</tt>
|
||||
*
|
||||
*/
|
||||
|
@ -137,9 +137,10 @@ public:
|
||||
* method is called when the related Gtk::Action properties change
|
||||
* and registers to the action's proxy list.
|
||||
*
|
||||
* <note>Be careful to call this before setting the local
|
||||
* \note
|
||||
* Be careful to call this before setting the local
|
||||
* copy of the Gtk::Action property, since this function uses
|
||||
* gtk_activatable_get_action() to retrieve the previous action</note>
|
||||
* gtk_activatable_get_action() to retrieve the previous action
|
||||
*
|
||||
* @param action The Gtk::Action to set.
|
||||
*/
|
||||
@ -176,8 +177,9 @@ public:
|
||||
|
||||
/** Sets the related action on the @a activatable object.
|
||||
*
|
||||
* <note>Gtk::Activatable implementors need to handle the Gtk::Activatable::property_related_action()
|
||||
* property and call do_set_related_action() when it changes.</note>
|
||||
* \note
|
||||
* Gtk::Activatable implementors need to handle the Gtk::Activatable::property_related_action()
|
||||
* property and call do_set_related_action() when it changes.
|
||||
*
|
||||
* @param action The Gtk::Action to set.
|
||||
*/
|
||||
@ -186,10 +188,11 @@ public:
|
||||
/** Sets whether this activatable should reset its layout and appearance
|
||||
* when setting the related action or when the action changes appearance
|
||||
*
|
||||
* <note>Gtk::Activatable implementors need to handle the
|
||||
* \note
|
||||
* Gtk::Activatable implementors need to handle the
|
||||
* Gtk::Activatable::property_use_action_appearance() property and call
|
||||
* sync_action_properties() to update @a activatable
|
||||
* if needed.</note>
|
||||
* if needed.
|
||||
*
|
||||
* @param use_appearance Whether to use the actions appearance.
|
||||
*/
|
||||
|
@ -275,7 +275,7 @@ public:
|
||||
* GtkTreeModel), you have to explicitely list all of them.
|
||||
*
|
||||
* @param buffer The file to parse.
|
||||
* @param The object to build.
|
||||
* @param object_id The object to build.
|
||||
* @result true on success or false if an error occurred.
|
||||
* @throws BuilderError, Glib::MarkupError, Glib::MarkupError
|
||||
*/
|
||||
@ -290,7 +290,7 @@ public:
|
||||
* GtkTreeModel), you have to explicitely list all of them.
|
||||
*
|
||||
* @param buffer The file to parse.
|
||||
* @param The object to build.
|
||||
* @param object_id The object to build.
|
||||
* @result true on success or false if an error occurred.
|
||||
* @throws BuilderError, Glib::MarkupError, Glib::MarkupError
|
||||
*/
|
||||
@ -305,11 +305,10 @@ public:
|
||||
* Error from the Gtk::BUILDER_ERROR, MARKUP_ERROR or FILE_ERROR
|
||||
* domain.
|
||||
*
|
||||
* <note>
|
||||
* \note
|
||||
* If you are adding an object that depends on an object that is not
|
||||
* its child (for instance a Gtk::TreeView that depends on its
|
||||
* Gtk::TreeModel), you have to explicitely list all of them in @a object_ids.
|
||||
* </note>
|
||||
*
|
||||
* @param filename The name of the file to parse.
|
||||
* @param object_ids Nul-terminated array of objects to build.
|
||||
@ -333,7 +332,7 @@ public:
|
||||
* and merges it with the current contents of the builder.
|
||||
*
|
||||
* @param buffer The string to parse.
|
||||
* @param The object to build.
|
||||
* @param object_id The object to build.
|
||||
* @result true on success or false if an error occurred.
|
||||
* @throws BuilderError, Glib::MarkupError
|
||||
*/
|
||||
@ -344,7 +343,7 @@ public:
|
||||
* and merges it with the current contents of the builder.
|
||||
*
|
||||
* @param buffer The string to parse.
|
||||
* @param The object to build.
|
||||
* @param object_id The object to build.
|
||||
* @result true on success or false if an error occurred.
|
||||
* @throws BuilderError, Glib::MarkupError
|
||||
*/
|
||||
@ -355,7 +354,7 @@ public:
|
||||
* and merges it with the current contents of the builder.
|
||||
*
|
||||
* @param buffer The string to parse.
|
||||
* @param The objects to build.
|
||||
* @param object_id The objects to build.
|
||||
* @result true on success or false if an error occurred.
|
||||
* @throws BuilderError, Glib::MarkupError
|
||||
*/
|
||||
@ -366,7 +365,7 @@ public:
|
||||
* and merges it with the current contents of the builder.
|
||||
*
|
||||
* @param buffer The string to parse.
|
||||
* @param length The length of @a buffer (may be -1 if @buffer is nul-terminated).
|
||||
* @param length The length of @a buffer (may be -1 if \p buffer is nul-terminated).
|
||||
* @result true on success or false if an error occurred.
|
||||
* @throws BuilderError, Glib::MarkupError
|
||||
*/
|
||||
|
@ -423,20 +423,20 @@ public:
|
||||
/** This signal is emitted when the toolbar needs information from @tool_item
|
||||
* about whether the item should appear in the toolbar overflow menu. In
|
||||
* response the tool item should either
|
||||
* <itemizedlist>
|
||||
* <listitem> call set_proxy_menu_item() with a NULL
|
||||
* <ul>
|
||||
* <li> call set_proxy_menu_item() with a NULL
|
||||
* pointer and return true to indicate that the item should not appear
|
||||
* in the overflow menu
|
||||
* </listitem>
|
||||
* <listitem> call set_proxy_menu_item() with a new menu
|
||||
* </li>
|
||||
* <li> call set_proxy_menu_item() with a new menu
|
||||
* item and return true, or
|
||||
* </listitem>
|
||||
* <listitem> return false to indicate that the signal was not
|
||||
* </li>
|
||||
* <li> return false to indicate that the signal was not
|
||||
* handled by the item. This means that
|
||||
* the item will not appear in the overflow menu unless a later handler
|
||||
* installs a menu item.
|
||||
* </listitem>
|
||||
* </itemizedlist>
|
||||
* </li>
|
||||
* </ul>
|
||||
*
|
||||
* The toolbar may cache the result of this signal. When the tool item changes
|
||||
* how it will respond to this signal it must call rebuild_menu()
|
||||
@ -456,12 +456,12 @@ public:
|
||||
/** This signal is emitted when some property of the toolbar that the
|
||||
* item is a child of changes. For custom subclasses of ToolItem,
|
||||
* the default handler of this signal use the functions
|
||||
* <itemizedlist>
|
||||
* <listitem>Toolbar::get_orientation()</listitem>
|
||||
* <listitem>Toolbar::get_style()</listitem>
|
||||
* <listitem>Toolbar::get_icon_size()</listitem>
|
||||
* <listitem>Toolbar::get_relief_style()</listitem>
|
||||
* </itemizedlist>
|
||||
* <ul>
|
||||
* <li>Toolbar::get_orientation()</li>
|
||||
* <li>Toolbar::get_style()</li>
|
||||
* <li>Toolbar::get_icon_size()</li>
|
||||
* <li>Toolbar::get_relief_style()</li>
|
||||
* </ul>
|
||||
* to find out what the toolbar should look like and change
|
||||
* themselves accordingly.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user