Package: gtk
Function gtk-actionable-set-detailed-action-name
Lambda Listgtk-actionable-set-detailed-action-name (actionable name) ArgumentsDetails
Sets the action name and associated string target value of an actionable
widget. This allows for the effect of both the gtk-actionable-action-name and gtk-actionable-action-target functions in the common case that the
target is string-valued. The name argument is a string of the form "action::target" where "action" is the action name and "target" is the string to use as the target. Example
(setq button (make-instance 'gtk-button))
=> #<GTK-BUTTON {1004A8C973}>
(gtk-actionable-set-detailed-action-name button "win.justify::left")
(values (gtk-actionable-action-name button)
(g-variant-string (gtk-actionable-action-target button)))
=> "win.justify"
=> "left" | See also |
*2021-10-31