Commit c5369356 authored by Timm Bäder's avatar Timm Bäder

Various documentation fixes

Always have Since: annotations at the very bottom, use the correct
ClassName::signal-name/ClassName:property-name syntax, fix a few typos
in type names, wrong function names, non-existing type names, etc.
parent 76fedc18
......@@ -69,11 +69,11 @@
* To change the text which is shown in the preview area, use
* gtk_font_chooser_set_preview_text().
*
* Since: 3.2
*
* # CSS nodes
*
* GtkFontChooserWidget has a single CSS node with name fontchooser.
*
* Since: 3.2
*/
......
......@@ -54,8 +54,8 @@
* target widget, and gestures that are attached to containers above the widget
* get a chance to interact with the event before it reaches the target.
*
* After the capture phase, GTK+ emits the traditional #GtkWidget::button-press,
* #GtkWidget::button-release, #GtkWidget::touch-event, etc signals. Gestures
* After the capture phase, GTK+ emits the traditional #GtkWidget::button-press-event,
* #GtkWidget::button-release-event, #GtkWidget::touch-event, etc signals. Gestures
* with the %GTK_PHASE_TARGET phase are fed events from the default #GtkWidget::event
* handlers.
*
......
......@@ -25,8 +25,8 @@
*
* #GtkGestureDrag is a #GtkGesture implementation that recognizes drag
* operations. The drag operation itself can be tracked throught the
* #GtkGestureDrag:drag-begin, #GtkGestureDrag:drag-update and
* #GtkGestureDrag:drag-end signals, or the relevant coordinates be
* #GtkGestureDrag::drag-begin, #GtkGestureDrag::drag-update and
* #GtkGestureDrag::drag-end signals, or the relevant coordinates be
* extracted through gtk_gesture_drag_get_offset() and
* gtk_gesture_drag_get_start_point().
*/
......
......@@ -309,7 +309,7 @@ gtk_gesture_long_press_class_init (GtkGestureLongPressClass *klass)
* @gesture: the object which received the signal
*
* This signal is emitted whenever a press moved too far, or was released
* before #GtkGestureLongPress:pressed happened.
* before #GtkGestureLongPress::pressed happened.
*
* Since: 3.14
*/
......
......@@ -208,7 +208,7 @@
*
* gtk_label_set_justify() sets how the lines in a label align
* with one another. If you want to set how the label as a whole
* aligns in its available space, see the #GtkWidget::halign and
* aligns in its available space, see the #GtkWidget:halign and
* #GtkWidget:valign properties.
*
* The #GtkLabel:width-chars and #GtkLabel:max-width-chars properties
......
......@@ -3592,7 +3592,7 @@ gtk_list_box_row_get_activatable (GtkListBoxRow *row)
/**
* gtk_list_box_row_set_selectable:
* @row: a #GTkListBoxrow
* @row: a #GtkListBoxRow
* @selectable: %TRUE to mark the row as selectable
*
* Set the #GtkListBoxRow:selectable property for this row.
......
......@@ -142,7 +142,7 @@
* ╰── check
* ]|
*
* Iconic model buttons (see #GtkModelButton::iconic) change the name of
* Iconic model buttons (see #GtkModelButton:iconic) change the name of
* their main node to button and add a .model style class to it. The indicator
* subnode is invisible in this case.
*/
......
......@@ -130,7 +130,7 @@
* name arrow are placed as first and last child of the tabs node.
*
* The main node gets the .frame style class when the notebook
* has a border (see gtk_notebook_set_has_border()).
* has a border (see gtk_notebook_set_show_border()).
*
* The header node gets one of the style class .top, .bottom,
* .left or .right, depending on where the tabs are placed. For
......
......@@ -464,7 +464,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
* GtkShortcutsShortcut:accelerator:
*
* The accelerator(s) represented by this object. This property is used
* if #GtkShorcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_ACCELERATOR.
* if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_ACCELERATOR.
*
* The syntax of this property is (an extension of) the syntax understood by
* gtk_accelerator_parse(). Multiple accelerators can be specified by separating
......
......@@ -45,7 +45,7 @@
* The recommended way to construct a GtkShortcutsWindow is with GtkBuilder,
* by populating a #GtkShortcutsWindow with one or more #GtkShortcutsSection
* objects, which contain #GtkShortcutsGroups that in turn contain objects of
* class #GtkShortcutsShortcut or #GtkShortcutsGesture.
* class #GtkShortcutsShortcut.
*
* # A simple example:
*
......
......@@ -84,7 +84,7 @@
* properties. Note that GtkSpinButton will by default make its entry
* large enough to accomodate the lower and upper bounds of the adjustment,
* which can lead to surprising results. Best practice is to set both
* the #GtkEntry::width-chars and #GtkEntry::max-width-chars poperties
* the #GtkEntry:width-chars and #GtkEntry:max-width-chars poperties
* to the desired number of characters to display in the entry.
*
* # CSS nodes
......
......@@ -1690,7 +1690,7 @@ gtk_stack_get_transition_running (GtkStack *stack)
* @interpolate_size: the new value
*
* Sets whether or not @stack will interpolate its size when
* changing the visible child. If the #GtkStack::interpolate-size
* changing the visible child. If the #GtkStack:interpolate-size
* property is set to %TRUE, @stack will interpolate its size between
* the current one and the one it'll take after changing the
* visible child, according to the set transition duration.
......
......@@ -2568,7 +2568,7 @@ gtk_style_context_get_background_color (GtkStyleContext *context,
*
* Since: 3.0
*
* Deprecated: 3.16: Use gtk_render_border() instead.
* Deprecated: 3.16: Use gtk_render_frame() instead.
**/
void
gtk_style_context_get_border_color (GtkStyleContext *context,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment