ComboBoxProtocol
public protocol ComboBoxProtocol : BinProtocol, CellEditableProtocol, CellLayoutProtocol
A GtkComboBox is a widget that allows the user to choose from a list of valid choices. The GtkComboBox displays the selected choice. When activated, the GtkComboBox displays a popup which allows the user to make a new choice. The style in which the selected value is displayed, and the style of the popup is determined by the current theme. It may be similar to a Windows-style combo box.
The GtkComboBox uses the model-view pattern; the list of valid choices
is specified in the form of a tree model, and the display of the choices
can be adapted to the data in the model by using cell renderers, as you
would in a tree view. This is possible since GtkComboBox implements the
GtkCellLayout interface. The tree model holding the valid choices is
not restricted to a flat list, it can be a real tree, and the popup will
reflect the tree structure.
To allow the user to enter values not in the model, the “has-entry”
property allows the GtkComboBox to contain a GtkEntry. This entry
can be accessed by calling gtk_bin_get_child() on the combo box.
For a simple list of textual choices, the model-view API of GtkComboBox
can be a bit overwhelming. In this case, GtkComboBoxText offers a
simple alternative. Both GtkComboBox and GtkComboBoxText can contain
an entry.
CSS nodes
(plain Language Example):
combobox
├── box.linked
│ ╰── button.combo
│ ╰── box
│ ├── cellview
│ ╰── arrow
╰── window.popup
A normal combobox contains a box with the .linked class, a button with the .combo class and inside those buttons, there are a cellview and an arrow.
(plain Language Example):
combobox
├── box.linked
│ ├── entry.combo
│ ╰── button.combo
│ ╰── box
│ ╰── arrow
╰── window.popup
A GtkComboBox with an entry has a single CSS node with name combobox. It contains a box with the .linked class. That box contains an entry and a button, both with the .combo class added. The button also contains another node with name arrow.
The ComboBoxProtocol protocol exposes the methods and properties of an underlying GtkComboBox instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see ComboBox.
Alternatively, use ComboBoxRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkComboBoxinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
combo_box_ptrDefault implementationTyped pointer to the underlying
GtkComboBoxinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkComboBoxinstance.Declaration
Swift
var combo_box_ptr: UnsafeMutablePointer<GtkComboBox>! { get } -
Required Initialiser for types conforming to
ComboBoxProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
bind(property:Extension methodto: _: flags: transformFrom: transformTo: ) Bind a
ComboBoxPropertyNamesource property to a given target object.Declaration
Swift
@discardableResult @inlinable func bind<Q, T>(property source_property: ComboBoxPropertyName, to target: T, _ target_property: Q, flags f: BindingFlags = .default, transformFrom transform_from: @escaping GLibObject.ValueTransformer = { $0.transform(destValue: $1) }, transformTo transform_to: @escaping GLibObject.ValueTransformer = { $0.transform(destValue: $1) }) -> BindingRef! where Q : PropertyNameProtocol, T : ObjectProtocolParameters
source_propertythe source property to bind
targetthe target object to bind to
target_propertythe target property to bind to
flagsthe flags to pass to the
Bindingtransform_fromValueTransformerto use for forward transformationtransform_toValueTransformerto use for backwards transformationReturn Value
binding reference or
nilin case of an error -
get(property:Extension method) Get the value of a ComboBox property
Declaration
Swift
@inlinable func get(property: ComboBoxPropertyName) -> GLibObject.ValueParameters
propertythe property to get the value for
Return Value
the value of the named property
-
set(property:Extension methodvalue: ) Set the value of a ComboBox property. Note that this will only have an effect on properties that are writable and not construct-only!
Declaration
Swift
@inlinable func set(property: ComboBoxPropertyName, value v: GLibObject.Value)Parameters
propertythe property to get the value for
Return Value
the value of the named property
-
connect(signal:Extension methodflags: handler: ) Connect a Swift signal handler to the given, typed
ComboBoxSignalNamesignalDeclaration
Swift
@discardableResult @inlinable func connect(signal s: ComboBoxSignalName, flags f: ConnectFlags = ConnectFlags(0), handler h: @escaping SignalHandler) -> IntParameters
signalThe signal to connect
flagsThe connection flags to use
dataA pointer to user data to provide to the callback
destroyDataA
GClosureNotifyC function to destroy the data pointed to byuserDatahandlerThe Swift signal handler (function or callback) to invoke on the given signal
Return Value
The signal handler ID (always greater than 0 for successful connections)
-
connect(signal:Extension methodflags: data: destroyData: signalHandler: ) Connect a C signal handler to the given, typed
ComboBoxSignalNamesignalDeclaration
Swift
@discardableResult @inlinable func connect(signal s: ComboBoxSignalName, flags f: ConnectFlags = ConnectFlags(0), data userData: gpointer!, destroyData destructor: GClosureNotify? = nil, signalHandler h: @escaping GCallback) -> IntParameters
signalThe signal to connect
flagsThe connection flags to use
dataA pointer to user data to provide to the callback
destroyDataA
GClosureNotifyC function to destroy the data pointed to byuserDatasignalHandlerThe C function to be called on the given signal
Return Value
The signal handler ID (always greater than 0 for successful connections)
-
onChanged(flags:Extension methodhandler: ) The changed signal is emitted when the active item is changed. The can be due to the user selecting a different item from the list, or due to a call to
gtk_combo_box_set_active_iter(). It will also be emitted while typing into the entry of a combo box with an entry.Note
This represents the underlyingchangedsignalDeclaration
Swift
@discardableResult @inlinable func onChanged(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
handlerThe signal handler to call Run the given callback whenever the
changedsignal is emitted -
changedSignalExtension methodTyped
changedsignal for using theconnect(signal:)methodsDeclaration
Swift
static var changedSignal: ComboBoxSignalName { get } -
onFormatEntryText(flags:Extension methodhandler: ) For combo boxes that are created with an entry (See GtkComboBox:has-entry).
A signal which allows you to change how the text displayed in a combo box’s entry is displayed.
Connect a signal handler which returns an allocated string representing
path. That string will then be used to set the text in the combo box’s entry. The default signal handler uses the text from the GtkComboBoxentry-text-columnmodel column.Here’s an example signal handler which fetches data from the model and displays it in the entry. (C Language Example):
static gchar* format_entry_text_callback (GtkComboBox *combo, const gchar *path, gpointer user_data) { GtkTreeIter iter; GtkTreeModel model; gdouble value; model = gtk_combo_box_get_model (combo); gtk_tree_model_get_iter_from_string (model, &iter, path); gtk_tree_model_get (model, &iter, THE_DOUBLE_VALUE_COLUMN, &value, -1); return g_strdup_printf ("%g", value); }Note
This represents the underlyingformat-entry-textsignalDeclaration
Swift
@discardableResult @inlinable func onFormatEntryText(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ path: String) -> String) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
paththe GtkTreePath string from the combo box’s current model to format text for
handlera newly allocated string representing
pathfor the current GtkComboBox model. Run the given callback whenever theformatEntryTextsignal is emitted -
formatEntryTextSignalExtension methodTyped
format-entry-textsignal for using theconnect(signal:)methodsDeclaration
Swift
static var formatEntryTextSignal: ComboBoxSignalName { get } -
onMoveActive(flags:Extension methodhandler: ) The
move-activesignal is a keybinding signal which gets emitted to move the active selection.Note
This represents the underlyingmove-activesignalDeclaration
Swift
@discardableResult @inlinable func onMoveActive(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ scrollType: ScrollType) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
scrollTypea
GtkScrollTypehandlerThe signal handler to call Run the given callback whenever the
moveActivesignal is emitted -
moveActiveSignalExtension methodTyped
move-activesignal for using theconnect(signal:)methodsDeclaration
Swift
static var moveActiveSignal: ComboBoxSignalName { get } -
onPopdown(flags:Extension methodhandler: ) The
popdownsignal is a keybinding signal which gets emitted to popdown the combo box list.The default bindings for this signal are Alt+Up and Escape.
Note
This represents the underlyingpopdownsignalDeclaration
Swift
@discardableResult @inlinable func onPopdown(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef) -> Bool) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
handlerThe signal handler to call Run the given callback whenever the
popdownsignal is emitted -
popdownSignalExtension methodTyped
popdownsignal for using theconnect(signal:)methodsDeclaration
Swift
static var popdownSignal: ComboBoxSignalName { get } -
onPopup(flags:Extension methodhandler: ) The
popupsignal is a keybinding signal which gets emitted to popup the combo box list.The default binding for this signal is Alt+Down.
Note
This represents the underlyingpopupsignalDeclaration
Swift
@discardableResult @inlinable func onPopup(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
handlerThe signal handler to call Run the given callback whenever the
popupsignal is emitted -
popupSignalExtension methodTyped
popupsignal for using theconnect(signal:)methodsDeclaration
Swift
static var popupSignal: ComboBoxSignalName { get } -
onNotifyActive(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::activesignalDeclaration
Swift
@discardableResult @inlinable func onNotifyActive(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyActivesignal is emitted -
notifyActiveSignalExtension methodTyped
notify::activesignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyActiveSignal: ComboBoxSignalName { get } -
onNotifyActiveID(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::active-idsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyActiveID(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyActiveIDsignal is emitted -
notifyActiveIDSignalExtension methodTyped
notify::active-idsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyActiveIDSignal: ComboBoxSignalName { get } -
onNotifyAddTearoffs(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::add-tearoffssignalDeclaration
Swift
@discardableResult @inlinable func onNotifyAddTearoffs(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyAddTearoffssignal is emitted -
notifyAddTearoffsSignalExtension methodTyped
notify::add-tearoffssignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyAddTearoffsSignal: ComboBoxSignalName { get } -
onNotifyButtonSensitivity(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::button-sensitivitysignalDeclaration
Swift
@discardableResult @inlinable func onNotifyButtonSensitivity(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyButtonSensitivitysignal is emitted -
notifyButtonSensitivitySignalExtension methodTyped
notify::button-sensitivitysignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyButtonSensitivitySignal: ComboBoxSignalName { get } -
onNotifyCellArea(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::cell-areasignalDeclaration
Swift
@discardableResult @inlinable func onNotifyCellArea(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyCellAreasignal is emitted -
notifyCellAreaSignalExtension methodTyped
notify::cell-areasignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyCellAreaSignal: ComboBoxSignalName { get } -
onNotifyColumnSpanColumn(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::column-span-columnsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyColumnSpanColumn(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyColumnSpanColumnsignal is emitted -
notifyColumnSpanColumnSignalExtension methodTyped
notify::column-span-columnsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyColumnSpanColumnSignal: ComboBoxSignalName { get } -
onNotifyEntryTextColumn(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::entry-text-columnsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyEntryTextColumn(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyEntryTextColumnsignal is emitted -
notifyEntryTextColumnSignalExtension methodTyped
notify::entry-text-columnsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyEntryTextColumnSignal: ComboBoxSignalName { get } -
onNotifyHasEntry(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::has-entrysignalDeclaration
Swift
@discardableResult @inlinable func onNotifyHasEntry(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyHasEntrysignal is emitted -
notifyHasEntrySignalExtension methodTyped
notify::has-entrysignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyHasEntrySignal: ComboBoxSignalName { get } -
onNotifyHasFrame(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::has-framesignalDeclaration
Swift
@discardableResult @inlinable func onNotifyHasFrame(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyHasFramesignal is emitted -
notifyHasFrameSignalExtension methodTyped
notify::has-framesignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyHasFrameSignal: ComboBoxSignalName { get } -
onNotifyIDColumn(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::id-columnsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyIDColumn(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyIDColumnsignal is emitted -
notifyIDColumnSignalExtension methodTyped
notify::id-columnsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyIDColumnSignal: ComboBoxSignalName { get } -
onNotifyModel(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::modelsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyModel(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyModelsignal is emitted -
notifyModelSignalExtension methodTyped
notify::modelsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyModelSignal: ComboBoxSignalName { get } -
onNotifyPopupFixedWidth(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::popup-fixed-widthsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyPopupFixedWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyPopupFixedWidthsignal is emitted -
notifyPopupFixedWidthSignalExtension methodTyped
notify::popup-fixed-widthsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyPopupFixedWidthSignal: ComboBoxSignalName { get } -
onNotifyPopupShown(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::popup-shownsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyPopupShown(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyPopupShownsignal is emitted -
notifyPopupShownSignalExtension methodTyped
notify::popup-shownsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyPopupShownSignal: ComboBoxSignalName { get } -
onNotifyRowSpanColumn(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::row-span-columnsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyRowSpanColumn(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyRowSpanColumnsignal is emitted -
notifyRowSpanColumnSignalExtension methodTyped
notify::row-span-columnsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyRowSpanColumnSignal: ComboBoxSignalName { get } -
onNotifyTearoffTitle(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::tearoff-titlesignalDeclaration
Swift
@discardableResult @inlinable func onNotifyTearoffTitle(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyTearoffTitlesignal is emitted -
notifyTearoffTitleSignalExtension methodTyped
notify::tearoff-titlesignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyTearoffTitleSignal: ComboBoxSignalName { get } -
onNotifyWrapWidth(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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.
Note
This represents the underlyingnotify::wrap-widthsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyWrapWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: ComboBoxRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyWrapWidthsignal is emitted -
notifyWrapWidthSignalExtension methodTyped
notify::wrap-widthsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyWrapWidthSignal: ComboBoxSignalName { get }
-
getActive()Extension methodReturns the index of the currently active item, or -1 if there’s no active item. If the model is a non-flat treemodel, and the active item is not an immediate child of the root of the tree, this function returns
gtk_tree_path_get_indices (path)[0], wherepathis theGtkTreePathof the active item.Declaration
Swift
@inlinable func getActive() -> Int -
getActiveID()Extension methodReturns the ID of the active row of
combo_box. This value is taken from the active row and the column specified by theGtkComboBox:id-columnproperty ofcombo_box(seegtk_combo_box_set_id_column()).The returned value is an interned string which means that you can compare the pointer by value to other interned strings and that you must not free it.
If the
GtkComboBox:id-columnproperty ofcombo_boxis not set, or if no row is active, or if the active row has anilID value, thennilis returned.Declaration
Swift
@inlinable func getActiveID() -> String! -
getActive(iter:Extension method) Sets
iterto point to the currently active item, if any item is active. Otherwise,iteris left unchanged.Declaration
Swift
@inlinable func getActive<TreeIterT>(iter: TreeIterT) -> Bool where TreeIterT : TreeIterProtocol -
getAddTearoffs()Extension methodGets the current value of the :add-tearoffs property.
get_add_tearoffs is deprecated: This method is deprecated.
Declaration
Swift
@available(*, deprecated) @inlinable func getAddTearoffs() -> Bool -
getButtonSensitivity()Extension methodReturns whether the combo box sets the dropdown button sensitive or not when there are no items in the model.
Declaration
Swift
@inlinable func getButtonSensitivity() -> GtkSensitivityType -
getColumnSpanColumn()Extension methodReturns the column with column span information for
combo_box.Declaration
Swift
@inlinable func getColumnSpanColumn() -> Int -
getEntryTextColumn()Extension methodReturns the column which
combo_boxis using to get the strings from to display in the internal entry.Declaration
Swift
@inlinable func getEntryTextColumn() -> Int -
getFocusOnClick()Extension methodReturns whether the combo box grabs focus when it is clicked with the mouse. See
gtk_combo_box_set_focus_on_click().get_focus_on_click is deprecated: Use gtk_widget_get_focus_on_click() instead
Declaration
Swift
@available(*, deprecated) @available(*, deprecated) @inlinable func getFocusOnClick() -> Bool -
getHasEntry()Extension methodReturns whether the combo box has an entry.
Declaration
Swift
@inlinable func getHasEntry() -> Bool -
getIDColumn()Extension methodReturns the column which
combo_boxis using to get string IDs for values from.Declaration
Swift
@inlinable func getIDColumn() -> Int -
getModel()Extension methodReturns the
GtkTreeModelwhich is acting as data source forcombo_box.Declaration
Swift
@inlinable func getModel() -> TreeModelRef! -
getPopupAccessible()Extension methodGets the accessible object corresponding to the combo box’s popup.
This function is mostly intended for use by accessibility technologies; applications should have little use for it.
Declaration
Swift
@inlinable func getPopupAccessible() -> Atk.ObjectRef! -
getPopupFixedWidth()Extension methodGets whether the popup uses a fixed width matching the allocated width of the combo box.
Declaration
Swift
@inlinable func getPopupFixedWidth() -> Bool -
getRowSeparatorFunc()Extension methodReturns the current row separator function.
Declaration
Swift
@inlinable func getRowSeparatorFunc() -> GtkTreeViewRowSeparatorFunc! -
getRowSpanColumn()Extension methodReturns the column with row span information for
combo_box.Declaration
Swift
@inlinable func getRowSpanColumn() -> Int -
getTitle()Extension methodGets the current title of the menu in tearoff mode. See
gtk_combo_box_set_add_tearoffs().get_title is deprecated: This method is deprecated.
Declaration
Swift
@available(*, deprecated) @inlinable func getTitle() -> String! -
getWrapWidth()Extension methodReturns the wrap width which is used to determine the number of columns for the popup menu. If the wrap width is larger than 1, the combo box is in table mode.
Declaration
Swift
@inlinable func getWrapWidth() -> Int -
popdown()Extension methodHides the menu or dropdown list of
combo_box.This function is mostly intended for use by accessibility technologies; applications should have little use for it.
Declaration
Swift
@inlinable func popdown() -
popup()Extension methodPops up the menu or dropdown list of
combo_box.This function is mostly intended for use by accessibility technologies; applications should have little use for it.
Before calling this,
combo_boxmust be mapped, or nothing will happen.Declaration
Swift
@inlinable func popup() -
popupFor(device:Extension method) Pops up the menu or dropdown list of
combo_box, the popup window will be grabbed so onlydeviceand its associated pointer/keyboard are the onlyGdkDevicesable to send events to it.Declaration
Swift
@inlinable func popupFor<DeviceT>(device: DeviceT) where DeviceT : DeviceProtocol -
setActive(index:Extension method) Sets the active item of
combo_boxto be the item atindex.Declaration
Swift
@inlinable func setActive(index: Int) -
set(activeID:Extension method) Changes the active row of
combo_boxto the one that has an ID equal toactive_id, or unsets the active row ifactive_idisnil. Rows having anilID string cannot be made active by this function.If the
GtkComboBox:id-columnproperty ofcombo_boxis unset or if no row has the given ID then the function does nothing and returnsfalse.Declaration
Swift
@inlinable func set(activeID: UnsafePointer<gchar>? = nil) -> Bool -
setActive(iter:Extension method) Sets the current active item to be the one referenced by
iter, or unsets the active item ifiterisnil.Declaration
Swift
@inlinable func setActive(iter: TreeIterRef? = nil) -
setActive(iter:Extension method) Sets the current active item to be the one referenced by
iter, or unsets the active item ifiterisnil.Declaration
Swift
@inlinable func setActive<TreeIterT>(iter: TreeIterT?) where TreeIterT : TreeIterProtocol -
set(addTearoffs:Extension method) Sets whether the popup menu should have a tearoff menu item.
set_add_tearoffs is deprecated: This method is deprecated.
Declaration
Swift
@available(*, deprecated) @inlinable func set(addTearoffs: Bool) -
setButton(sensitivity:Extension method) Sets whether the dropdown button of the combo box should be always sensitive (
GTK_SENSITIVITY_ON), never sensitive (GTK_SENSITIVITY_OFF) or only if there is at least one item to display (GTK_SENSITIVITY_AUTO).Declaration
Swift
@inlinable func setButton(sensitivity: GtkSensitivityType) -
setColumnSpanColumn(columnSpan:Extension method) Sets the column with column span information for
combo_boxto becolumn_span. The column span column contains integers which indicate how many columns an item should span.Declaration
Swift
@inlinable func setColumnSpanColumn(columnSpan: Int) -
setEntry(textColumn:Extension method) Sets the model column which
combo_boxshould use to get strings from to betext_column. The columntext_columnin the model ofcombo_boxmust be of typeG_TYPE_STRING.This is only relevant if
combo_boxhas been created withGtkComboBox:has-entryastrue.Declaration
Swift
@inlinable func setEntry(textColumn: Int) -
set(focusOnClick:Extension method) Sets whether the combo box will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don’t want the keyboard focus removed from the main area of the application.
set_focus_on_click is deprecated: Use gtk_widget_set_focus_on_click() instead
Declaration
Swift
@available(*, deprecated) @available(*, deprecated) @inlinable func set(focusOnClick: Bool) -
set(idColumn:Extension method) Sets the model column which
combo_boxshould use to get string IDs for values from. The columnid_columnin the model ofcombo_boxmust be of typeG_TYPE_STRING.Declaration
Swift
@inlinable func set(idColumn: Int) -
set(model:Extension method) Sets the model used by
combo_boxto bemodel. Will unset a previously set model (if applicable). If model isnil, then it will unset the model.Note that this function does not clear the cell renderers, you have to call
gtk_cell_layout_clear()yourself if you need to set up different cell renderers for the new model.Declaration
Swift
@inlinable func set(model: TreeModelRef? = nil) -
set(model:Extension method) Sets the model used by
combo_boxto bemodel. Will unset a previously set model (if applicable). If model isnil, then it will unset the model.Note that this function does not clear the cell renderers, you have to call
gtk_cell_layout_clear()yourself if you need to set up different cell renderers for the new model.Declaration
Swift
@inlinable func set<TreeModelT>(model: TreeModelT?) where TreeModelT : TreeModelProtocol -
setPopupFixedWidth(fixed:Extension method) Specifies whether the popup’s width should be a fixed width matching the allocated width of the combo box.
Declaration
Swift
@inlinable func setPopupFixedWidth(fixed: Bool) -
setRowSeparatorFunc(func:Extension methoddata: destroy: ) Sets the row separator function, which is used to determine whether a row should be drawn as a separator. If the row separator function is
nil, no separators are drawn. This is the default value.Declaration
Swift
@inlinable func setRowSeparatorFunc(func: GtkTreeViewRowSeparatorFunc?, data: gpointer! = nil, destroy: GDestroyNotify? = nil) -
setRowSpanColumn(rowSpan:Extension method) Sets the column with row span information for
combo_boxto berow_span. The row span column contains integers which indicate how many rows an item should span.Declaration
Swift
@inlinable func setRowSpanColumn(rowSpan: Int) -
set(title:Extension method) Sets the menu’s title in tearoff mode.
set_title is deprecated: This method is deprecated.
Declaration
Swift
@available(*, deprecated) @inlinable func set(title: UnsafePointer<gchar>!) -
setWrap(width:Extension method) Sets the wrap width of
combo_boxto bewidth. The wrap width is basically the preferred number of columns when you want the popup to be layed out in a table.Declaration
Swift
@inlinable func setWrap(width: Int) -
activeExtension methodThe item which is currently active. If the model is a non-flat treemodel, and the active item is not an immediate child of the root of the tree, this property has the value
gtk_tree_path_get_indices (path)[0], wherepathis theGtkTreePathof the active item.Declaration
Swift
@inlinable var active: Int { get nonmutating set } -
activeIDExtension methodReturns the ID of the active row of
combo_box. This value is taken from the active row and the column specified by theGtkComboBox:id-columnproperty ofcombo_box(seegtk_combo_box_set_id_column()).The returned value is an interned string which means that you can compare the pointer by value to other interned strings and that you must not free it.
If the
GtkComboBox:id-columnproperty ofcombo_boxis not set, or if no row is active, or if the active row has anilID value, thennilis returned.Declaration
Swift
@inlinable var activeID: String! { get nonmutating set } -
addTearoffsExtension methodGets the current value of the :add-tearoffs property.
get_add_tearoffs is deprecated: This method is deprecated.
Declaration
Swift
@inlinable var addTearoffs: Bool { get nonmutating set } -
buttonSensitivityExtension methodReturns whether the combo box sets the dropdown button sensitive or not when there are no items in the model.
Declaration
Swift
@inlinable var buttonSensitivity: GtkSensitivityType { get nonmutating set } -
columnSpanColumnExtension methodReturns the column with column span information for
combo_box.Declaration
Swift
@inlinable var columnSpanColumn: Int { get nonmutating set } -
entryTextColumnExtension methodReturns the column which
combo_boxis using to get the strings from to display in the internal entry.Declaration
Swift
@inlinable var entryTextColumn: Int { get nonmutating set } -
focusOnClickExtension methodReturns whether the combo box grabs focus when it is clicked with the mouse. See
gtk_combo_box_set_focus_on_click().get_focus_on_click is deprecated: Use gtk_widget_get_focus_on_click() instead
Declaration
Swift
@available(*, deprecated) @inlinable var focusOnClick: Bool { get nonmutating set } -
hasEntryExtension methodReturns whether the combo box has an entry.
Declaration
Swift
@inlinable var hasEntry: Bool { get } -
idColumnExtension methodReturns the column which
combo_boxis using to get string IDs for values from.Declaration
Swift
@inlinable var idColumn: Int { get nonmutating set } -
modelExtension methodThe model from which the combo box takes the values shown in the list.
Declaration
Swift
@inlinable var model: TreeModelRef! { get nonmutating set } -
popupAccessibleExtension methodGets the accessible object corresponding to the combo box’s popup.
This function is mostly intended for use by accessibility technologies; applications should have little use for it.
Declaration
Swift
@inlinable var popupAccessible: Atk.ObjectRef! { get } -
popupFixedWidthExtension methodGets whether the popup uses a fixed width matching the allocated width of the combo box.
Declaration
Swift
@inlinable var popupFixedWidth: Bool { get nonmutating set } -
rowSeparatorFuncExtension methodReturns the current row separator function.
Declaration
Swift
@inlinable var rowSeparatorFunc: GtkTreeViewRowSeparatorFunc! { get } -
rowSpanColumnExtension methodReturns the column with row span information for
combo_box.Declaration
Swift
@inlinable var rowSpanColumn: Int { get nonmutating set } -
titleExtension methodGets the current title of the menu in tearoff mode. See
gtk_combo_box_set_add_tearoffs().get_title is deprecated: This method is deprecated.
Declaration
Swift
@inlinable var title: String! { get nonmutating set } -
wrapWidthExtension methodReturns the wrap width which is used to determine the number of columns for the popup menu. If the wrap width is larger than 1, the combo box is in table mode.
Declaration
Swift
@inlinable var wrapWidth: Int { get nonmutating set } -
parentInstanceExtension methodUndocumented
Declaration
Swift
@inlinable var parentInstance: GtkBin { get }
View on GitHub
Install in Dash
ComboBoxProtocol Protocol Reference