mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Improve the docs of the "label" property. (#341730, Kristof Vansant)
2006-12-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaction.c: Improve the docs of the "label" property. (#341730, Kristof Vansant) svn path=/trunk/; revision=16988
This commit is contained in:
parent
e43f1bd251
commit
b9d63db0bb
@ -1,3 +1,8 @@
|
||||
2006-12-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkaction.c: Improve the docs of the "label"
|
||||
property. (#341730, Kristof Vansant)
|
||||
|
||||
2006-12-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-12-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/tmpl/gtkactiongroup.sgml: Document that action
|
||||
labels may be NULL.
|
||||
|
||||
2006-12-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtk-sections.txt: Add gtk_cell_layout_get_cells.
|
||||
|
@ -203,7 +203,8 @@ gtk_action_group_add_actions() to construct actions.
|
||||
@stock_id: The stock id for the action, or the name of an icon from the icon
|
||||
theme.
|
||||
@label: The label for the action. This field should typically be marked for
|
||||
translation, see gtk_action_group_set_translation_domain().
|
||||
translation, see gtk_action_group_set_translation_domain(). If @label
|
||||
is %NULL, the label of the stock item with id @stock_id is used.
|
||||
@accelerator: The accelerator for the action, in the format understood by
|
||||
gtk_accelerator_parse().
|
||||
@tooltip: The tooltip for the action. This field should typically be marked
|
||||
|
@ -193,6 +193,14 @@ gtk_action_class_init (GtkActionClass *klass)
|
||||
NULL,
|
||||
GTK_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY));
|
||||
|
||||
/**
|
||||
* GtkAction:label:
|
||||
*
|
||||
* The label used for menu items and buttons that activate
|
||||
* this action. If the label is %NULL, GTK+ uses the stock
|
||||
* label specified via the stock-id property.
|
||||
*/
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_LABEL,
|
||||
g_param_spec_string ("label",
|
||||
|
Loading…
Reference in New Issue
Block a user