diff options
Diffstat (limited to 'gtk/gtkactionmuxer.c')
-rw-r--r-- | gtk/gtkactionmuxer.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/gtk/gtkactionmuxer.c b/gtk/gtkactionmuxer.c index dc4eb5689b..d57e315daf 100644 --- a/gtk/gtkactionmuxer.c +++ b/gtk/gtkactionmuxer.c @@ -108,21 +108,21 @@ gtk_accels_remove (GtkAccels *accels, * * GtkActionMuxer aggregates and monitors actions from multiple sources. * - * #GtkActionMuxer is #GtkActionObservable and #GtkActionObserver that - * offers a #GActionGroup-like api and is capable of containing other - * #GActionGroup instances. #GtkActionMuxer does not implement the - * #GActionGroup interface because it requires excessive signal emissions - * and has poor scalability. We use the #GtkActionObserver machinery + * `GtkActionMuxer` is `GtkActionObservable` and `GtkActionObserver` that + * offers a `GActionGroup`-like api and is capable of containing other + * `GActionGroup` instances. `GtkActionMuxer` does not implement the + * `GActionGroup` interface because it requires excessive signal emissions + * and has poor scalability. We use the `GtkActionObserver` machinery * instead to propagate changes between action muxer instances and * to other users. * - * Beyond action groups, #GtkActionMuxer can incorporate actions that + * Beyond action groups, `GtkActionMuxer` can incorporate actions that * are associated with widget classes (*class actions*) and actions * that are associated with the parent widget, allowing for recursive * lookup. * - * In addition to the action attributes provided by #GActionGroup, - * #GtkActionMuxer maintains a *primary accelerator* string for + * In addition to the action attributes provided by `GActionGroup`, + * `GtkActionMuxer` maintains a *primary accelerator* string for * actions that can be shown in menuitems. * * The typical use is aggregating all of the actions applicable to a @@ -134,11 +134,11 @@ gtk_accels_remove (GtkAccels *accels, * application (such as “fullscreen”). * * In this case, each of these action groups could be added to a - * #GtkActionMuxer with the prefixes “app” and “win”, respectively. + * `GtkActionMuxer` with the prefixes “app” and “win”, respectively. * This would expose the actions as “app.quit” and “win.fullscreen” - * on the #GActionGroup-like interface presented by the #GtkActionMuxer. + * on the `GActionGroup`-like interface presented by the `GtkActionMuxer`. * - * Activations and state change requests on the #GtkActionMuxer are + * Activations and state change requests on the `GtkActionMuxer` are * wired through to the underlying actions in the expected way. * * This class is typically only used at the site of “consumption” of @@ -1223,9 +1223,9 @@ gtk_action_muxer_class_init (GObjectClass *class) /*< private > * gtk_action_muxer_insert: - * @muxer: a #GtkActionMuxer + * @muxer: a `GtkActionMuxer` * @prefix: the prefix string for the action group - * @action_group: a #GActionGroup + * @action_group: a `GActionGroup` * * Adds the actions in @action_group to the list of actions provided by * @muxer. @prefix is prefixed to each action name, such that for each @@ -1236,7 +1236,7 @@ gtk_action_muxer_class_init (GObjectClass *class) * contains an action called “`quit`”, then @muxer will * now contain an action called “`app.quit`”. * - * If any #GtkActionObservers are registered for actions in the group, + * If any `GtkActionObserver`s are registered for actions in the group, * “action_added” notifications will be emitted, as appropriate. * * @prefix must not contain a dot ('.'). @@ -1280,12 +1280,12 @@ gtk_action_muxer_insert (GtkActionMuxer *muxer, /*< private > * gtk_action_muxer_remove: - * @muxer: a #GtkActionMuxer + * @muxer: a `GtkActionMuxer` * @prefix: the prefix of the action group to remove * - * Removes a #GActionGroup from the #GtkActionMuxer. + * Removes a `GActionGroup` from the `GtkActionMuxer`. * - * If any #GtkActionObservers are registered for actions in the group, + * If any `GtkActionObserver`s are registered for actions in the group, * “action_removed” notifications will be emitted, as appropriate. */ void @@ -1319,7 +1319,7 @@ gtk_action_muxer_remove (GtkActionMuxer *muxer, * gtk_action_muxer_new: * @widget: the widget to which the muxer belongs * - * Creates a new #GtkActionMuxer. + * Creates a new `GtkActionMuxer`. */ GtkActionMuxer * gtk_action_muxer_new (GtkWidget *widget) @@ -1331,7 +1331,7 @@ gtk_action_muxer_new (GtkWidget *widget) /*< private > * gtk_action_muxer_get_parent: - * @muxer: a #GtkActionMuxer + * @muxer: a `GtkActionMuxer` * * Returns: (transfer none): the parent of @muxer, or NULL. */ @@ -1345,8 +1345,8 @@ gtk_action_muxer_get_parent (GtkActionMuxer *muxer) /*< private > * gtk_action_muxer_set_parent: - * @muxer: a #GtkActionMuxer - * @parent: (nullable): the new parent #GtkActionMuxer + * @muxer: a `GtkActionMuxer` + * @parent: (nullable): the new parent `GtkActionMuxer` * * Sets the parent of @muxer to @parent. */ |