HeaderBarSignalName

public enum HeaderBarSignalName : String, SignalNameProtocol

Undocumented

  • Undocumented

    Declaration

    Swift

    case accelClosuresChanged = "accel-closures-changed"
  • add

    Undocumented

    Declaration

    Swift

    case add = "add"
  • The button-press-event signal will be emitted when a button (typically from a mouse) is pressed.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_BUTTON_PRESS_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case buttonPressEvent = "button-press-event"
  • The button-release-event signal will be emitted when a button (typically from a mouse) is released.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_BUTTON_RELEASE_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case buttonReleaseEvent = "button-release-event"
  • Determines whether an accelerator that activates the signal identified by signal_id can currently be activated. This signal is present to allow applications and derived widgets to override the default GtkWidget handling for determining whether an accelerator can be activated.

    Declaration

    Swift

    case canActivateAccel = "can-activate-accel"
  • Undocumented

    Declaration

    Swift

    case checkResize = "check-resize"
  • The child-notify signal is emitted for each child property that has changed on an object. The signal’s detail holds the property name.

    Declaration

    Swift

    case childNotify = "child-notify"
  • The composited-changed signal is emitted when the composited status of widgets screen changes. See gdk_screen_is_composited().

    composited-changed is deprecated: Use GdkScreen::composited-changed instead.

    Declaration

    Swift

    case compositedChanged = "composited-changed"
  • The configure-event signal will be emitted when the size, position or stacking of the widget‘s window has changed.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Declaration

    Swift

    case configureEvent = "configure-event"
  • Emitted when a redirected window belonging to widget gets drawn into. The region/area members of the event shows what area of the redirected drawable was drawn into.

    Declaration

    Swift

    case damageEvent = "damage-event"
  • The delete-event signal is emitted if a user requests that a toplevel window is closed. The default handler for this signal destroys the window. Connecting gtk_widget_hide_on_delete() to this signal will cause the window to be hidden instead, so that it can later be shown again without reconstructing it.

    Declaration

    Swift

    case deleteEvent = "delete-event"
  • Signals that all holders of a reference to the widget should release the reference that they hold. May result in finalization of the widget if all references are released.

    This signal is not suitable for saving widget state.

    Declaration

    Swift

    case destroy = "destroy"
  • The destroy-event signal is emitted when a GdkWindow is destroyed. You rarely get this signal, because most widgets disconnect themselves from their window before they destroy it, so no widget owns the window at destroy time.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Declaration

    Swift

    case destroyEvent = "destroy-event"
  • The direction-changed signal is emitted when the text direction of a widget changes.

    Declaration

    Swift

    case directionChanged = "direction-changed"
  • The drag-begin signal is emitted on the drag source when a drag is started. A typical reason to connect to this signal is to set up a custom drag icon with e.g. gtk_drag_source_set_icon_pixbuf().

    Note that some widgets set up a drag icon in the default handler of this signal, so you may have to use g_signal_connect_after() to override what the default handler did.

    Declaration

    Swift

    case dragBegin = "drag-begin"
  • The drag-data-delete signal is emitted on the drag source when a drag with the action GDK_ACTION_MOVE is successfully completed. The signal handler is responsible for deleting the data that has been dropped. What “delete” means depends on the context of the drag operation.

    Declaration

    Swift

    case dragDataDelete = "drag-data-delete"
  • The drag-data-get signal is emitted on the drag source when the drop site requests the data which is dragged. It is the responsibility of the signal handler to fill data with the data in the format which is indicated by info. See gtk_selection_data_set() and gtk_selection_data_set_text().

    Declaration

    Swift

    case dragDataGet = "drag-data-get"
  • The drag-data-received signal is emitted on the drop site when the dragged data has been received. If the data was received in order to determine whether the drop will be accepted, the handler is expected to call gdk_drag_status() and not finish the drag. If the data was received in response to a GtkWidget::drag-drop signal (and this is the last target to be received), the handler for this signal is expected to process the received data and then call gtk_drag_finish(), setting the success parameter depending on whether the data was processed successfully.

    Applications must create some means to determine why the signal was emitted and therefore whether to call gdk_drag_status() or gtk_drag_finish().

    The handler may inspect the selected action with gdk_drag_context_get_selected_action() before calling gtk_drag_finish(), e.g. to implement GDK_ACTION_ASK as shown in the following example: (C Language Example):

    void
    drag_data_received (GtkWidget          *widget,
                        GdkDragContext     *context,
                        gint                x,
                        gint                y,
                        GtkSelectionData   *data,
                        guint               info,
                        guint               time)
    {
      if ((data->length >= 0) && (data->format == 8))
        {
          GdkDragAction action;
    
          // handle data here
    
          action = gdk_drag_context_get_selected_action (context);
          if (action == GDK_ACTION_ASK)
            {
              GtkWidget *dialog;
              gint response;
    
              dialog = gtk_message_dialog_new (NULL,
                                               GTK_DIALOG_MODAL |
                                               GTK_DIALOG_DESTROY_WITH_PARENT,
                                               GTK_MESSAGE_INFO,
                                               GTK_BUTTONS_YES_NO,
                                               "Move the data ?\n");
              response = gtk_dialog_run (GTK_DIALOG (dialog));
              gtk_widget_destroy (dialog);
    
              if (response == GTK_RESPONSE_YES)
                action = GDK_ACTION_MOVE;
              else
                action = GDK_ACTION_COPY;
             }
    
          gtk_drag_finish (context, TRUE, action == GDK_ACTION_MOVE, time);
        }
      else
        gtk_drag_finish (context, FALSE, FALSE, time);
     }
    

    Declaration

    Swift

    case dragDataReceived = "drag-data-received"
  • The drag-drop signal is emitted on the drop site when the user drops the data onto the widget. The signal handler must determine whether the cursor position is in a drop zone or not. If it is not in a drop zone, it returns false and no further processing is necessary. Otherwise, the handler returns true. In this case, the handler must ensure that gtk_drag_finish() is called to let the source know that the drop is done. The call to gtk_drag_finish() can be done either directly or in a GtkWidget::drag-data-received handler which gets triggered by calling gtk_drag_get_data() to receive the data for one or more of the supported targets.

    Declaration

    Swift

    case dragDrop = "drag-drop"
  • The drag-end signal is emitted on the drag source when a drag is finished. A typical reason to connect to this signal is to undo things done in GtkWidget::drag-begin.

    Declaration

    Swift

    case dragEnd = "drag-end"
  • The drag-failed signal is emitted on the drag source when a drag has failed. The signal handler may hook custom code to handle a failed DnD operation based on the type of error, it returns true is the failure has been already handled (not showing the default “drag operation failed” animation), otherwise it returns false.

    Declaration

    Swift

    case dragFailed = "drag-failed"
  • The drag-leave signal is emitted on the drop site when the cursor leaves the widget. A typical reason to connect to this signal is to undo things done in GtkWidget::drag-motion, e.g. undo highlighting with gtk_drag_unhighlight().

    Likewise, the GtkWidget::drag-leave signal is also emitted before the drag-drop signal, for instance to allow cleaning up of a preview item created in the GtkWidget::drag-motion signal handler.

    Declaration

    Swift

    case dragLeave = "drag-leave"
  • The drag-motion signal is emitted on the drop site when the user moves the cursor over the widget during a drag. The signal handler must determine whether the cursor position is in a drop zone or not. If it is not in a drop zone, it returns false and no further processing is necessary. Otherwise, the handler returns true. In this case, the handler is responsible for providing the necessary information for displaying feedback to the user, by calling gdk_drag_status().

    If the decision whether the drop will be accepted or rejected can’t be made based solely on the cursor position and the type of the data, the handler may inspect the dragged data by calling gtk_drag_get_data() and defer the gdk_drag_status() call to the GtkWidget::drag-data-received handler. Note that you must pass GTK_DEST_DEFAULT_DROP, GTK_DEST_DEFAULT_MOTION or GTK_DEST_DEFAULT_ALL to gtk_drag_dest_set() when using the drag-motion signal that way.

    Also note that there is no drag-enter signal. The drag receiver has to keep track of whether he has received any drag-motion signals since the last GtkWidget::drag-leave and if not, treat the drag-motion signal as an “enter” signal. Upon an “enter”, the handler will typically highlight the drop site with gtk_drag_highlight(). (C Language Example):

    static void
    drag_motion (GtkWidget      *widget,
                 GdkDragContext *context,
                 gint            x,
                 gint            y,
                 guint           time)
    {
      GdkAtom target;
    
      PrivateData *private_data = GET_PRIVATE_DATA (widget);
    
      if (!private_data->drag_highlight)
       {
         private_data->drag_highlight = 1;
         gtk_drag_highlight (widget);
       }
    
      target = gtk_drag_dest_find_target (widget, context, NULL);
      if (target == GDK_NONE)
        gdk_drag_status (context, 0, time);
      else
       {
         private_data->pending_status
            = gdk_drag_context_get_suggested_action (context);
         gtk_drag_get_data (widget, context, target, time);
       }
    
      return TRUE;
    }
    
    static void
    drag_data_received (GtkWidget        *widget,
                        GdkDragContext   *context,
                        gint              x,
                        gint              y,
                        GtkSelectionData *selection_data,
                        guint             info,
                        guint             time)
    {
      PrivateData *private_data = GET_PRIVATE_DATA (widget);
    
      if (private_data->suggested_action)
       {
         private_data->suggested_action = 0;
    
         // We are getting this data due to a request in drag_motion,
         // rather than due to a request in drag_drop, so we are just
         // supposed to call gdk_drag_status(), not actually paste in
         // the data.
    
         str = gtk_selection_data_get_text (selection_data);
         if (!data_is_acceptable (str))
           gdk_drag_status (context, 0, time);
         else
           gdk_drag_status (context,
                            private_data->suggested_action,
                            time);
       }
      else
       {
         // accept the drop
       }
    }
    

    Declaration

    Swift

    case dragMotion = "drag-motion"
  • This signal is emitted when a widget is supposed to render itself. The widget‘s top left corner must be painted at the origin of the passed in context and be sized to the values returned by gtk_widget_get_allocated_width() and gtk_widget_get_allocated_height().

    Signal handlers connected to this signal can modify the cairo context passed as cr in any way they like and don’t need to restore it. The signal emission takes care of calling cairo_save() before and cairo_restore() after invoking the handler.

    The signal handler will get a cr with a clip region already set to the widget’s dirty region, i.e. to the area that needs repainting. Complicated widgets that want to avoid redrawing themselves completely can get the full extents of the clip region with gdk_cairo_get_clip_rectangle(), or they can get a finer-grained representation of the dirty region with cairo_copy_clip_rectangle_list().

    Declaration

    Swift

    case draw = "draw"
  • The enter-notify-event will be emitted when the pointer enters the widget‘s window.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_ENTER_NOTIFY_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case enterNotifyEvent = "enter-notify-event"
  • The GTK+ main loop will emit three signals for each GDK event delivered to a widget: one generic event signal, another, more specific, signal that matches the type of event delivered (e.g. GtkWidget::key-press-event) and finally a generic GtkWidget::event-after signal.

    Declaration

    Swift

    case event = "event"
  • After the emission of the GtkWidget::event signal and (optionally) the second more specific signal, event-after will be emitted regardless of the previous two signals handlers return values.

    Declaration

    Swift

    case eventAfter = "event-after"
  • Undocumented

    Declaration

    Swift

    case focus = "focus"
  • The focus-in-event signal will be emitted when the keyboard focus enters the widget‘s window.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_FOCUS_CHANGE_MASK mask.

    Declaration

    Swift

    case focusInEvent = "focus-in-event"
  • The focus-out-event signal will be emitted when the keyboard focus leaves the widget‘s window.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_FOCUS_CHANGE_MASK mask.

    Declaration

    Swift

    case focusOutEvent = "focus-out-event"
  • Emitted when a pointer or keyboard grab on a window belonging to widget gets broken.

    On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again.

    Declaration

    Swift

    case grabBrokenEvent = "grab-broken-event"
  • Undocumented

    Declaration

    Swift

    case grabFocus = "grab-focus"
  • The grab-notify signal is emitted when a widget becomes shadowed by a GTK+ grab (not a pointer or keyboard grab) on another widget, or when it becomes unshadowed due to a grab being removed.

    A widget is shadowed by a gtk_grab_add() when the topmost grab widget in the grab stack of its window group is not its ancestor.

    Declaration

    Swift

    case grabNotify = "grab-notify"
  • The hide signal is emitted when widget is hidden, for example with gtk_widget_hide().

    Declaration

    Swift

    case hide = "hide"
  • The hierarchy-changed signal is emitted when the anchored state of a widget changes. A widget is “anchored” when its toplevel ancestor is a GtkWindow. This signal is emitted when a widget changes from un-anchored to anchored or vice-versa.

    Declaration

    Swift

    case hierarchyChanged = "hierarchy-changed"
  • The key-press-event signal is emitted when a key is pressed. The signal emission will reoccur at the key-repeat rate when the key is kept pressed.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_KEY_PRESS_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case keyPressEvent = "key-press-event"
  • The key-release-event signal is emitted when a key is released.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_KEY_RELEASE_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case keyReleaseEvent = "key-release-event"
  • Gets emitted if keyboard navigation fails. See gtk_widget_keynav_failed() for details.

    Declaration

    Swift

    case keynavFailed = "keynav-failed"
  • The leave-notify-event will be emitted when the pointer leaves the widget‘s window.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_LEAVE_NOTIFY_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case leaveNotifyEvent = "leave-notify-event"
  • map

    The map signal is emitted when widget is going to be mapped, that is when the widget is visible (which is controlled with gtk_widget_set_visible()) and all its parents up to the toplevel widget are also visible. Once the map has occurred, GtkWidget::map-event will be emitted.

    The map signal can be used to determine whether a widget will be drawn, for instance it can resume an animation that was stopped during the emission of GtkWidget::unmap.

    Declaration

    Swift

    case map = "map"
  • The map-event signal will be emitted when the widget‘s window is mapped. A window is mapped when it becomes visible on the screen.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Declaration

    Swift

    case mapEvent = "map-event"
  • The default handler for this signal activates widget if group_cycling is false, or just makes widget grab focus if group_cycling is true.

    Declaration

    Swift

    case mnemonicActivate = "mnemonic-activate"
  • The motion-notify-event signal is emitted when the pointer moves over the widget’s GdkWindow.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_POINTER_MOTION_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case motionNotifyEvent = "motion-notify-event"
  • Undocumented

    Declaration

    Swift

    case moveFocus = "move-focus"
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Declaration

    Swift

    case notify = "notify"
  • The parent-set signal is emitted when a new parent has been set on a widget.

    Declaration

    Swift

    case parentSet = "parent-set"
  • This signal gets emitted whenever a widget should pop up a context menu. This usually happens through the standard key binding mechanism; by pressing a certain key while a widget is focused, the user can cause the widget to pop up a menu. For example, the GtkEntry widget creates a menu with clipboard commands. See the Popup Menu Migration Checklist for an example of how to use this signal.

    Declaration

    Swift

    case popupMenu = "popup-menu"
  • The property-notify-event signal will be emitted when a property on the widget‘s window has been changed or deleted.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_PROPERTY_CHANGE_MASK mask.

    Declaration

    Swift

    case propertyNotifyEvent = "property-notify-event"
  • To receive this signal the GdkWindow associated to the widget needs to enable the GDK_PROXIMITY_IN_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case proximityInEvent = "proximity-in-event"
  • To receive this signal the GdkWindow associated to the widget needs to enable the GDK_PROXIMITY_OUT_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case proximityOutEvent = "proximity-out-event"
  • Emitted when GtkWidget:has-tooltip is true and the hover timeout has expired with the cursor hovering “above” widget; or emitted when widget got focus in keyboard mode.

    Using the given coordinates, the signal handler should determine whether a tooltip should be shown for widget. If this is the case true should be returned, false otherwise. Note that if keyboard_mode is true, the values of x and y are undefined and should not be used.

    The signal handler is free to manipulate tooltip with the therefore destined function calls.

    Declaration

    Swift

    case queryTooltip = "query-tooltip"
  • The realize signal is emitted when widget is associated with a GdkWindow, which means that gtk_widget_realize() has been called or the widget has been mapped (that is, it is going to be drawn).

    Declaration

    Swift

    case realize = "realize"
  • Undocumented

    Declaration

    Swift

    case remove = "remove"
  • The screen-changed signal gets emitted when the screen of a widget has changed.

    Declaration

    Swift

    case screenChanged = "screen-changed"
  • The scroll-event signal is emitted when a button in the 4 to 7 range is pressed. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_SCROLL_MASK mask.

    This signal will be sent to the grab widget if there is one.

    Declaration

    Swift

    case scrollEvent = "scroll-event"
  • The selection-clear-event signal will be emitted when the the widget‘s window has lost ownership of a selection.

    Declaration

    Swift

    case selectionClearEvent = "selection-clear-event"
  • Undocumented

    Declaration

    Swift

    case selectionGet = "selection-get"
  • Undocumented

    Declaration

    Swift

    case selectionNotifyEvent = "selection-notify-event"
  • Undocumented

    Declaration

    Swift

    case selectionReceived = "selection-received"
  • The selection-request-event signal will be emitted when another client requests ownership of the selection owned by the widget‘s window.

    Declaration

    Swift

    case selectionRequestEvent = "selection-request-event"
  • Undocumented

    Declaration

    Swift

    case setFocusChild = "set-focus-child"
  • The show signal is emitted when widget is shown, for example with gtk_widget_show().

    Declaration

    Swift

    case show = "show"
  • Undocumented

    Declaration

    Swift

    case showHelp = "show-help"
  • Undocumented

    Declaration

    Swift

    case sizeAllocate = "size-allocate"
  • The state-changed signal is emitted when the widget state changes. See gtk_widget_get_state().

    state-changed is deprecated: Use #GtkWidget::state-flags-changed instead.

    Declaration

    Swift

    case stateChanged = "state-changed"
  • The state-flags-changed signal is emitted when the widget state changes, see gtk_widget_get_state_flags().

    Declaration

    Swift

    case stateFlagsChanged = "state-flags-changed"
  • The style-set signal is emitted when a new style has been set on a widget. Note that style-modifying functions like gtk_widget_modify_base() also cause this signal to be emitted.

    Note that this signal is emitted for changes to the deprecated GtkStyle. To track changes to the GtkStyleContext associated with a widget, use the GtkWidget::style-updated signal.

    style-set is deprecated: Use the #GtkWidget::style-updated signal

    Declaration

    Swift

    case styleSet = "style-set"
  • The style-updated signal is a convenience signal that is emitted when the GtkStyleContext::changed signal is emitted on the widget‘s associated GtkStyleContext as returned by gtk_widget_get_style_context().

    Note that style-modifying functions like gtk_widget_override_color() also cause this signal to be emitted.

    Declaration

    Swift

    case styleUpdated = "style-updated"
  • Undocumented

    Declaration

    Swift

    case touchEvent = "touch-event"
  • The unmap signal is emitted when widget is going to be unmapped, which means that either it or any of its parents up to the toplevel widget have been set as hidden.

    As unmap indicates that a widget will not be shown any longer, it can be used to, for example, stop an animation on the widget.

    Declaration

    Swift

    case unmap = "unmap"
  • The unmap-event signal will be emitted when the widget‘s window is unmapped. A window is unmapped when it becomes invisible on the screen.

    To receive this signal, the GdkWindow associated to the widget needs to enable the GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Declaration

    Swift

    case unmapEvent = "unmap-event"
  • The unrealize signal is emitted when the GdkWindow associated with widget is destroyed, which means that gtk_widget_unrealize() has been called or the widget has been unmapped (that is, it is going to be hidden).

    Declaration

    Swift

    case unrealize = "unrealize"
  • The visibility-notify-event will be emitted when the widget‘s window is obscured or unobscured.

    To receive this signal the GdkWindow associated to the widget needs to enable the GDK_VISIBILITY_NOTIFY_MASK mask.

    visibility-notify-event is deprecated: Modern composited windowing systems with pervasive transparency make it impossible to track the visibility of a window reliably, so this signal can not be guaranteed to provide useful information.

    Declaration

    Swift

    case visibilityNotifyEvent = "visibility-notify-event"
  • The window-state-event will be emitted when the state of the toplevel window associated to the widget changes.

    To receive this signal the GdkWindow associated to the widget needs to enable the GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

    Declaration

    Swift

    case windowStateEvent = "window-state-event"
  • Undocumented

    Declaration

    Swift

    case notifyAppPaintable = "notify::app-paintable"
  • Undocumented

    Declaration

    Swift

    case notifyBorderWidth = "notify::border-width"
  • Undocumented

    Declaration

    Swift

    case notifyCanDefault = "notify::can-default"
  • Undocumented

    Declaration

    Swift

    case notifyCanFocus = "notify::can-focus"
  • Undocumented

    Declaration

    Swift

    case notifyChild = "notify::child"
  • Undocumented

    Declaration

    Swift

    case notifyCompositeChild = "notify::composite-child"
  • Undocumented

    Declaration

    Swift

    case notifyCustomTitle = "notify::custom-title"
  • The decoration layout for buttons. If this property is not set, the GtkSettings:gtk-decoration-layout setting is used.

    See gtk_header_bar_set_decoration_layout() for information about the format of this string.

    Declaration

    Swift

    case notifyDecorationLayout = "notify::decoration-layout"
  • Set to true if GtkHeaderBar:decoration-layout is set.

    Declaration

    Swift

    case notifyDecorationLayoutSet = "notify::decoration-layout-set"
  • Whether the widget is double buffered.

    double-buffered is deprecated: Widgets should not use this property.

    Declaration

    Swift

    case notifyDoubleBuffered = "notify::double-buffered"
  • Undocumented

    Declaration

    Swift

    case notifyEvents = "notify::events"
  • Whether to expand in both directions. Setting this sets both GtkWidget:hexpand and GtkWidget:vexpand

    Declaration

    Swift

    case notifyExpand = "notify::expand"
  • Whether the widget should grab focus when it is clicked with the mouse.

    This property is only relevant for widgets that can take focus.

    Before 3.20, several widgets (GtkButton, GtkFileChooserButton, GtkComboBox) implemented this property individually.

    Declaration

    Swift

    case notifyFocusOnClick = "notify::focus-on-click"
  • How to distribute horizontal space if widget gets extra space, see GtkAlign

    Declaration

    Swift

    case notifyHalign = "notify::halign"
  • Undocumented

    Declaration

    Swift

    case notifyHasDefault = "notify::has-default"
  • Undocumented

    Declaration

    Swift

    case notifyHasFocus = "notify::has-focus"
  • If true, reserve space for a subtitle, even if none is currently set.

    Declaration

    Swift

    case notifyHasSubtitle = "notify::has-subtitle"
  • Enables or disables the emission of GtkWidget::query-tooltip on widget. A value of true indicates that widget can have a tooltip, in this case the widget will be queried using GtkWidget::query-tooltip to determine whether it will provide a tooltip or not.

    Note that setting this property to true for the first time will change the event masks of the GdkWindows of this widget to include leave-notify and motion-notify events. This cannot and will not be undone when the property is set to false again.

    Declaration

    Swift

    case notifyHasTooltip = "notify::has-tooltip"
  • Undocumented

    Declaration

    Swift

    case notifyHeightRequest = "notify::height-request"
  • Whether to expand horizontally. See gtk_widget_set_hexpand().

    Declaration

    Swift

    case notifyHexpand = "notify::hexpand"
  • Whether to use the GtkWidget:hexpand property. See gtk_widget_get_hexpand_set().

    Declaration

    Swift

    case notifyHexpandSet = "notify::hexpand-set"
  • Undocumented

    Declaration

    Swift

    case notifyIsFocus = "notify::is-focus"
  • Sets all four sides’ margin at once. If read, returns max margin on any side.

    Declaration

    Swift

    case notifyMargin = "notify::margin"
  • Margin on bottom side of widget.

    This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

    Declaration

    Swift

    case notifyMarginBottom = "notify::margin-bottom"
  • Margin on end of widget, horizontally. This property supports left-to-right and right-to-left text directions.

    This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

    Declaration

    Swift

    case notifyMarginEnd = "notify::margin-end"
  • Margin on left side of widget.

    This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

    margin-left is deprecated: Use #GtkWidget:margin-start instead.

    Declaration

    Swift

    case notifyMarginLeft = "notify::margin-left"
  • Margin on right side of widget.

    This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

    margin-right is deprecated: Use #GtkWidget:margin-end instead.

    Declaration

    Swift

    case notifyMarginRight = "notify::margin-right"
  • Margin on start of widget, horizontally. This property supports left-to-right and right-to-left text directions.

    This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

    Declaration

    Swift

    case notifyMarginStart = "notify::margin-start"
  • Margin on top side of widget.

    This property adds margin outside of the widget’s normal size request, the margin will be added in addition to the size from gtk_widget_set_size_request() for example.

    Declaration

    Swift

    case notifyMarginTop = "notify::margin-top"
  • Undocumented

    Declaration

    Swift

    case notifyName = "notify::name"
  • Undocumented

    Declaration

    Swift

    case notifyNoShowAll = "notify::no-show-all"
  • The requested opacity of the widget. See gtk_widget_set_opacity() for more details about window opacity.

    Before 3.8 this was only available in GtkWindow

    Declaration

    Swift

    case notifyOpacity = "notify::opacity"
  • Undocumented

    Declaration

    Swift

    case notifyParent = "notify::parent"
  • Undocumented

    Declaration

    Swift

    case notifyReceivesDefault = "notify::receives-default"
  • Undocumented

    Declaration

    Swift

    case notifyResizeMode = "notify::resize-mode"
  • The scale factor of the widget. See gtk_widget_get_scale_factor() for more details about widget scaling.

    Declaration

    Swift

    case notifyScaleFactor = "notify::scale-factor"
  • Undocumented

    Declaration

    Swift

    case notifySensitive = "notify::sensitive"
  • Whether to show window decorations.

    Which buttons are actually shown and where is determined by the GtkHeaderBar:decoration-layout property, and by the state of the window (e.g. a close button will not be shown if the window can’t be closed).

    Declaration

    Swift

    case notifyShowCloseButton = "notify::show-close-button"
  • Undocumented

    Declaration

    Swift

    case notifySpacing = "notify::spacing"
  • The style of the widget, which contains information about how it will look (colors, etc).

    style is deprecated: Use #GtkStyleContext instead

    Declaration

    Swift

    case notifyStyle = "notify::style"
  • Undocumented

    Declaration

    Swift

    case notifySubtitle = "notify::subtitle"
  • Undocumented

    Declaration

    Swift

    case notifyTitle = "notify::title"
  • Sets the text of tooltip to be the given string, which is marked up with the Pango text markup language. Also see gtk_tooltip_set_markup().

    This is a convenience property which will take care of getting the tooltip shown if the given string is not nil: GtkWidget:has-tooltip will automatically be set to true and there will be taken care of GtkWidget::query-tooltip in the default signal handler.

    Note that if both GtkWidget:tooltip-text and GtkWidget:tooltip-markup are set, the last one wins.

    Declaration

    Swift

    case notifyTooltipMarkup = "notify::tooltip-markup"
  • Sets the text of tooltip to be the given string.

    Also see gtk_tooltip_set_text().

    This is a convenience property which will take care of getting the tooltip shown if the given string is not nil: GtkWidget:has-tooltip will automatically be set to true and there will be taken care of GtkWidget::query-tooltip in the default signal handler.

    Note that if both GtkWidget:tooltip-text and GtkWidget:tooltip-markup are set, the last one wins.

    Declaration

    Swift

    case notifyTooltipText = "notify::tooltip-text"
  • How to distribute vertical space if widget gets extra space, see GtkAlign

    Declaration

    Swift

    case notifyValign = "notify::valign"
  • Whether to expand vertically. See gtk_widget_set_vexpand().

    Declaration

    Swift

    case notifyVexpand = "notify::vexpand"
  • Whether to use the GtkWidget:vexpand property. See gtk_widget_get_vexpand_set().

    Declaration

    Swift

    case notifyVexpandSet = "notify::vexpand-set"
  • Undocumented

    Declaration

    Swift

    case notifyVisible = "notify::visible"
  • Undocumented

    Declaration

    Swift

    case notifyWidthRequest = "notify::width-request"
  • The widget’s window if it is realized, nil otherwise.

    Declaration

    Swift

    case notifyWindow = "notify::window"