Package: gobject
Class gobject:object
Superclassescommon-lisp:standard-object, common-lisp:t Documented Subclassesgdk-pixbuf:pixbuf, gdk-pixbuf:pixbuf-animation, gdk-pixbuf:pixbuf-animation-iter, gdk-pixbuf:pixbuf-loader, gdk:cursor, gdk:device, gdk:device-manager, gdk:device-pad, gdk:device-tool, gdk:display, gdk:display-manager, gdk:drag-context, gdk:drawing-context, gdk:frame-clock, gdk:gl-context, gdk:keymap, gdk:monitor, gdk:screen, gdk:seat, gdk:visual, gdk:window, gio:action, gio:action-group, gio:action-map, gio:app-info, gio:app-launch-context, gio:application-command-line, gio:async-result, gio:cancellable, gio:file, gio:file-info, gio:icon, gio:list-model, gio:loadable-icon, gio:menu-attribute-iter, gio:menu-item, gio:menu-link-iter, gio:menu-model, gio:notification, gio:permission, gio:settings, gobject:binding, gtk:accel-group, gtk:accel-map, gtk:actionable, gtk:activatable, gtk:app-chooser, gtk:buildable, gtk:builder, gtk:cell-area-context, gtk:cell-editable, gtk:cell-layout, gtk:clipboard, gtk:color-chooser, gtk:editable, gtk:entry-buffer, gtk:event-controller, gtk:file-chooser, gtk:font-chooser, gtk:icon-theme, gtk:im-context, gtk:native-dialog, gtk:orientable, gtk:page-setup, gtk:print-backend, gtk:print-context, gtk:print-job, gtk:print-operation-preview, gtk:print-settings, gtk:printer, gtk:recent-chooser, gtk:recent-manager, gtk:scrollable, gtk:settings, gtk:status-icon, gtk:style-context, gtk:style-provider, gtk:text-buffer, gtk:text-child-anchor, gtk:text-mark, gtk:text-tag, gtk:text-tag-table, gtk:tool-shell, gtk:tooltip, gtk:tree-drag-dest, gtk:tree-drag-source, gtk:tree-model, gtk:tree-selection, gtk:tree-sortable, gtk:window-group, pango:cairo-font, pango:cairo-font-map, pango:context, pango:coverage, pango:font, pango:font-face, pango:font-map, pango:fontset, pango:layout, pango:renderer Direct SlotsDetails The g:object class is the fundamental type providing the common
attributes and methods for all object types in GTK, Pango and other
libraries. The g:object class provides methods for object construction and
destruction, property access methods, and signal support. Lisp ImplementationSignal DetailsThe "notify" signallambda (object pspec) :no-hooks
(g:signal-connect switch "notify::active" (lambda (widget pspec) (declare (ignore pspec)) (if (gtk:switch-active widget) (setf (gtk:label-label label) "The Switch is ON") (setf (gtk:label-label label) "The Switch is OFF"))))It is important to note that you must use canonical parameter names as detail strings for the notify signal. | Returned bySlot Access FunctionsSee also |
2024-12-14