Package: gtk

Class gtk:toggle-action

Superclasses

gtk:action, gtk:buildable, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

Direct Slots

active
The active property of type :boolean (Read / Write)
Whether the toggle action should be active.
Default value: false
draw-as-radio
The draw-as-radio property of type :boolean (Read / Write)
Whether the proxies for this action look like radio action proxies.
Default value: false

Details

The gtk:toggle-action object corresponds roughly to a gtk:check-menu-item widget. It has an "active" state specifying whether the action has been checked or not.

Warning

The gtk:toggle-action class has been deprecated since version 3.10 and should not be used in newly written code.

Signal Details

The "toggled" signal
lambda (action)    :run-first      
action
The gtk:toggle-action object that received the signal.
Should be connected if you wish to perform an action whenever the toggle action state is changed.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2025-06-27