Up: cl-cffi-gtk4 API documentation
Package gtk
This is the API documentation of a Lisp binding to GTK.
GTK is a library for creating graphical user interfaces. It works on many
UNIX-like platforms, Windows, and OS X. GTK is released under the GNU Library
General Public License (GNU LGPL), which allows for flexible licensing of
client applications. GTK has a C-based object-oriented architecture that
allows for maximum flexibility. Bindings for many other languages have been
written, including C++, Objective-C, Guile/Scheme, Perl, Python, TOM, Ada95,
Free Pascal, and Eiffel.
About This PackageInterface builder Windows Layout Widgets Layout Managers Display Widgets Buttons and Toggles Numeric and Text Data Entry Multiline Text Editor GListModel support List-based Widgets Tree support Accessibility & Input Methods Media Support Popovers Selector Widgets and Dialogs Widgets for custom drawing Scrolling Keyboard shortcuts Interfaces Abstract Base Classes Printing Recently Used Documents Gestures and event handling Data exchange, Clipboards, Drag and Drop Miscellaneous GTK Core Reference Theming in GTK Deprecated Application supportGtkApplication Types of user actions that may be blocked by a gtk:application
instance. ... The gtk:application class is a high-level API for writing
applications. ... The accessor for the active-window slot returns the
active window of the application. ... The accessor for the register-session slot gets or
sets whether to register with the session manager. ... The accessor for the screensaver-active slot
returns whether the screensaver is active. ...
Creates a new application. ...
Adds a window to the application. ...
Remove a window from the application. ...
Gets a list of the windows associated with the application. ...
Returns the application window for the given ID. ...
Inform the session manager that certain types of actions should be
inhibited. ...
Removes an inhibitor that has been established with the gtk:application-inhibit function. ...
Gets a menu from automatically loaded resources. ...
Lists the detailed action names which have associated accelerators. ...
Gets or sets the keyboard accelerators that will trigger the given action. ...
Returns the list of actions, possibly empty, that the given accelerator
maps to. ... GtkApplicationWindow The gtk:application-window class is a gtk:window subclass
that offers some extra functionality for better integration with gtk:application features. ... The accessor for the show-menubar slot gets
or sets whether the window will display a menubar for the application menu
and menubar as needed. ... Creates a new application window. ...
Returns the unique ID of the application window. ...
Gets the shortcuts window, or associates a shortcuts window with the
application window, and sets up an action with the name "win.show-help-overlay" to present it. ... Interface builderGtkBuildable The gtk:buildable interface allows objects to extend and customize their deserialization from gtk:builder UI descriptions. ...
Gets the ID of the buildable object. ... GtkBuilder The gtk:builder-scope interface is an interface to provide language binding support to the gtk:builder object. ... The gtk:builder-cl-scope class is the implementation of the gtk:builder-scope interface for the Lisp binding. ... The gtk:builder object reads XML descriptions of a user interface
and instantiates the described objects. ... The accessor for the current-object slot gets or sets
the current object for the builder. ... The accessor for the translation-domain slot gets or
sets the translation domain of the builder. ...
Creates a new builder object. ... Builds the gtk:builder UI definition from an user interface
description file. ... Builds the gtk:builder UI definition from a resource path. ... Parses a file containing a gtk:builder UI definition and merges it
with the current contents of the builder. ... Parses a resource file containing a gtk:builder UI definition and
merges it with the current contents of the builder. ... Parses a string containing a gtk:builder UI definition and merges
it with the current contents of the builder. ... Parses a file containing a gtk:builder UI definition building only
the requested objects and merges them with the current contents of builder. ... Parses a resource file containing a gtk:builder UI definition
building only the requested objects and merges them with the current
contents of builder. ... Parses a string containing a gtk:builder UI definition building only
the requested objects and merges them with the current contents of builder. ...
Gets all objects that have been constructed by the builder. ...
Adds an object to the builder object pool so it can be referenced just like
any other object built by the builder. ... WindowsGtkRootGtkNative The gtk:native interface is the interface implemented by all widgets that can provide a gdk:surface object for widgets to render on. ...
Finds the native widget associated with the surface. ...
Returns the surface of the native widget. ...
Returns the renderer that is used for the native widget. ...
Retrieves the surface transform of the native widget. ...
Realizes the native widget. ...
Unrealizes the native widget. ... GtkWindow
Determines which point or edge of a window is meant to remain fixed when a
window changes size. ... The gtk:window widget is a toplevel window which can contain other
widgets. ... The accessor for the application slot gets or sets the
application associated with the window. ... The accessor for the decorated slot gets or sets whether
the window should be decorated by the window manager. ... The accessor for the default-height slot gets or sets
the default height of the window, used when initially showing the window. ... The accessor for the default-widget slot gets or sets
the default widget for the window. ... The accessor for the default-width slot gets or sets the
default width of the window, used when initially showing the window. ... The accessor for the destroy-with-parent slot gets or
sets whether the window will be destroyed with its transient parent. ... The accessor for the focus-visible slot gets or sets
whether "focus rectangles" are currently visible in the window. ... The accessor for the focus-widget slot gets or sets the
current focused widget within the window. ... The accessor for the fullscreened slot gets or sets the
fullscreen state of the window. ... The accessor for the gravity slot gets or sets the
gravity that is used when changing the window size programmatically. ... The accessor for the handle-menubar-accel slot gets or sets whether the window reacts to the F10 key presses by activating
a menubar it contains. ... The accessor for the hide-on-close slot gets or sets
whether the window will be hidden and not destroyed when the Close button
is clicked. ... The accessor for the mnemonics-visible slot gets or sets
whether mnemonics are currently visible in the window. ... The accessor for the modal slot returns true if the
window is set to be modal, or sets a window modal or non-modal. ... The accessor for the startup-id slot sets a string for
the startup notification identifier. ... The accessor for the transient-for slot gets or sets the
transient parent for the window. ...
Creates a new toplevel window, which can contain other widgets. ... Drop the internal reference GTK holds on toplevel windows. ...
Gets or sets the default size of the window. ...
Retrieves the current maximized state of the window. ...
Retrieves the current fullscreen state of window. ...
Retrieves the current suspended state of the window. ...
Returns a list of all existing toplevel windows. ...
Returns a list of all existing toplevel windows. ...
Presents a window to the user. ...
Presents a window to the user in response to an user interaction. ...
Requests that the window is closed. ...
Asks to minimize the window. ...
Asks to unminimize the window. ...
Asks to maximize the window, so that it becomes full screen. ...
Asks to unmaximize the window. ...
Asks to place the window in the fullscreen state. ...
Asks to place the window in the fullscreen state on the given monitor. ...
Asks to toggle off the fullscreen state for the window. ...
Gets or sets the fallback icon name for windows. ...
Returns the window group for the window. ... Returns whether the window has an explicit window group. ...
Sets whether the window should request startup notification. ...
Opens or closes the interactive debugger. ... GtkAboutDialog
The type of license for an application. ... The gtk:about-dialog widget offers a simple way to display
information about a program like its logo, name, copyright, website and
license. ... The accessor for the artists slot gets or sets the
people who contributed artwork to the program, as a list of strings. ... The accessor for the authors slot gets or sets the
authors of the program, as a list of strings. ... The accessor for the documenters slot gets or sets
the strings which are displayed in the documenters credits page. ... The accessor for the license slot gets or sets the
license information to be displayed in the secondary license dialog. ... The accessor for the license-type slot gets or
sets the license of the application showing the about dialog from a list
of known licenses. ... The accessor for the logo slot gets or sets the
paintable displayed as logo in the about dialog. ... The accessor for the logo-icon-name slot gets or
sets the icon name displayed as logo in the about dialog. ... The accessor for the program-name slot gets or
sets the program name displayed in the about dialog. ... The accessor for the system-information slot gets
or sets the system information which is shown in the about dialog. ... The accessor for the translator-credits slot gets
or sets the translator credits string which is displayed in the credits
page. ... The accessor for the version slot get or sets the
version string to display in the about dialog. ... The accessor for the website slot gets or sets the URL string starting with http:// to use for the website link. ... The accessor for the website-label slot gets or
sets the URL to use for the website. ... The accessor for the wrap-license slot gets or
sets whether the license text in the about dialog is automatically wrapped. ... Creates a new about dialog. ... Creates a new section in the credits page. ...
This is a convenience function for showing the about dialog of an
application. ... GtkAlertDialog The gtk:alert-dialog object collects the arguments that are needed
to present a message to the user. ... The accessor for the cancel-button slot gets or
sets the index of the Cancel button. ... The accessor for the default-button slot gets or
sets the index of the Default button. ... The accessor for the detail slot gets or sets the
detail text that will be shown in the alert dialog. ... The accessor for the message slot gets or sets the
message that will be shown in the alert dialog. ... The accessor for the modal slot gets or sets
whether the alert dialog blocks interaction with the parent window while
it is presented. ...
Creates a new alert dialog. ...
This function shows the alert dialog to the user. ... Finishes the the gtk:alert-dialog-choose function call and returns the
index of the button that was clicked. ...
Show the alert dialog to the user. ... GtkWindowGroup The gtk:window-group object restricts the effect of grabs to windows
in the same group, thereby making window groups almost behave like separate
applications. ...
Creates a new window group. ... Adds a window to a window group. ... Removes a window from a window group. ... Returns a list of windows that belong to the window group. ... GtkNativeDialog The accessor for the modal slot gets whether the
dialog is modal, or sets a dialog modal or non-modal. ... The accessor for the transient-for slot gets or
sets fetches the transient parent for the dialog. ...
Shows the dialog on the display, allowing the user to interact with it. ...
Hides the dialog if it is visilbe, aborting any interaction. ...
Destroys a dialog. ... Layout WidgetsGtkBox The accessor for the baseline-child slot gets or sets the
position of the child widget that determines the baseline of the box in
vertical layout. ... The accessor for the baseline-position slot gets or sets
the position of the baseline aligned widgets if extra space is available. ... The accessor for the homogeneous slot gets or sets whether
or not all children of the box are given equal space in the box. ... The accessor for the spacing slot gets or sets the number
of pixels to place between the children of the box. ... Adds a child widget as the last child widget to the box. ... Adds a child widget as the first child widget to the box. ...
Removes a child widget from the box. ...
Inserts the child widget in the position after the sibling widget in the
list of children in the box. ... Moves the child widget to the position after sibling in the list of
box children. ... GtkCenterBox The gtk:center-box widget arranges three children in a horizontal or
vertical arrangement, keeping the middle child centered as well as possible. ... The accessor for the baseline-position slot gets or sets
the position of the baseline aligned widgets if extra space is available. ... The accessor for the center-widget slot gets or sets
the widget that is placed at the center position in the box. ... The accessor for the end-widget slot gets or sets
the widget that is placed at the end position in the box. ... The accessor for the shrink-center-last slot gets or
sets whether to shrink the center widget after other children. ... The accessor for the start-widget slot gets or sets
the widget that is placed at the start position in the box. ... Creates a new gtk:center-box widget. ... GtkGrid The gtk:grid widget is a container which arranges its child widgets
in rows and columns, with arbitrary positions and horizontal/vertical spans. ... The accessor for the baseline-row slot gets or sets the row to align to the baseline when valign has the :center value of the gtk:align enumeration. ... The accessor for the column-homogeneous slot gets or sets
whether all columns of the grid have the same width. ... The accessor for the column-spacing slot gets or sets the
amount of space between two columns of the grid. ... The accessor for the row-homogeneous slot gets or sets
whether all rows of the grid have the same height. ... The accessor for the row-spacing slot gets or sets the
amount of space between two rows of the grid. ... Creates a new grid widget. ...
Adds a child widget to the grid. ...
Adds a child widget to the grid. ...
Removes a child widget from the grid. ...
Gets the child widget of the grid whose area covers the grid cell whose upper left corner is at left, top. ...
Queries the attach points and spans of the child widget inside the given
grid. ...
Inserts a row at the specified position. ...
Inserts a column at the specified position. ...
Removes a row from the grid. ...
Removes a column from the grid. ...
Inserts a row or column at the specified position. ... Gets or sets how the baseline should be positioned on row of the grid, in case that row is assigned more space than is requested. ... GtkRevealer
These enumeration values describe the possible transitions when the child widget of a gtk:revealer widget is shown or hidden. ... The gtk:revealer widget which animates the transition of its child
widget from invisible to visible. ... The accessor for the child-revealed slot returns
whether the child widget is fully revealed, in other words whether the
transition to the revealed state is completed. ... The accessor for the reveal-child slot gets or sets
whether the child widget is revealed, or tells the revealer to reveal or
conceal its child widget. ... The accessor for the transition-duration slot gets or
sets the amount of time in milliseconds that transitions will take. ... The accessor for the transition-type slot gets or sets
the type of animation that will be used for transitions in the revealer. ... Creates a new revealer. ... GtkListBoxRow The accessor for the activatable slot gets or sets whether the "row-activated" signal will be emitted for
this row. ... The accessor for the selectable slot gets or sets
whether this row can be selected. ...
Creates a new list box row, to be used as a child widget of a list box. ...
Marks the list box row as changed, causing any state that depends on this
to be updated. ...
Returns a boolean whether the row is currently selected in its list box. ...
Gets or sets the current header of the list box row. ...
Gets the current index of the row in its list box. ... GtkListBox The accessor for the accept-unpaired-release slot gets
or sets whether to accept unpaired release events. ... The accessor for the activate-on-single-click slot
gets or sets whether children can be activated with a single click if setting is true, or require a double-click if setting is false. ... The accessor for the selection-mode slot gets or sets
the selection mode of the list box. ... The accessor for the show-separators slot gets or sets
whether the list box should show separators between rows. ... The accessor for the tab-behavior slot gets or sets the behavior of the Tab and Shift+Tab keys. ... Creates a new list box. ...
Prepend a child widget to the list box. ...
Append a child widget to the list box. ...
Insert the child widget into the list box at the given position. ... Removes a child widget from the list box. ... Removes all child widgets from the list box. ... Make the list box row the currently selected row. ...
Unselects a single row of the list box, if the selection mode allows it. ...
Select all children of the list box, if the selection mode allows it. ...
Unselect all children of the list box, if the selection mode allows it. ...
Gets the selected row. ... Creates a list of all selected rows in the list box. ...
This function gets or sets the adjustment that the list box uses for
vertical scrolling. ...
Sets the placeholder that is shown in the list box when it does not display
any visible children. ...
Gets the n-th child in the list box (not counting headers). ... Gets the row at the y position in the list box. ... The callback function used by the gtk:list-box-selected-foreach
function. ...
Calls a function for each selected child. ...
Will be called whenever the row changes or is added and lets you control
if the row should be visible or not. ...
By setting a filter function on the list box one can decide dynamically
which of the rows to show. ...
Update the filtering for all rows. ... Whenever row changes or which row is before row changes this is called, which lets you update the header on row. ...
By setting a header function on the list box one can dynamically add headers
in front of rows, depending on the contents of the row and its position in
the list box. ...
Update the separators for all rows. ...
The callback function that compares two rows to determine which should be
first. ...
By setting a sort function on the list box one can dynamically reorder the
rows of the list, based on the contents of the rows. ...
Update the sorting for all rows. ...
Add a drag highlight to a row. ...
If a row has previously been highlighted via the gtk:list-box-drag-highlight-row function it will have the highlight
removed. ... Called for list boxes that are bound to a g:list-model object with the gtk:list-box-bind-model function for each item that gets added to
the model. ...
Binds a model to the list box. ... GtkFlowBoxChildGtkFlowBox The gtk:flow-box widget positions child widgets in sequence
according to its orientation. ... The accessor for the accept-unpaired-release slot
gets or sets whether to accept an unpaired release event. ... The accessor for the activate-on-single-click slot
gets or sets whether children activate on single clicks. ... The accessor for the column-spacing slot gets or sets
the horizontal space to add between children. ... The accessor for the homogeneous slot gets or sets
whether the flow box is homogeneous - all children are the same size. ... The accessor for the max-children-per-line slot gets
or sets the maximum number of children per line to request and allocate
space for in the orientation of the flow box. ... The accessor for the min-children-per-line slot gets
or sets the minimum number of children per line in the orientation of the
flow box before flowing. ... The accessor for the row-spacing slot gets or sets
the vertical space to add between children. ... The accessor for the selection-mode slot gets or sets
the selection mode of the flow box. ... Creates a new flow box. ...
Inserts the child widget into the flow box at a given position. ...
Inserts the child widget into the flow box at the end of the flow box. ...
Inserts the child widget into the flow box at the start of the flow box. ... Removes a child widget from the flow box. ...
Removes all child widgets from the flow box. ...
Gets the nth child widget in the flow box. ...
Gets the child widget in the flow box at the given coordinates. ...
Hooks up an adjustment to focus handling in the flow box. ...
Hooks up an adjustment to focus handling in the flow box. ... The callback function used by the gtk:flow-box-selected-foreach
function. ...
Calls a function for each selected child widget in the flow box. ...
Creates a list of all selected children. ...
Selects a single child widget of the flow box, if the selection mode allows
it. ...
Unselects a single child widget of the flow box, if the selection mode
allows it. ...
Select all children of the flow box, if the selection mode allows it. ...
Unselect all children of the flow box, if the selection mode allows it. ...
The callback function that will be called whenever a child widget changes
or is added. ...
By setting a filter function on the flow box one can decide dynamically
which of the children to show. ...
Updates the filtering for all children in the flow box. ...
The callback function to compare two children to determine which should
come first. ...
By setting a sort function on the flow box, one can dynamically reorder the
children of the flow box, based on the contents of the children. ...
Updates the sorting for all children in the flow box. ... Called for flow boxes that are bound to a g:list-model object with the gtk:flow-box-bind-model function for each item that gets added to
the model. ...
Binds a model to the flow box. ... GtkStackPage The accessor for the needs-attention slot gets or
sets whether the page is marked as "needs attention". ... The accessor for the use-underline slot gets or sets
whether underlines in the page title indicate mnemonics. ... GtkStack The accessor for the hhomogeneous slot gets or sets
whether the stack is horizontally homogeneous. ... The accessor for the interpolate-size slot gets or sets
whether the stack is set up to interpolate between the sizes of children
on page switch. ... The accessor for the pages slot returns a g:list-model object that contains the pages of the stack, and can
be used to keep an up-to-date view. ... The accessor for the transition-duration slot gets or sets
the amount of time in milliseconds that transitions between pages in the
stack will take. ... The accessor for the transition-running slot returns
whether the stack is currently in a transition from one page to another. ... The accessor for the transition-type slot gets or sets
the type of animation that will be used for transitions between pages in
the stack. ... The accessor for the vhomogeneous slot gets or sets
whether the stack is vertically homogeneous. ... The accessor for the visible-child slot gets or sets the
currently visible child widget of the stack. ... The accessor for the visible-child-name slot gets or sets
the name of the currently visible child of the stack. ... Creates a new stack. ... Adds a child widget to the stack. ...
Adds a child page to the stack. ...
Adds a child page to the stack. ... Removes a child widget from the stack. ...
Finds the child page of the stack with the name given as the argument. ... Returns the gtk:stack-page object for the child widget. ... Makes the child page with the given name visible. ... GtkStackSidebar The gtk:stack-sidebar widget enables you to quickly and easily
provide a consistent sidebar object for your user interface. ... Creates a new stack sidebar. ... GtkActionBar The gtk:action-bar widget is designed to present contextual actions. ... Creates a new action bar. ...
Adds the child widget to the action bar, packed with reference to the start
of the action bar. ...
Adds the child widget to the action bar, packed with reference to the end
of the action bar. ... Removes a child widget from the action bar. ...
Gets or sets the center widget of the action bar. ... GtkHeaderBar The gtk:header-bar widget is similar to a horizontal gtk:box
widget. It allows children to be placed at the start or the end. In
addition, it allows a title and subtitle to be displayed. ... The accessor for the decoration-layout slot gets or
sets the decoration layout for the header bar, overriding the gtk-decoration-layout setting. ... The accessor for the show-title-buttons slot gets or
sets whether the header bar shows the standard window title buttons
including Close, Maximize, and Minimize. ... The accessor for the title-widget slot gets or sets
the title widget of the header bar. ... The accessor for the use-native-controls slot gets
or sets whether this header bar shows platform native window controls. ... Creates a new header bar. ...
Adds a child widget to the header bar, packed with reference to the start
of the header bar. ...
Adds a child widget to the header bar, packed with reference to the end of
the header bar. ...
Removes a child widget from the header bar, after it has been added with the gtk:header-bar-pack-start, gtk:header-bar-pack-end or gtk:header-bar-title-widget functions. ... GtkOverlay The gtk:overlay widget contains a single main widget, on top of
which it can place overlay widgets. ... Creates a new overlay. ...
Adds an overlay widget to the overlay. ...
Removes an overlay widget that was added with the gtk:overlay-add-overlay function. ...
Gets or sets whether the size of the overlay widget is included in the
measurement of the overlay. ...
Gets or sets whether the overlay widget should be clipped within the
overlay. ... GtkPaned The accessor for the max-position slot gets the largest
possible value for the position property. ... The accessor for the min-position slot gets the smallest
possible value for the position property. ... The accessor for the position slot gets or sets the
position of the divider between the two panes. ... The accessor for the position-set slot gets or sets whether the position property should be used. ... The accessor for the resize-end-child slot gets or sets
whether the end child widget can be resized. ... The accessor for the resize-start-child slot gets or sets
whether the first child widget can be resized. ... The accessor for the shrink-end-child slot gets or sets
whether the second child widget can be made smaller than its requisition. ... The accessor for the shrink-start-child slot gets or sets
whether the first child widget can be made smaller than its requisition. ... The accessor for the start-child slot gets or sets the
start child widget of the given paned. ... The accessor for the wide-handle slot gets or sets
whether the paned widget needs to provide stronger visual separation. ... Creates a new paned widget. ... GtkNotebookPage
The values of this enumeration are used in the action signals of the gtk:notebook widget. ... The accessor for the detachable slot gets or sets
whether the notebook tab is detachable. ... The accessor for the menu slot returns the
label displayed in the menu entry of the child widget. ... The accessor for the menu-label slot gets or sets
the text of the menu widget. ... The accessor for the reorderable slot gets or
sets whether the notebook tab is reorderable by user action. ... The accessor for the tab-expand slot gets or sets
whether to expand the notebook tab of the child widget. ... The accessor for the tab-fill slot gets or sets
whether to expand the notebook tab of the child widget. ... GtkNotebook The gtk:notebook widget is a layout container whose children are
pages that can be switched between using notebook tab labels along one edge. ... The accessor for the enable-popup slot gets or sets
whether pressing the right mouse button on the notebook pops up a menu that
you can use to go to a page. ... The accessor for the group-name slot gets or sets the
current group name for the notebook. ... The accessor for the pages slot returns a g:list-model object that contains the pages of the notebook, and
can be used to keep an up-to-date view. ... The accessor for the scrollable slot gets or sets
whether the notebook tab label area has arrows for scrolling if there are
too many notebook tabs to fit in the area. ... The accessor for the show-border slot gets or sets
whether a bevel will be drawn around the notebook pages. ... The accessor for the show-tabs slot gets or sets
whether the notebook tabs of the notebook are shown. ... The accessor for the tab-pos slot gets or sets the
edge at which the notebook tabs for switching pages in the notebook are
drawn. ... Creates a new notebook with no pages. ... Gets the number of pages in a notebook. ... Returns the child widget contained in page number num. ...
Finds the index of the page which contains the given child widget. ...
Gets or sets an integer for the index of the page to switch to. ...
Switches to the next page. ...
Switches to the previous page. ... Inserts a page into the notebook depending on the value of the pos keyword argument with the :end default value: ...
Removes a page from the notebook given the page widget or its index in the
notebook. ...
Removes the child page from the notebook. ...
Reorders the page containing the child, so that it appears in the given
position. ...
Enables the popup menu. ...
Disables the popup menu. ...
Gets or sets whether the notbook tab content can be detached from the
notebook to another notebook or widget. ...
Gets or sets whether the notebook tab can be reordered via drag and drop
or not. ...
Gets or sets the menu label for the page containing the child. ...
Gets or sets the text of the menu label for the page containing child. ...
Gets or sets the notebook tab label for the page child. ...
Gets or sets the text of the notebook tab label for the page containing
child. ...
Gets or sets one of the action widgets. ... GtkExpander The gtk:expander widget allows the user to hide or show its child
by clicking on an expander triangle. ... The accessor for the expanded slot gets or sets
whether the expander has been opened to reveal the child widget. ... The accessor for the label slot gets or sets the text
of a label widget including any embedded underlines indicating mnemonics
and Pango markup. ... The accessor for the label-widget slot gets or sets
the label widget for the expander. ... The accessor for the resize-toplevel slot gets or sets
whether the expander will resize the toplevel widget containing the expander
upon resizing and collpasing. ... The accessor for the use-markup slot gets or sets
whether the text of the label is interpreted as marked up with the Pango
text markup language. ... The accessor for the use-underline slot gets or sets
whether an embedded underline in the expander label indicates a mnemonic. ... Creates a new expander using label as the text of the label. ... Creates a new expander using label as the text of the label. ... GtkAspectFrame The gtk:aspect-frame widget preserves the aspect ratio of its child. ... The accessor for the obey-child slot gets or sets
whether to force the aspect ratio to match that of the child widget of the
aspect frame. ... The accessor for the ratio slot gets or sets the aspect ratio if the obey-child property is false. ... The accessor for the xalign slot gets or sets the
x alignment of the child widget in the aspect frame container. ... The accessor for the yalign slot gets or sets the
y alignment of the child widget in the aspect frame container. ...
Create a new aspect frame. ... GtkFixed The gtk:fixed widget is a container which can place child widgets
at fixed positions and with fixed sizes, given in pixels. ... Creates a new fixed widget. ...
Adds a child widget to a fixed widget and assigns a translation transformation to the given x and y coordinates to it. ...
Removes a child widget from the fixed widget, after it has been added with the gtk:fixed-put function. ... Sets a translation transformation to the given x and y
coordinates to the child widget of the given fixed widget. ...
Retrieves the translation transformation of the given child widget in the
fixed container. ... Gets or sets the transformation for child. ... Layout ManagersGtkLayoutManager
Layout managers are delegate classes that handle the preferred size and the
allocation of a container widget. ... Measures the size of the widget using layout, for the given
orientation and size. ... This function assigns the given width, height, and baseline to a widget, and computes the position and sizes of the children of the widget using the layout management policy of layout. ...
Retrieves the request mode of the layout manager. ...
Retrieves the widget using the given layout manager. ... Retrieves a gtk:layout-child object for the gtk:layout-manager object, creating one if necessary. ... GtkLayoutChild The gtk:layout-child class is the base class for objects that are
meant to hold layout properties. ... GtkBoxLayout The gtk:box-layout class is a layout manager that arranges the
children of any widget using it into a single row or column. ... The accessor for the baseline-child slot gets or
sets the index of the child that determines the baseline in vertical layout. ... The accessor for the baseline-position slot gets or
sets the baseline position of a box layout. ... The accessor for the homogeneous slot gets or sets
whether the box layout will allocate the same size to all children. ... The accessor for the spacing slot gets or sets the
space that the box layout puts between children. ... Creates a new box layout. ... GtkCenterLayout The gtk:center-layout class is a layout manager that manages up to
three children. ... The accessor for the shrink-center-last slot gets or sets whether object shrinks the center widget after other
children. ... Creates a new center layout manager. ...
Gets or sets the current orientation of the layout manager. ...
Gets or sets the current baseline position of the layout manager. ...
Gets or sets the start widget of the layout. ...
Gets or sets the center widget of the layout. ...
Gets or sets the end widget of the layout. ... GtkFixedLayout The accessor for the transform slot gets or sets the transformation of the child widget of a gtk:fixed-layout
object. ... The gtk:fixed-layout object is a layout manager which can place
child widgets at fixed positions, and with fixed sizes. ... Creates a new gtk:fixed-layout object. ... GtkGridLayout The accessor for the column slot gets or sets
the column number to which the child widget attaches its left side. ... The accessor for the column-span slot gets or
sets the number of columns that the child widget spans to. ... The accessor for the row slot gets or sets
the row number to which the child widget attaches its top side. ... The accessor for the row-span slot gets or
sets the number of rows that the child widget spans to. ...
Layout manager for grid like widgets. ... The accessor for the baseline-row slot gets or sets
which row defines the global baseline for the entire grid. ... The accessor for the column-homogeneous slot gets
or sets whether all columns of the grid should have the same width. ... The accessor for the column-spacing slot gets or
sets the amount of space to insert between consecutive columns. ... The accessor for the row-homogeneous slot gets or
sets whether all rows of the grid should have the same height. ... The accessor for the row-spacing slot gets or sets
the amount of space to insert between consecutive rows. ... Creates a new grid layout. ... Gets or sets how the baseline should be positioned on row of the grid, in case that row is assigned more space than is requested. ... GtkOverlayLayout The accessor for the clip-overlay slot
gets or sets whether the child widget is clipped. ... Creates a new overlay layout manager. ... GtkCustomLayout The gtk:custom-layout class is a convenience type meant to be used as a transition mechanism between gtk:widget objects implementing a layout policy, and gtk:layout-manager classes. ... GtkConstraint The gtk:constraint-target interface is implemented by objects that can be used as source or target in gtk:constraint objects. ... The gtk:constraint class describes a constraint between an attribute
on a widget and another attribute on another widget, expressed as a linear
equation. ... The accessor for the constant slot retrieves the
constant factor added to the source attributes' value. ... The accessor for the multiplier slot retrieves the
multiplication factor applied to the source attribute's value. ... The accessor for the relation slot retrieves the
order relation between the terms of the constraint. ... The accessor for the source slot retrieves the gtk:constraint-target value used as the source for the constraint. ... The accessor for the source-attribute slot retrieves
the attribute of the source to be read by the constraint. ... The accessor for the source-attribute slot returns
the strength of the constraint. ... The accessor for the target slot retrieves the gtk:constraint-target value used as the target for the constraint. ... The accessor for the target-attribute slot retrieves
the attribute of the target to be set by the constraint. ... Creates a new gtk:constraint object representing a relation between
a layout attribute on a source and a layout attribute on a target. ... Creates a new gtk:constraint object representing a relation between
a layout attribute on a target and a constant value. ...
Checks whether the constraint is a required relation for solving the
constraint layout. ... Checks whether the constraint is attached to a gtk:constraint-layout
object, and it is contributing to the layout. ...
Checks whether the constraint describes a relation between an attribute on
the target and a constant value. ... GtkConstraintGuide An object that can be added to a gtk:constraint-layout object and
be used in constraints like a widget, without being drawn. ... The accessor for the max-height slot gets or
sets the maximum height of the guide. ... The accessor for the min-height slot gets or
sets the minimum height of the guide. ... The accessor for the nat-height slot gets or
sets the preferred height of the guide. ... The accessor for the strength slot gets or sets the strength of the constraint on the natural size of the given guide. ... Creates a new constraint guide. ... GtkConstraintLayout The gtk:constraint-layout object is a layout manager that uses relations between widget attributes, expressed via gtk:constraint
instances, to measure and allocate widgets. ... Creates a new gtk:constraint-layout layout manager. ... Adds a gtk:constraint object to the layout manager. ... Removes constraint from the layout manager, so that it no longer
influences the layout. ... Removes all constraints from the layout manager. ... Adds a guide to layout. ... Removes guide from the layout manager, so that it no longer
influences the layout. ... Display WidgetsGtkLabel The accessor for the attributes slot gets or sets the
attribute list on the label. ... The accessor for the extra-menu slot gets or sets the
menu model to add when constructing the context menu for the label. ... The accessor for the justify slot gets or sets the
alignment of the lines in the text of the label relative to each other. ... The accessor for the label slot gets or sets the text of
the label widget including any embedded underlines indicating mnemonics and
Pango markup. ... The accessor for the lines slot gets or sets the number
of lines to which an ellipsized, wrapping label should be limited. ... The accessor for the max-width-chars slot gets or sets
the maximum width of the label in characters. ... The accessor for the mnemonic-keyval slot gets the
mnemonic accelerator key for this label. ... The accessor for the mnemonic-widget slot gets or sets
the target of the mnemonic of the label. ... The accessor for the natural-wrap-mode slot gets or sets
the line wrap mode used by the label. ... The accessor for the selectable slot gets or sets wheter
the label text can be selected with the mouse. ... The accessor for the single-line-mode slot gets or sets
whether the label is in single line mode. ... The accessor for the use-markup slot gets or sets whether
the text of the label is interpreted as marked up with the Pango text
markup language. ... The accessor for the use-underline slot gets or sets
whether an embedded underline in the label indicates a mnemonic. ... The accessor for the width-chars slot gets or sets the
desired width of the label, in characters. ... The accessor for the xalign slot gets or sets the
horizontal alignment of the label inside the size allocation of the label. ... The accessor for the yalign slot gets or sets the vertical
alignment of the label text inside the size allocation of the label. ...
Creates a new label with the given text inside it. ...
Gets or sets the text of a label, as displayed on the screen. ... Parses text which is marked up with the Pango text markup language,
setting the text of the label and attribute list based on the parse results. ... Sets the text of the label from the string text. ... Parses text which is marked up with the Pango text markup language. ...
Gets the Pango layout used to display the label. ... Obtains the coordinates where the label will draw the pango:layout
object representing the text in the label. ...
Selects a range of characters in the label, if the label is selectable. ...
Gets the selected range of characters in the label. ...
Returns the URI for the currently active link in the label. ... GtkInscription The different methods to handle text in the gtk:inscription widget
when it does not fit the available space. ... The gtk:inscription widget is a widget to show text in a predefined
area. ... The accessor for the attributes slot gets or sets
the attribute list of the inscription. ... The accessor for the markup slot is an utility
function to set the text and attributes to be displayed. ... The accessor for the min-chars slot gets or sets
the number of characters that should fit into the inscription at minimum. ... The accessor for the min-lines slot gets or sets
the number of lines that should fit into the inscription at minimum. ... The accessor for the nat-chars slot gets or sets
the number of characters that should ideally fit into the inscription. ... The accessor for the nat-lines slot gets or sets
the number of lines that should ideally fit into the inscription. ... The accessor for the text-overflow slot gets or
sets the overflow method to use for the text. ... The accessor for the xalign slot gets or sets the
horizontal alignment of the text inside the allocated size. ... The accessor for the yalign slot gets or sets the
vertical alignment of the text inside the allocated size. ... Creates a new gtk:inscription widget with the given text. ... GtkImage The accessor for the pixel-size slot gets or sets the pixel size used for named icons of :icon-name type. ... The accessor for the resource slot gets or sets a path
to the resource file for the image to display. ... The accessor for the storage-type slot gets or sets the type of representation being used by the gtk:image widget to store
image data. ... The accessor for the use-fallback slot gets or sets whether the icon displayed in the gtk:image widget will use standard
icon names fallback. ... Creates a new empty image. ... Creates a new image that displays the file loaded from path. ... Creates an image that displays the resource loaded from resource. ... Creates an image that displays the given pixbuf. ... Creates a new image that displays the given paintable. ...
Creates an image that displays an icon from the current icon theme. ...
Creates an image that displays an icon from the current icon theme. ... Resets the image to be empty. ... Sets the image to display the given file. ... Sets the image to display the given resource. ... Sets the image to display the given pixbuf. ... Sets the image to display the given paintable. ... Sets the image to display the given name. ...
Sets the image to display the themed icon. ... GtkPicture
Controls how a content should be made to fit inside an allocation. ... The accessor for the alternative-text slot gets or sets
the alternative textual description of the picture. ... The accessor for the can-shrink slot gets or sets
whether the picture can be made smaller than the natural size of its
contents. ... The accessor for the content-fit slot gets or sets the
fit mode for the content of the picture. ... The accessor for the file slot gets or sets the file
displayed if the picture is displaying a file. ... The accessor for the isolate-contents slot gets or sets
whether the contents are isolated. ... The accessor for the keep-aspect-ratio slot gets or
sets whether the picture will render its contents trying to preserve the
aspect ratio of the contents. ... Creates a new empty picture. ... Creates a new picture displaying paintable. ... Creates a new picture displaying pixbuf. ...
Creates a new picture displaying the given file. ... Creates a new picture displaying the file filename. ... Creates a new picture displaying the resource at path. ... See the gtk:picture-new-for-pixbuf function for details. ... Makes the picture load and display the given filename. ...
Makes the picture load and display the resource at the given resource path. ... GtkSpinner The gtk:spinner widget displays an icon size spinning animation. ... Returns a new spinner. ... Starts the animation of the spinner. ... Stops the animation of the spinner. ... GtkProgressBar The gtk:progress-bar widget is typically used to display the
progress of a long running operation. ... The accessor for the ellipsize slot gets or sets
the mode used to ellipsize the text if there is not enough space to render
the entire string. ... The accessor for the fraction slot gets or sets
the fraction of total work that has been completed. ... The accessor for the inverted slot gets or sets
the invert direction in which the progess bar grows. ... The accessor for the pulse-step slot gets or sets
the fraction of total progress bar length to move the bouncing block for each call to the gtk:progress-bar-pulse function. ... The accessor for the show-text slot gets or sets
whether the progress bar will show text superimposed over the progress bar. ... The accessor for the text slot gets or sets the
text displayed superimposed on the progress bar. ... Creates a new progress bar. ...
Indicates that some progress has been made, but you do not know how much. ... GtkLevelBar Describes how the gtk:level-bar widget contents should be rendered. ... The gtk:level-bar widget is a level bar widget that can be used as
a level indicator. ... The accessor for the max-value slot gets or sets the
maximum value of the interval that can be displayed by the level bar. ... The accessor for the min-value slot gets or sets the
miminum value of the interval that can be displayed by the level bar. ... The accessor for the mode slot gets or sets the way
a level bar interprets the value properties to draw the level fill area. ... Creates a new level bar. ...
Utility constructor that creates a new level bar for the specified interval. ...
Adds a new offset marker on the level bar at the position specified by value. ...
Removes an offset marker previously added with the gtk:level-bar-add-offset-value function. ... Fetches the value specified for the offset marker name in the level bar, returning nil in case an offset named name was not found. ... GtkCalendar The gtk:calendar widget displays a Gregorian calendar, one month at
a time. ... The accessor for the day slot gets or sets the
selected day as a number between 1 and 31, or 0 to unselect the currently
selected day. ... The accessor for the show-day-names slot gets or sets
whether day names are displayed. ... The accessor for the show-heading slot gets or sets
whether a heading is displayed. ... The accessor for the show-week-numbers slot gets or
sets whether week numbers are displayed. ...
Creates a new calendar, with the current date being selected. ...
Will switch to the year and month of the date and select its day. ...
Places a visual marker on a particular day. ...
Removes the visual marker from a particular day. ...
Returns if the day of the calendar is already marked. ...
Remove all visual markers. ... Buttons and TogglesGtkButton The gtk:button widget is generally used to trigger a callback
function that is called when the button is pressed. ... The accessor for the can-shrink slot gets or sets
whether the button can be smaller than the natural size of its contents. ... The accessor for the icon-name slot returns the icon name of the button, or adds a gtk:image widget with the given icon
name as a child widget. ... The accessor for the use-underline slot gets or sets
whether underlines are interpreted as mnemonics. ...
Creates a new empty button. ...
Creates a new button containing an icon from the current icon theme. ... GtkToggleButtonGtkCheckButton The gtk:check-button widget places a label next to an indicator. ... The accessor for the inconsistent slot gets or
sets whether the check button is in an "in between" state. ... The accessor for the use-underline slot gets or
sets whether underlines in the label indicate mnemonics. ... Creates a new check button. ... GtkMenuButton
Used to indicate the direction in which an arrow should point in a gtk:menu-button widget. ... The gtk:menu-button widget is used to display a popup when clicked
on. ... The accessor for the always-show-arrow slot gets or
sets whether to show a dropdown arrow even when using an icon or a custom
child. ... The accessor for the direction slot gets or sets
the direction the popup will be pointing at when popped up. ... The accessor for the menu-model slot gets or sets
the menu model used to generate the popup. ... The accessor for the use-underline slot gets or
sets whether an embedded underline in the text indicates a mnemonic. ...
Creates a new menu button with downwards pointing arrow as the only child. ... Pop up the menu. ... Dismiss the menu. ... User-provided callback function to create a popup for button on
demand. ... Sets func to be called when a popup is about to be shown. ... GtkLinkButton The gtk:link-button widget is a gtk:button widget with a
hyperlink, similar to the one used by web browsers, which triggers an
action when clicked. It is useful to show quick links to resources. ... The accessor for the visited slot gets or sets the
"visited" state of the URI where the link button points. ... Creates a new link button with the URI as its text. ... Creates a new link button containing a label. ... GtkScaleButton The gtk:scale-button widget provides a button which pops up a scale
widget. ... The accessor for the adjustment slot gets or sets
the adjustment associated with the scale button. ... Retrieves the popup of the scale button. ... Retrieves the plus button of the scale button. ... Retrieves the minus button of the scale button. ... GtkSwitchNumeric and Text Data EntryGtkEditable The gtk:editable interface is an interface which should be implemented by text editing widgets, such as the gtk:entry and gtk:spin-button widgets. ... The accessor for the cursor-position slot returns the
current position of the insertion cursor in chars. ... The accessor for the editable slot gets or sets
whether the contents of the editable widget can be edited. ... The accessor for the enable-undo slot gets or sets
whether undo/redo actions are enabled for the editable widget. ... The accessor for the max-width-chars slot gets or sets
the desired maximum width of the editable widget, in characters. ... The accessor for the selection-bound slot gets the
position of the opposite end of the selection from the cursor in chars. ... The accessor for the width-chars slot gets or sets the
value of the width in chars. ... The accessor for the xalign slot gets or sets the
horizontal alignment, from 0.0 (left) to 1.0 (right). ...
Retrieves a sequence of characters. ...
Deletes a sequence of characters. ...
Retrieves the selection bounds of the editable widget. ...
Selects a region of text. ...
Deletes the currently selected text of the editable widget. ...
Gets or sets the position of the cursor relative to the start of the content
of the editable widget. ...
Gets or sets the value of the horizontal alignment of the editable widget. ... GtkEntryBuffer The accessor for the max-length slot gets or sets
the maximum number of characters allowed in the entry buffer. ...
Create a new entry buffer. ...
Retrieves the length in bytes of the entry buffer. ...
Inserts text into the contents of the entry buffer, at the given position. ...
Deletes a sequence of characters from the entry buffer. ... Emits the "deleted-text" signal on the entry buffer. ... Emits the "inserted-text" signal on the entry buffer. ... GtkText The accessor for the activates-default slot gets or sets whether to activate the default widget, when Enter is pressed. ... The accessor for the attributes slot gets or sets the
attribute list of the text entry. ... The accessor for the buffer slot gets or sets the entry
buffer which actually stores the text of the text entry. ... The accessor for the enable-emoji-completion slot gets or
sets whether Emoji completion is enabled for the text entry. ... The accessor for the extra-menu slot gets or sets the menu
model to add when constructing the context menu for the text entry. ... The accessor for the im-module slot gets or sets the
IM (Input Method) module that should be used for the text entry. ... The accessor for the input-hints slot gets or sets the additional hints, beyond the input-purpose property, that
allow input methods to fine-tune their behaviour. ... The accessor for the input-purpose slot gets or sets the
purpose of the text entry, which can be used by on-screen keyboards and
other input methods to adjust their behaviour. ... The accessor for the invisible-char slot gets or sets the
character to use when masking the content of the text entry in
"password mode". ... The accessor for the invisible-char-set slot gets or sets
whether the invisible char has been set for the text entry. ... The accessor for the max-length slot gets or sets the
maximum allowed length of the text in the text entry. ... The accessor for the overwrite-mode slot whether the text
is overwritten when typing in the text entry. ... The accessor for the placeholder-text slot gets or sets
the text that will be displayed when the text entry is empty and unfocused. ... The accessor for the propagate-text-width slot gets or sets
whether the text entry will grow and shrink with the content. ... The accessor for the scroll-offset slot gets or sets the
number of pixels the text entry scrolled off the screen to the left. ... The accessor for the tabs slot gets or sets the list of
tabstops to apply to the text of the text entry. ... The accessor for the truncate-multiline slot gets or sets
whether the text entry will truncate multi-line text that is pasted into
the widget. ... The accessor for the visibility slot gets or sets whether
the text in the text entry is visible. ... Creates a new text widget. ... Creates a new text widget with the specified entry buffer. ...
Unsets the invisible char previously set with the gtk:text-invisible-char function, so that the default invisible char
is used again. ... Retrieves the current length of the text in entry. ...
Causes the text widget to have keyboard focus. ...
Determine the positions of the strong and weak cursors if the insertion point in the layout is at position. ... GtkEntry
Specifies the side of the text entry at which an icon is placed. ... The accessor for the activates-default slot gets or sets whether to activate the default widget, when the Enter key is pressed. ... The accessor for the attributes slot gets or sets the
list of Pango attributes to apply to the text of the text entry. ... The accessor for the buffer slot gets or sets the entry
buffer which holds the text for the text entry. ... The accessor for the completion slot gets or sets the
auxiliary completion object currently in use by the text entry. ... The accessor for the enable-emoji-completion slot gets or
sets whether to suggest Emoji replacements. ... The accessor for the extra-menu slot gets or sets the
menu model whose contents will be appended to the context menu. ... The accessor for the im-module slot gets or sets the IM
(Input Method) module that should be used for the text entry. ... The accessor for the input-hints slot gets or sets the additional hints, beyond the input-purpose property, that
allow input methods to fine-tune their behaviour. ... The accessor for the input-purpose slot gets or sets the
purpose of the text entry. ... The accessor for the invisible-char slot gets or sets the
invisible character used when masking the text entry contents in
"password mode". ... The accessor for the invisible-char-set slot gets or sets
whether the invisible char has been set for the text entry. ... The accessor for the max-length slot gets or sets the
maximum allowed length of the text in the text entry. ... The accessor for the menu-entry-icon-primary-text slot. ... The accessor for the menu-entry-icon-secondary-text slot. ... The accessor for the overwrite-mode slot gets or sets
whether text is overwritten when typing in the text entry. ... The accessor for the placeholder-text slot gets or sets
the text that will be displayed when the text entry is empty and unfocused. ... The accessor for the primary-icon-activatable slot gets
or sets whether the primary icon is activatable. ... The accessor for the primary-icon-gicon slot gets or sets
the icon to use as the primary icon for the text entry. ... The accessor for the primary-icon-name slot gets or sets
the icon name from the current icon theme to use as the primary icon for
the text entry. ... The accessor for the primary-icon-paintable slot gets or
sets a paintable to use as the primary icon for the text entry. ... The accessor for the primary-icon-sensitive slot gets or
sets whether the primary icon is sensitive. ... The accessor for the primary-icon-storage-type slot gets
or sets the representation which is used for the primary icon of the text
entry. ... The accessor for the primary-icon-tooltip-markup slot
gets or sets the contents of the tooltip on the primary icon, which is
marked up with the Pango text markup language. ... The accessor for the primary-icon-tooltip-text slot gets
or sets the contents of the tooltip on the primary icon. ... The accessor for the progress-fraction slot gets or sets
the current fraction of the task that is been completed. ... The accessor for the progress-pulse-step slot gets or
sets the fraction of total text entry width to move the progress bouncing block for each call to the gtk:entry-progress-pulse function. ... The accessor for the scroll-offset slot gets or sets the
number of pixels the text entry is scrolled off the screen to the left. ... The accessor for the secondary-icon-activatable slot gets
or sets whether the secondary icon is activatable. ... The accessor for the secondary-icon-gicon slot gets or
sets the icon to use as the secondary icon for the text entry. ... The accessor for the secondary-icon-name slot the icon
name from the current icon theme to use as the secondary icon for the text
entry. ... The accessor for the secondary-icon-paintable slot gets
or sets the paintable to use as the secondary icon for the text entry. ... The accessor for the secondary-icon-sensitive slot gets
or sets whether the secondary icon is sensitive. ... The accessor for the secondary-icon-storage-type slot
gets or sets the representation which is used for the secondary icon of the
text entry. ... The accessor for the secondary-icon-tooltip-markup slot
gets or sets the contents of the tooltip on the secondary icon, which is
marked up with the Pango text markup language. ... The accessor for the secondary-icon-tooltip-text slot
gets or sets the contents of the tooltip on the secondary icon. ... The accessor for the show-emoji-icon slot gets or sets
whether to show an icon for Emoji. ... The accessor for the tabs slot gets or sets the list of
tabstop locations to apply to the text of the text entry. ... The accessor for the text-length slot gets the length of
the text in the text entry. ... The accessor for the truncate-multiline slot gets or sets
whether pasted multi-line text is truncated to the first line. ... The accessor for the visibility slot gets or sets whether
the text in the text entry is visible. ... Creates a new text entry. ...
Creates a new text entry with the specified entry buffer. ...
Unsets the invisible char previously set with the gtk:entry-invisible-char function. ...
This controls the horizontal positioning of the contents when the displayed
text is shorter than the width of the text entry. ...
Indicates that some progress is made, but you do not know how much. ...
Reset the input method context of the text entry if needed. ...
Sets the icon shown in the specified position using a paintable. ...
Sets the icon shown in the text entry at the specified position from the
current icon theme. ...
Sets the icon shown in the text entry at the specified position from the
current icon theme. ...
Gets the type of representation being used by the icon to store image data. ...
Retrieves the paintable used for the icon. ... Retrieves the icon name used for the icon, or nil if there is no icon
or if the icon was set by some other method, for example, by paintable, or
gicon. ... Retrieves the g:icon object used for the icon, or nil if
there is no icon or if the icon was set by some other method, for example,
by paintable, or icon name. ...
Gets or sets whether the icon is activatable. ...
Gets or sets whether the icon appears sensitive or insensitive. ...
Finds the icon at the given position and return its index. ...
Gets or sets the contents of the tooltip on the icon at the specified
position in the text entry. ...
Gets or sets the contents of the tooltip on the icon at the specified
position in the text entry. ...
Sets up the icon at the given position so that GTK will start a drag
operation when the user clicks and drags the icon. ...
Returns the index of the icon which is the source of the current DND
operation, or -1. ... Gets the area where the icon of the text entry at pos is drawn. ...
Causes the text entry to have keyboard focus. ... GtkPasswordEntry The gtk:entry-buffer object that locks the underlying memory to
prevent it from being swapped to disk. ... Creates a new gtk:entry-buffer object using secure memory
allocations. ... The gtk:password-entry class is a text entry that has been tailored
for entering secrets. ... The accessor for the activates-default slot gets or sets whether to activate the default widget, when the Enter key is
pressed. ... The accessor for the extra-menu slot gets or
sets the menu model whose contents will be appended to the context menu for
the password entry. ... The accessor for the placeholder-text slot gets
or sets the text that will be displayed when the password entry is empty
and unfocused. ... The accessor for the show-peek-icon slot gets or
sets whether the password entry is showing a clickable icon to reveal the
contents of the password entry in clear text. ... Creates a password entry. ... GtkScale The accessor for the draw-value slot gets or sets whether
the current value is displayed as a string next to the slider. ... The accessor for the has-origin slot gets or sets whether
the scale has an origin. ... The accessor for the value-pos slot gets or sets the
position in which the current value is displayed. ... Creates a new scale widget. ... Creates a new scale widget with the given orientation that lets the user input a number between min and max, including min and max, with the increment step. ...
The callback function that formats the value of a scale. ... The func callback function allows you to change how the scale value
is displayed. ... Gets the Pango layout used to display the current value of the scale. ...
Obtains the coordinates where the scale will draw the Pango layout
representing the text in the scale. ... Adds a mark at value. ... Removes any marks that have been added with the gtk:scale-add-mark
function. ... GtkSpinButton
The spin button update policy determines whether the spin button displays
values even if they are outside the bounds of its adjustment. ... The values of the gtk:spin-type enumeration are used to specify the change to make in the gtk:spin-button-spin function. ... The gtk:spin-button widget is an ideal way to allow the user to set
the value of some attribute. ... The accessor for the activates-default slot gets or
sets whether activating the spin button will activate the default widget
for the window containing the spin button. ... The accessor for the adjustment slot gets or sets
the adjustment associated with a spin button. ... The accessor for the climb-rate slot gets or sets
the acceleration rate when you hold down a button. ... The accessor for the numeric slot gets or sets
whether non numeric text can be typed into the spin button. ... The accessor for the snap-to-ticks slot gets or
sets the policy as to whether values are corrected to the nearest step
increment when a spin button is activated after providing an invalid value. ... The accessor for the update-policy slot gets or
sets the update behavior of a spin button. ... The accessor for the wrap slot gets or sets whether
the value of the spin button wraps around to the opposite limit when the
upper or lower limit of the range is exceeded. ...
Creates a new spin button. ...
This is a convenience constructor that allows creation of a numeric
spin button without manually creating an adjustment. ...
This function gets or sets the step and page increments used by the
spin button. ...
Gets or sets the minimum and maximum allowed values for the spin button. ... Gets the value of the spin button represented as an integer. ...
Changes the properties of an existing spin button. ...
Increment or decrement the value of the spin button in a specified
direction by a specified amount. ... Manually force an update of the spin button. ... GtkSearchEntry The gtk:search-entry widget is a text entry that has been tailored
for use as a search entry. ... The accessor for the activates-default slot gets or sets whether to activate the default widget, when the Enter key is
pressed. ... The accessor for the input-hints slot gets or sets
the input hints for the search entry. ... The accessor for the input-purpose slot gets or
sets the input purpose of the search entry. ... The accessor for the key-capture-widget slot gets or sets widget as the widget that the search entry will capture key
events from. ... The accessor for the placeholder-text slot gets or
sets the text that will be displayed when the search entry is empty and
unfocused. ... The accessor for the search-delay slot gets or
sets the delay to be used between the last keypress and the "search-changed" signal being emitted. ...
Creates a search entry, with a find icon when the search field is empty,
and a clear icon when it is not. ... GtkSearchBar The gtk:search-bar widget is a container made to have a search
entry. ... The accessor for the key-capture-widget slot gets or
sets the widget that the search bar is capturing key events from. ... The accessor for the search-mode-enabled slot gets
or sets whether the search mode is on and the search bar shown. ... The accessor for the show-close-button slot gets or
sets whether the Close button is shown. ...
Creates a search bar. ...
Connects the text entry passed as the one to be used in the search bar. ... GtkEditableLabelMultiline Text EditorConceptual Overview
GTK has a powerful framework for multiline text editing. The primary objects involved in the process are the gtk:text-buffer object, which represents the text being edited, and the gtk:text-view widget, a widget that can display a gtk:text-buffer object. Each
text buffer can be displayed by any number of views. One of the important things to remember about text in GTK is that it is in the UTF-8 encoding. This means that one character can be encoded as multiple bytes. Character counts are usually referred to as offsets, while byte counts are called indexes. If you confuse these two, things will work fine with ASCII, but as soon as your text buffer contains multibyte characters, bad things will happen. Text in a text buffer can be marked with tags. A tag is an attribute that can be applied to some range of text. For example, a tag might be called "bold" and make the text inside the tag bold. However, the tag concept is more general than that. Tags do not have to affect appearance. They can instead affect the behavior of mouse and key presses, "lock" a range of text so the user cannot edit it, or countless other things. A tag is represented by a gtk:text-tag object. One gtk:text-tag object can be applied to any number of text ranges in any number of text buffers. Each tag is stored in a gtk:text-tag-table object. A tag table defines a set of tags that can be used together. Each text buffer has one tag table associated with it. Only tags from that tag table can be used with the text buffer. A single tag table can be shared between multiple text buffers, however. Tags can have names, which is convenient sometimes. For example, you can name your tag that makes things bold "bold", but they can also be anonymous, which is convenient if you are creating tags on-the-fly. Most text manipulation is accomplished with iterators, represented by a gtk:text-iter instance. An iterator represents a position between two characters in the text buffer. The gtk:text-iter structure is a structure designed to be allocated on the stack. It is guaranteed to be copiable by value and never contain any heap-allocated data. Iterators are not valid indefinitely. Whenever the text buffer is modified in a way that affects the number of characters in the text buffer, all outstanding iterators become invalid. Note that deleting 5 characters and then reinserting 5 still invalidates iterators, though you end up with the same number of characters you pass through a state with a different number. Because of this, iterators cannot be used to preserve positions across buffer modifications. To preserve a position, the gtk:text-mark object is ideal. You can think of a mark as an invisible cursor or insertion point. It floats in the text buffer, saving a position. If the text surrounding the mark is deleted, the mark remains in the position the text once occupied. If text is inserted at the mark, the mark ends up either to the left or to the right of the new text, depending on its gravity. The standard text cursor in left-to-right languages is a mark with right gravity, because it stays to the right of inserted text. Like tags, marks can be either named or anonymous. There are two marks built-in to the gtk:text-buffer class. These are named "insert" and "selection_bound" and refer to the insertion point and the boundary of the selection which is not the insertion point, respectively. If no text is selected, these two marks will be in the same position. You can manipulate what is selected and where the cursor appears by moving these marks around. If you want to place the cursor in response to a user action, be sure to use the gtk:text-buffer-place-cursor function, which moves both at once without causing a temporary selection. Moving one then the other temporarily selects the range in between the old and new positions. Text buffers always contain at least one line, but may be empty, that is, buffers can contain zero characters. The last line in the text buffer never ends in a line separator (such as newline). The other lines in the text buffer always end in a line separator. Line separators count as characters when computing character counts and character offsets. Note that some Unicode line separators are represented with multiple bytes in UTF-8, and the two-character sequence "\r\n" is also considered a line separator. Simple ExampleA simple usage of the gtk:text-view widget might look like this:
(defun do-text-view-simple (&optional application)
(let* ((textview (make-instance 'gtk:text-view
:wrap-mode :word
:top-margin 6
:top-bottom 6
:left-margin 6
:right-margin 6))
(window (make-instance 'gtk:window
:application application
:child textview
:title "Simple Text View"
:default-width 350
:default-height 200))
(buffer (gtk:text-view-buffer textview)))
(g:signal-connect window "close-request"
(lambda (widget)
(declare (ignore widget))
(let ((start (gtk:text-buffer-start-iter buffer))
(end (gtk:text-buffer-end-iter buffer))
(include-hidden-chars t))
(print (gtk:text-buffer-get-text buffer
start
end
include-hidden-chars))
(terpri))))
(setf (gtk:text-buffer-text buffer) *lorem-ipsum-short*)
(gtk:window-present window)))
In many cases it is also convenient to first create the text buffer with the gtk:text-buffer-new function, then create a text view for that text buffer with the gtk:text-view-new-with-buffer function. Or you
can change the text buffer the text view displays after the text view is created with the gtk:text-view-buffer function.Example of Changing Text AttributesThe way to affect text attributes in the gtk:text-view widget is to apply tags that change the attributes for a region of text. For text features that come from the theme - such as font and foreground color - use CSS to override their default values.
(defun do-text-view-attributes (&optional application)
(let* ((textview (make-instance 'gtk:text-view
;; Change left margin throughout the widget
:left-margin 24
;; Change top margin
:top-margin 12))
(window (make-instance 'gtk:window
:application application
:child textview
:title "Text View Attributes"
:default-width 350
:default-height 200))
(provider (gtk:css-provider-new))
(buffer (gtk:text-view-buffer textview)))
(setf (gtk:text-buffer-text buffer) "Hello, this is some text.")
;; Load CSS from data into the provider and apply CSS
(gtk:css-provider-load-from-string provider
".viewstyle textview {
color : Green;
font : 20px Purisa; }")
(gtk:widget-add-css-class window "viewstyle")
(gtk:widget-add-provider window provider)
;; Use a tag to change the color for just one part of the text view
(let ((tag (gtk:text-buffer-create-tag buffer
"blue_foreground"
:foreground "blue"))
(start (gtk:text-buffer-iter-at-offset buffer 7))
(end (gtk:text-buffer-iter-at-offset buffer 12)))
;; Apply the tag to a region of the text in the buffer
(gtk:text-buffer-apply-tag buffer tag start end))
;; Show the window
(gtk:window-present window)))
The GTK4 demo that comes with GTK contains more example code for the gtk:text-view widget. GtkTextIterFlags affecting how a search is done. ...
Most text manipulation is accomplished with iterators, represented by a gtk:text-iter instance. ... Returns a newly allocated iterator. ... Returns the text buffer this iterator is associated with. ... Creates a copy of an iterator. ... The gtk:text-iter-offset function returns the character offset of an
iterator. ... The gtk:text-iter-line function returns the line number containing
the iterator. ... The gtk:text-iter-line-offset function returns the character offset
of the iterator, counting from the start of a newline-terminated line. ... The gtk:text-iter-line-index function returns the byte index of the
iterator, counting from the start of a newline-terminated line. ... Returns a Unicode character at this iterator, or #\Nul if the
iterator is not dereferenceable. ...
Returns a string for the text in the given range. ...
Returns a string for the text in the given range. ...
If the element at the iterator is a paintable, the paintable is returned. ...
Returns a list of all text marks at this location. ...
Returns a list of tags that are toggled on or off at this point. ...
If the location at the iterator contains an anchor, the anchor is returned. ... Returns true if the tag is toggled on at exactly this point. ... Returns true if tag is toggled off at exactly this point. ... Tells you whether a range with tag applied to it begins or ends at
the iterator. ... Returns true if the iterator is within a range tagged with tag. ...
Returns a list of tags that apply to the iterator. ...
Returns whether the character at the iterator is within an editable region
of text. ...
Considering the default editability of the text buffer, and tags that affect
editability, determines whether text inserted at the iterator would be
editable. ...
Determines whether the iterator begins a natural-language word. ...
Determines whether the iterator ends a natural-language word. ...
Determines whether the iterator is inside a natural-language word, as
opposed to say inside some whitespace. ... Returns true if the iterator begins a paragraph, for example, if the gtk:text-iter-line-offset function would return 0. ... Returns true if the iterator points to the start of the paragraph
delimiter characters for a line. ...
Determines whether the iterator begins a sentence. ...
Determines whether the iterator ends a sentence. ...
Determines whether the iterator is inside a sentence, as opposed to in
between two sentences, for example, after a period and before the first
letter of the next sentence. ... See the gtk:text-iter-move function with the :cursor-position value for the by keyword argument, the pango:log-attr structure or the pango:default-break function for details on what a cursor
position is. ...
Returns the number of characters in the line containing the iterator,
including the paragraph delimiters. ...
Returns the number of bytes in the line containing the iterator, including
the paragraph delimiters. ...
Returns the language in effect at the iterator. ... Returns true if the iterator is the end iterator, that is, one past
the last dereferenceable iterator in the text buffer. ... Returns true if the iterator is the first iterator in the text buffer,
that is if the iterator has a character offset of 0. ...
This is a convenience function of the Lisp implementation, which replaces
the functions to move the iterator in the text buffer. ...
Moves the iterator forward to the "end iterator", which points one past
the last valid character in the text buffer. ...
Moves the iterator to point to the paragraph delimiter characters, which
will be either a newline, a carriage return, a carriage return/newline in
sequence, or the Unicode paragraph separator character. ... Moves forward to the next toggle (on or off) of tag, or to the next toggle of any tag if tag is nil. ... Moves backward to the next toggle (on or off) of the tag, or to the next toggle of any tag if tag is nil. ... The callback function used by the gtk:text-iter-find-char function to
search a char in the text buffer. ... Advances the iterator, calling the pred function on each character. ...
Tests whether two iterators are equal, using the fastest possible mechanism. ... A qsort()-style function that returns negative if lhs is less than rhs, positive if lhs is greater than rhs, and 0 if
they are equal. ... GtkTextTag A tag that can be applied to text contained in a gtk:text-buffer
object. ... The accessor for the accumulative-margin slot gets or
sets whether the margins accumulate or override each other. ... The accessor for the allow-breaks slot gets or sets
whether breaks are allowed. ... The accessor for the allow-breaks-set slot gets or
sets whether this tag affects line breaks. ... The accessor for the background slot sets the
background color as a string. ... The accessor for the background-full-height slot gets
or sets whether the background color fills the entire line height or only
the height of the tagged characters. ... The accessor for the background-full-height-set slot
gets or sets whether this tag affects background height. ... The accessor for the background-rgba slot gets or sets
the background color. ... The accessor for the background-set slot gets or sets
whether this tag affects the background color. ... The accessor for the editable-set slot gets or sets
whether this tag affects text editability. ... The accessor for the fallback-set slot gets or sets
whether this tag affects font fallback. ... The accessor for the family slot gets or sets the name
of the font family, for example, Sans, Helvetica, Times, Monospace. ... The accessor for the family-set slot gets or sets
whether this tag affects the font family. ... The accessor for the font slot gets or sets the font
description as string, for example, "Sans Italic 12". ... The accessor for the font-desc slot gets or sets the
font description as a Pango font description. ... The accessor for the font-features slot gets or sets
the OpenType font features, as a string. ... The accessor for the font-features-set slot gets or
sets whether this tag affects font features. ... The accessor for the foreground slot gets the
foreground color as a string. ... The accessor for the foreground-rgba slot gets or sets
the foreground color. ... The accessor for the foreground-set slot gets or sets
whether this tag affects the foreground color. ... The accessor for the indent-set slot gets or sets
whether this tag affects indentation. ... The accessor for the insert-hyphens slot gets or sets
whether to insert hyphens at breaks. ... The accessor for the insert-hyphens-set slot gets or
sets whether this tag affects insertion of hyphens. ... The accessor for the invisible-set slot gets or sets
whether this tag affects text visibility. ... The accessor for the justification slot gets or sets
the left, right, or center justification. ... The accessor for the justification-set slot gets or
sets whether this tag affects paragraph justification. ... The accessor for the language-set slot gets or sets
whether this tag affects the language the text is rendered as. ... The accessor for the left-margin slot gets or sets
the width of the left margin in pixels. ... The accessor for the left-margin-set slot gets or sets
whether this tag affects the left margin. ... The accessor for the letter-spacing slot gets or sets
the extra spacing between graphemes, in Pango units. ... The accessor for the letter-spacing-set slot gets or
sets whether this tag affects letter spacing. ... The accessor for the line-height slot gets or sets the
factor to scale line height by. ... The accessor for the line-height-set slot gets or sets
whether this tag affects line height. ... The accessor for the overline-rgba slot gets or sets
the color of overline for this text. ... The accessor for the overline-rgba-set slot gets or
sets whether this tag affects overlining color. ... The accessor for the overline-set slot gets or sets
whether this tag affects overlining. ... The accessor for the paragraph-background slot gets or
sets the paragraph background color as a string. ... The accessor for the paragraph-background-rgba slot
gets or sets the paragraph background color. ... The accessor for the paragraph-background-set slot
gets or sets whether this tag affects the paragraph background color. ... The accessor for the pixels-above-lines slot gets or
sets the pixels of blank space above paragraphs. ... The accessor for the pixels-above-lines-set slot gets
or sets whether this tag affects the number of pixels above lines. ... The accessor for the pixels-below-lines slot gets or
sets the pixels of blank space below paragraphs. ... The accessor for the pixels-below-lines-set slot gets
or sets whether this tag affects the number of pixels below lines. ... The accessor for the pixels-inside-wrap slot gets or
sets the pixels of blank space between wrapped lines in a paragraph. ... The accessor for the pixels-inside-wrap-set slot gets
or sets whether this tag affects the number of pixels between wrapped lines. ... The accessor for the right-margin slot gets or sets
the width of the right margin in pixels. ... The accessor for the right-margin-set slot gets or
sets whether this tag affects the right margin. ... The accessor for the rise slot gets or sets the
offset of text above the baseline, below the baseline if rise is negative,
in Pango units. ... The accessor for the scale slot gets or sets the
font size as a scale factor relative to the default font size. ... The accessor for the scale-set slot gets or sets
whether this tag scales the font size by a factor. ... The accessor for the sentence-set slot gets or sets whether this tag affects the sentence property. ... The accessor for the show-spaces slot gets or sets
how to render invisible characters. ... The accessor for the show-spaces-set slot gets or
sets whether this tag affects rendering of invisible characters. ... The accessor for the size-points slot gets or sets
the font size in points. ... The accessor for the stretch slot gets or sets the font stretch as a value of the pango:stretch enumeration, for example, the :condensed value. ... The accessor for the stretch-set slot gets or sets
whether this tag affects the font stretch. ... The accessor for the strikethrough slot gets or sets
whether to strike through the text. ... The accessor for the strikethrough-rgba slot gets or
sets the color of strikeouts. ... The accessor for the strikethrough-rgba-set slot gets or sets whether the strikethrough-rgba property has
been set. ... The accessor for the strikethrough-set slot gets or
sets whether this tag affects strikethrough. ... The accessor for the style slot gets or sets the font style as a value of the pango:style enumeration, for example, the :italic value. ... The accessor for the text-transform slot gets or sets
how to transform the text for display. ... The accessor for the text-transform-set slot gets or sets whether this tag affects the text-transform
property. ... The accessor for the underline-rgba slot gets or sets
the color of underlines. ... The accessor for the underline-rgba-set slot gets or sets whether the underline-rgba property has been set. ... The accessor for the underline-set slot gets or sets
whether this tag affects underlining. ... The accessor for the variant slot gets or sets the font variant as a value of the pango:variant enumeration, for example, the :small-caps value. ... The accessor for the variant-set slot gets or sets
whether this tag affects the font variant. ... The accessor for the weight slot gets or sets the font weight as an integer, see predefined values in the pango:weight enumeration, for example, the :bold value. ... The accessor for the weight-set slot gets or sets
whether this tag affects the font weight. ... The accessor for the word slot gets or sets whether
this tag represents a single word. This affects line breaks and cursor
movement. ... The accessor for the wrap-mode slot gets or sets
whether to wrap lines never, at word boundaries, or at character boundaries. ... The accessor for the wrap-mode-set slot gets or sets
whether this tag affects line wrap mode. ...
Creates a new tag. ...
Gets or sets the tag priority. ... GtkTextTagTable
A tag table defines a set of tags that can be used together. ...
Creates a new tag table. ...
Adds a tag to the tag table. ...
Remove a tag from the tag table. ...
Look up a named tag in the tag table. ... The callback function passed to the gtk:text-tag-table-foreach
function. ... Calls func on each tag in the tag table. ...
Returns the number of tags in the tag table. ... GtkTextMark The gtk:text-mark object is like a bookmark in a text buffer. ... The accessor for the left-gravity slot gets whether
the text mark has left gravity. ... The accessor for the name slot returns the name of the text mark or nil for anonymous text marks. ...
Creates a text mark. ...
Gets or sets the visibility of the text mark. ... Returns true if the text mark has been removed from its text buffer with the gtk:text-buffer-delete-mark function. ... Gets the text buffer this text mark is located inside, or nil if the
mark is deleted. ... GtkTextBuffer Values for the gtk:text-buffer-commit-notify callback function to
denote the point of the notification. ... Stores text and attributes for display in a gtk:text-view widget. ... The accessor for the cursor-position slot returns
the position of the insert mark, as offset from the beginning of the text
buffer. ... The accessor for the enable-undo slot gets or sets
whether the text buffer is saving modifications to the text buffer to allow
for undo and redo actions. ... The accessor for the has-selection slot returns
whether the text buffer has some text currently selected. ... The accessor for the text slot gets or sets the
text of the text buffer, without child widgets and images. ... Creates a new text buffer. ...
Loads a file into the given text buffer. ...
Obtains the number of lines in the text buffer. ...
Gets the number of characters in the text buffer. ...
Inserts text in the text buffer. ... Copies text, tags, and paintables between the start and end iterators, the order of start and end does not matter, and inserts the copy at the iter iterator. ... Inserts text into the text buffer at the position iter, applying the
list of tags to the newly inserted text. ... Inserts the text in markup at the position of the iterator. ... Inserts an image into the text buffer at iter. ...
Performs the appropriate action as if the user hit the delete key with the cursor at the position specified by iter. ... Inserts a child widget anchor into the text buffer at pos. ...
This is a convenience function which simply creates an anchor with the gtk:text-child-anchor-new function and inserts it into the text buffer with the gtk:text-buffer-insert-child-anchor function. ... Creates a mark at position pos. ... Moves the mark to the new location pos. ...
Adds the mark at the given position. ...
Deletes the mark, so that it is no longer located anywhere in the text
buffer. ... Returns the mark named name in the text buffer, or nil if
no such mark exists in the text buffer. ...
Returns the mark that represents the cursor (insertion point). ...
Returns the mark that represents the selection bound. ... Emits the "remove-tag" signal. ...
Creates a tag and adds it to the tag table for the text buffer. ... Initializes the returned iterator to a position offset chars from the
start of the entire text buffer. ...
Initializes the returned iterator to the start of the given line. ... Obtains an iterator pointing to index within the given line. ... Returns the iterator with the current position of mark. ... Obtains the location of anchor within the text buffer. ...
Returns an iterator with the first position in the text buffer. ...
Returns an iterator with the "end iterator", one past the last valid
character in the text buffer. ...
Retrieves the first and last iterators in the text buffer. ... Returns true if the text buffer has been modified. ... Deletes the range between the "insert" and "selection_bound" marks, that is, the currently selected text. ...
Pastes the contents of a clipboard. ...
Copies the currently selected text to the clipboard. ...
Copies the currently selected text to a clipboard, then deletes the text
if it is editable. ...
Get a content provider for this text buffer. ...
Called to indicate that the text buffer operations between here and a call to the gtk:text-buffer-end-user-action function are part of a single
user visible operation. ... Should be paired with a call to the gtk:text-buffer-begin-user-action
function. ...
Adds a clipboard to the list of clipboards in which the selection contents
of the text buffer are available. ...
Removes a clipboard added with the gtk:text-buffer-add-selection-clipboard function. ...
Gets or sets the maximum number of undo levels to perform. ...
Undoes the last undoable action on the text buffer, if there is one. ...
Redoes the next redoable action on the text buffer, if there is one. ...
Denotes the beginning of an action that may not be undone. ...
Denotes the end of an action that may not be undone. ...
The notification callback function used by the gtk:text-buffer-add-commit-notify function. ... Adds a gtk:text-buffer-commit-notify callback function to be called
when a change is to be made to the text buffer. ... Removes the gtk:text-buffer-commit-notify handler previously registered with the gtk:text-buffer-add-commit-notify function. ... GtkChildAnchor The gtk:text-child-anchor object is a spot in the text buffer where
child widgets can be "anchored", inserted inline, as if they were
characters. ... Creates a new gtk:text-child-anchor object. ... Creates a new gtk:text-child-anchor object with the given
replacement character. ...
Gets a list of all widgets anchored at the anchor. ...
Determines whether a anchor has been deleted from the text buffer. ... GtkTextView Used to reference the layers of the gtk:text-view widget for the purpose of customized drawing with the ::snapshot_layer virtual
function. ... Used to reference the parts of the gtk:text-view widget. ...
Granularity types that extend the text selection. ... The class structure for the gtk:text-view class. ...
Virtual function table for a widget that is subclassed from the gtk:text-view class. ...
GTK has a powerful framework for multiline text editing. ... The accessor for the accepts-tab slot gets or sets the behavior of the text view when the Tab key is pressed. ... The accessor for the bottom-margin slot gets or sets
the bottom margin for text in the text view. ... The accessor for the cursor-visible slot gets or sets
whether the insertion mark is visible. ... The accessor for the extra-menu slot gets or sets a
menu model to add when constructing the context menu for the text view. ... The accessor for the im-module slot gets or sets the
IM (input method) module that should be used for the text view. ... The accessor for the indent slot gets or sets the
default indentation of paragraphs in the text view. ... The accessor for the input-hints slot gets or sets the additional hints, beyond the input-purpose
property, that allow input methods to fine-tune their behaviour. ... The accessor for the input-purpose slot gets or sets
the purpose of the text view, which can be used by on-screen keyboards and
other input methods to adjust their behaviour. ... The accessor for the justification slot gets or sets
the default justification of paragraphs in the text view. ... The accessor for the left-margin slot gets or sets
the default left margin size of paragraphs in the text view. ... The accessor for the overwrite slot gets or sets
whether the text view is in overwrite mode or not. ... The accessor for the pixels-above-lines slot gets or
sets the default number of pixels to put above paragraphs in the text view. ... The accessor for the pixels-below-lines slot gets or
sets the default number of pixels to put below paragraphs in the text view. ... The accessor for the pixels-inside-wrap slot gets or
sets the default number of pixels of blank space to leave between
display/wrapped lines within a paragraph. ... The accessor for the right-margin slot gets or sets
the default right margin for text in the text view. ... The accessor for the tabs slot gets or sets a copy of the default Pango tab array, or nil if "standard" tabs are used. ... The accessor for the top-margin slot gets or sets the
top margin for text in the text view. ...
Creates a new text view. ...
Creates a new text view displaying the text buffer. ...
Scrolls the text view so that the mark is on the screen in the position indicated by the xalign and yalign arguments. ...
Scrolls the text view so that the iterator is on the screen in the position indicated by the xalign and yalign arguments. ...
Scrolls the text view the minimum distance such that the mark is contained
within the visible area of the widget. ...
Moves a the mark within the text buffer so that it is located within the
currently visible text area. ...
Moves the cursor to the currently visible region of the text buffer, if it
is not there already. ...
The currently visible region of the text buffer, in text buffer coordinates. ...
Gets the x, y offset in buffer coordinates of the top-left corner of the
the text view contents. ...
Gets a rectangle which roughly contains the coordinates of the character at
the position of the iterator. ...
Given an iterator within a text layout, determine the positions of the
strong and weak cursors if the insertion point is at that iterator. ...
Converts the text buffer coordinates to window coordinates. ... Converts coordinates on the window identified by wtype to
text buffer coordinates. ... Moves the given iter by one display (wrapped) line. ... Determines whether iter is at the start of a display line. ...
Move the iterator a given number of characters visually, treating it as the
strong cursor position. ...
Adds a child widget in the text buffer, at the given anchor. ... Removes a child widget from the text view. ...
Updates the position of the child widget added with the gtk:text-view-add-overlay function. ...
Ensures that the cursor is shown, that is, not in an 'off' blink interval,
and resets the time that it will stay blinking, or visible, in case blinking
is disabled. ...
Allow the text view input method to internally handle key press and
release events. ...
Reset the input method context of the text view if needed. ...
Gets the Pango context that is used for rendering LTR directed text layouts. ...
Gets the Pango context that is used for rendering RTL directed text layouts. ... GListModel supportGtkBitset The gtk:bitset structure is a data structure for representing a set
of unsigned integers. ... Creates a new empty bitset. ... Creates a bitset with the given range set. ... Creates a copy of the bitset. ... Checks if the given value has been added to the bitset. ... Checks if no value is contained in the bitset. ...
Returns the smallest value in the bitset. ...
Returns the largest value in the bitset. ...
Gets the number of values that were added to the bitset. ... Returns the value of the nth item in the bitset. ...
Removes all values from the bitset so that it is empty again. ... Adds value to the bitset if it was not part of it before. ... Removes value from the bitset if it was part of it before. ... Adds the closed range [first,last], so the first value, the last value and all values in between. ... Removes the closed range [first,last], so the first value, the last value and all values in between. ...
Interprets the values as a 2-dimensional boolean grid with the given stride and inside that grid, adds a rectangle with the given width and height. ...
Interprets the values as a 2-dimensional boolean grid with the given stride and inside that grid, removes a rectangle with the given width and height. ... Sets bitset to be the union of bitset and other, that is add all values from other into bitset that were not part of it. ... Sets bitset to be the intersection of bitset and other, that is remove all values from bitset that are not part of other. ... Sets bitset to be the subtraction of bitset from other, that is remove all values from bitset that are part of other. ... Sets bitset to be the symmetric difference of bitset and other, that is set bitset to contain all values that were either contained in bitset or in other, but not in both. This operation
is also called an XOR. ... GtkBitsetIter
An opaque, stack-allocated structure for iterating over the elements of a gtk:bitset instance. ...
Initializes an iterator for the bitset and points it to the first value in
the bitset. ...
Initializes an iterator for the bitset and points it to the last value in
the bitset. ... Initializes an iterator for the bitset to point to target. ... Moves iter to the next value in the bitset. ... Moves iter to the previous value in the bitset. ... Gets the current value that iter points to. ... Checks if iter points to a valid value. ... GtkExpression The gtk:expression type provides a way to describe references to
values. ... Acquires a reference on the given expression. ... Releases a reference on the given gtk:expression instance. ...
Gets the GType that this expression evaluates to. ...
Checks if the expression is static. ... Evaluates the given expression and on success stores the result as a g:value instance in gvalue. ... Evaluates the given expression and on success returns the result. ... The callback function called by the gtk:expression-watch function
when the expression value changes. ...
Installs a watch for the given expression that calls the notify function whenever the evaluation of expression may have changed. ... An opaque structure representing a watched gtk:expression instance. ...
Evaluates the watched expression and on success returns the result in value. ...
Evaluates the watched expression and on success returns the result. ...
Stops watching an expression that was established with the gtk:expression-watch function. ...
Creates an expression that looks up a property via the given expression or the this argument when expression is nil. ...
Creates an expression that looks up a property via the given expression or the this argument when the expression argument is nil. ...
Gets the expression specifying the object of a property expression. ... Gets the g:param-spec instance specifying the property of a property
expression. ...
Creates an expression that evaluates to the object given by the arguments. ... Creates an expression that always evaluates to the given value. ...
Gets the value that a constant expression evaluates to. ... Creates an expression evaluating to the given object with a weak
reference. ... Gets the object that the expression evaluates to. ... The gtk:value-expression function retrieves the gtk:expression instance stored inside the given value. ... GtkFilter
Describes the known strictness of a filter. ...
Describes changes in a filter in more detail and allows objects using the
filter to optimize refiltering items. ... The gtk:filter object describes the filtering to be performed by a gtk:filter-list-model object. ... Checks if the given item is matched by the filter or not. ...
Gets the known strictness of the filter. ... GtkCustomFilter The gtk:custom-filter object is a gtk:filter implementation
that uses a callback to determine whether to include an item or not. ... Creates a new custom filter using the given func callback function to
filter items. ...
User function that is called to determine if the item should be matched. ...
Sets (or unsets) the function used for filtering items. ... GtkMultiFilter The gtk:multi-filter class is the base type that implements support
for handling multiple filters. ... Adds a filter to object to use for matching. ... The gtk:any-filter class is a subclass of the gtk:multi-filter class that matches an item when at least one of
its filters matches. ...
Creates a new empty "any" filter. ... The gtk:every-filter class is a subclass of the gtk:multi-filter class that matches an item when each of its
filters matches. ...
Creates a new empty "every" filter. ... GtkBoolFilter The gtk:bool-filter object is a simple filter that takes a boolean gtk:expression instance to determine whether to include items. ... The accessor for the expression slot gets or sets
the expression that the filter uses to evaluate if an item should be
filtered. ...
Creates a new bool filter. ... GtkStringFilter
Specifies how search strings are matched inside text. ... The gtk:string-filter object determines whether to include items by
looking at strings and comparing them to a fixed search term. ... The accessor for the expression slot gets or sets
the expression that the string filter uses to obtain strings from items. ... The accessor for the ignore-case slot gets or
sets whether the filter ignores case differences. ... The accessor for the match-mode slot gets or sets
the match mode that the filter is using. ...
Creates a new string filter. ... GtkFileFilter The gtk:file-filter object can be used to restrict the files being
shown in a file chooser. ...
Creates a new file filter with no rules added to it. ... Deserialize a file filter from a a{sv} variant in the format produced by the gtk:file-filter-to-gvariant function. ... Adds a rule allowing a given MIME type to the file filter. ...
Adds a rule allowing a shell style glob to a file filter. ...
Adds a rule allowing image files in the formats supported by the gdk-pixbuf:pixbuf class. ...
Adds a suffix match rule to a filter. ... Gets the attributes that need to be filled in for the g:file-info
object passed to this file filter. ... Serialize a file filter to a a{sv} variant. ... GtkSorter Describes the type of order that a gtk:sorter object may describe. ...
Describes changes in a sorter in more detail and allows users to optimize
resorting. ... The gtk:sorter object is the way to describe sorting criteria. ...
Compares two given objects according to the sort order implemented by the
sorter. ... Gets the order that sorter conforms to. ... GtkCustomSorter The gtk:custom-sorter object is a gtk:sorter implementation that sorts via a g:compare-data-func callback function. ... Creates a new custom sorter that works by calling the func callback
function to compare objects. ...
Sets (or unsets) the callback function used for sorting items. ... GtkMultiSorter The gtk:multi-sorter object combines multiple sorters by trying
them in turn. ... The accessor for the item-type slot of the gtk:multi-sorter class returns the type of items contained in the
list model. ... The accessor for the n-items slot of the gtk:multi-sorter class returns the number of items contained in
the model. ...
Creates a new multi sorter. ... GtkStringSorter Describes how a gtk:string-sorter object turns strings into sort
keys to compare them. ... The accessor for the collation slot of the gtk:string-sorter class gets or sets the collation method to use for
sorting. ... The accessor for the expression slot of the gtk:string-sorter class gets or sets the expression that is
evaluated to obtain strings from items. ... The accessor for the ignore-case slot of the gtk:string-sorter class gets or sets whether the sorter ignores case
differences. ...
Creates a new string sorter that compares items using the given expression. ... GtkNumericSorter The accessor for the expression slot of the gtk:numeric-sorter class gets or sets the expression that is
evaluated to obtain numbers from items. ... The accessor for the sort-order slot of the gtk:numeric-sorter class gets or sets whether this sorter will sort
smaller numbers first. ... Creates a new numeric sorter using the given expression. ... GtkSelectionModel The gtk:selection-model interface is an interface that extends the g:list-model interface by adding support for selections. ...
Checks if the given item is selected. ... The gtk:selection-model-selection function gets the bitset containing
all currently selected items in the model. ...
Gets a bitset containing a set where the values in the range [pos, pos + nitems) match the selected state of the
items in that range. ...
Requests to select an item in the model. ...
Requests to unselect an item in the model. ...
Requests to select a range of items in the model. ...
Requests to unselect a range of items in the model. ...
Requests to select all items in the model. ...
Requests to unselect all items in the model. ... Helper function for implementations of the gtk:selection-model
class. ... GtkNoSelection The gtk:no-selection class is an implementation of the gtk:selection-model interface that does not allow selecting
anything. ... Creates a new selection to handle the given model. ... GtkSingleSelection
The value used to refer to a guaranteed invalid position in a g:list-model object. ... The gtk:single-selection class is an implementation of the gtk:selection-model interface that allows selecting a single
element. ... The accessor for the autoselect slot gets or
sets whether the selection will always select an item. ... The accessor for the can-unselect slot gets or
sets whether unselecting the selected item is allowed. ... The accessor for the selected-item slot gets
the selected item. ... Creates a new selection to handle model. ... GtkMultiSelection The gtk:multi-selection class is an implementation of the gtk:selection-model interface that allows selecting multiple
elements. ... Creates a new selection to handle model. ... GtkSectionModel The gtk:section-model interface is an interface that adds support
for sections to list models. ...
Query the section that covers the given position. ... GtkFilterListModel The gtk:filter-list-model object is a list model that filters the elements of the underlying model according to a gtk:filter object. ... The accessor for the incremental slot gets or
sets Whether the model should filter items incrementally. ... The accessor for the watch-items slot gets or
sets whether watching items is enabled. ... GtkFlattenListModel The gtk:flatten-list-model object is a list model that takes a list
model containing list models and flattens it into a single model. ... Returns the model containing the item at the given pos. ... GtkMapListModel The gtk:map-list-model object is a list model that takes a list
model and maps the items in that model to different items according to a gtk:map-list-model-map-func callback function. ... The accessor for the model slot returns the model that is currently being mapped or nil if none. ... Creates a new gtk:map-list-model object for the given arguments. ...
User function that is called to map an item of the original model to an item
expected by the map model. ...
Sets the function used to map items. ... GtkSliceListModel The gtk:slice-list-model object is a list model that takes a list
model and presents a slice of that model. ... The accessor for the offset slot gets or sets
the offset into the original model for this slice. ... Creates a new slice model that presents the slice from offset to offset + size out of the given model. ... GtkSortListModel The gtk:sort-list-model object is a g:list-model object that sorts the elements of an underlying model according to a gtk:sorter
object. ... The accessor for the incremental slot gets or
sets whether incremental sorting was enabled. ... The accessor for the section-sorter slot gets
or sets the section sorter that is used to sort items of the list model
into sections. ... Creates a new sort list model that uses the sorter to sort model. ... GtkSelectionFilterModel The gtk:selection-filter-model class is a list model that presents the selected items in a gtk:selection-model as its own list model. ... Creates a new gtk:selection-filter-model object that will include
the selected items from the underlying selection model. ... GtkBookmarkList The accessor for the attributes slot gets or sets
the attributes to query. ... The accessor for the filename slot returns the
filename of the bookmark file that the bookmark list is loading. ... The accessor for the io-priority slot gets or
sets the IO priority while loading files. ... Creates a new bookmark list for the given attributes. ... Returns true if the files are currently being loaded. ... GtkDirectoryList The gtk:directory-list class is a list model that wraps the requested information from the g_file_enumerate_children_async()
function. ... The accessor for the attributes slot gets or
sets the attributes to query. ... The accessor for the io-priority slot gets or
sets the IO priority to use while loading files. ... The accessor for the monitored slot gets or sets
whether the directory list is monitoring the directory for changes. ... Returns true if the children enumeration is currently in progress. ... GtkStringList The gtk:string-list class is a list model that wraps an array of
strings. ... Creates a new string list with the given strings. ...
Appends a string to the string list. ... Removes the string at pos from the string list. ... Gets the string that is at pos in the string list. ... Gets the position of the string in model. ... List-based WidgetsList Widget Overview
GTK provides powerful widgets to display and edit lists of data. This
document gives an overview over the concepts and how they work together
to allow developers to implement lists. Lists are intended to be used
whenever developers want to display many objects in roughly the same way. Lists are perfectly fine to be used for very short list of only 2 or 3 elements, but generally scale to millions of items. Of course, the larger the list grows, the more care needs to be taken to choose the right data structures to keep things running well. Lists are meant to be used with changing data, both with the items itself changing as well as the list adding and removing items. Of course, they work just as well with static data. TerminologyThese terms are used throughout the documentation when talking about lists and you should be aware of what they refer to. These are often generic terms that have a specific meaning in this context.Views or list widgets are the widgets that hold and manage the lists. Examples of these widgets would be the gtk:list-view or gtk:grid-view widgets. Views display data from a model. Models implement the g:list-model interface and can be provided in a variety of ways:
The elements in a model are called items. All items are g:object instances. Every item in a model has a position which is the unsigned integer that describes where in the model the item is located. The first item in a model is at position 0. The position of an item can change as other items are added or removed from the model. It is important to be aware of the difference between items and positions because the mapping from position to item is not permanent, so developers should think about whether they want to track items or positions when working with models. Oftentimes some things are really hard to do one way but very easy the other way. The other important part of a view is a factory. Each factory is a gtk:list-item-factory implementation that takes care of mapping the items of the model to widgets that can be shown in the view. The way factories do this is by creating a list item for each item that is currently in use. List items are always gtk:list-item instances. They are only ever created by GTK and provide information about what item they are meant to display. Different factory implementations use various different methods to allow developers to add the right widgets to list items and to link those widgets with the item managed by the list item. Finding a suitable factory implementation for the data displayed, the programming language and development environment is an important task that can simplify setting up the view tremendously. Views support selections via a selection model. A selection model is an implementation of the gtk:selection-model interface on top of the g:list-model interface that allows marking each item in a model as either selected or not selected. Just like regular models, this can be implemented either by implementing the gtk:selection-model interface directly or by wrapping a model with one of the GTK models provided for this purposes, such as the gtk:no-selection or gtk:single-selection models. The behavior of selection models - that is, which items they allow selecting and what effect this has on other items - is completely up to the selection model. As such, single-selections, multi-selections or sharing selection state between different selection models and/or views is possible. The selection state of an item is exposed in the list item via the selected property. Views and list items also support activation. Activation means that double clicking or pressing enter while inside a focused row will cause the view to emit a signal such as the GtkListView::activate signal. This provides an easy way to set up lists, but can also be turned off on list items if undesired. Both selections and activation are supported among other things via widget actions. This allows developers to add widgets to their lists that cause selections to change or to trigger activation via the gtk:actionable interface. For a list of all supported actions see the relevant documentation. Behind the scenesWhile it is not a problem for short lists to instantiate widgets for every item in the model, once lists grow to thousands or millions of elements, this gets less feasible. Because of this, the views only create a limited amount of list items and recycle them by binding them to new items. In general, views try to keep list items available only for the items that can actually be seen on screen.While this behavior allows views to scale effortlessly to huge lists, it has a few implications for what can be done with views. For example, it is not possible to query a view for a list item used for a certain position - there might not be one and even if there is, that list item might soon be recycled for a new position. It is also important that developers save state they care about in the item and do not rely on the widgets they created as those widgets can be recycled for a new position at any time causing any state to be lost. Another important requirement for views is that they need to know which items are not visible so they can be recycled. Views achieve that by implementing the gtk:scrollable interface and expecting to be placed directly into a gtk:scrolled-window widget. Of course, if you are only using models with few items, this is not important and you can treat views like any other widget. But if you use large lists and your performance suffers, you should be aware of this. Views also allow tuning the number of list items they create such as with the gtk:grid-view-max-columns function, and developers running into performance problems should definitely study the tradeoffs of those and experiment with them. Choosing the right modelGTK offers a wide variety of wrapping models which change or supplement an existing model (or models) in some way. But when it comes to storing your actual data, there are only a few ready-made choices available: the g:list-store, gtk:string-list, and gtk:directory-list objects.The g:list-store object is backed by a balanced tree and has performance characteristics that are expected for that data structure. It works reasonably well for dataset sizes in the 1,000,000 range, and can handle insertions and deletions. It uses a cached iterator to make linear access to the items fast. The gtk:string-list object is not a general store - it can only handle strings. It is backed by an dynamically allocated array and has performance characteristics that are expected for that data structure. The gtk:string-list object is a good fit for any place where you would otherwise use char*[] and works best if the dataset is not very dynamic. The gtk:directory-list object is a list model that wraps the g_file_enumerate_children_async() function. It presents a g:list-model object and fills it asynchronously with the GFiles returned from that function. If these models do not fit your use case or scalability requirements, you should make a custom g:list-model implementation. It is a small interface and not very hard to implement. Displaying treesWhile the gtk:tree-view widget provided built-in support for trees, the list widgets, and in particular the g:list-model implementation do not. This was a design choice because the common use case is displaying lists and not trees and it greatly simplifies the API interface provided.However, GTK provides functionality to make lists look and behave like trees for use cases that require trees. This is achieved by using the gtk:tree-list-model model to flatten a tree into a list. The gtk:tree-expander widget can then be used inside a list item to allow users to expand and collapse rows and provide a similar experience to the gtk:tree-view widget. Developers should refer to those objects’ API reference for more discussion on the topic. List stylesOne of the advantages of the new list widgets over GtkTreeView and cell renderers is that they are styleable using GTK CSS. This provides a lot of flexibility. The themes that ship with GTK provide a few predefined list styles that can be used in many situations.![]() Figure: Rich list This rich list style is low density, spacious and uses an outline focus ring. It is suitable for lists of controls, for example, in preference dialogs or settings panels. Use the .rich-list style class. ![]() Figure: Navigation sidebar The sidebar style of list is medium density, using a full background to indicate focus and selection. Use the .navigation-sidebar style class. ![]() Figure: Data table The data table style of list is a high density table, similar in style to a traditional tree view. Individual cells can be selectable and editable. Use the .data-table style class. SectionsList models can optionally group their items into sections, by implementing the gtk:section-model interface. The gtk:list-view widget can display headers for sections, by installing a separate header factory.Many GTK list models support section inherently, or they pass through the section of a model they are wrapping. Comparison to GtkTreeViewDevelopers familiar with GtkTreeView may wonder how this way of doing lists compares to the way they know. This section will try to outline the similarities and differences between the two.This new approach tries to provide roughly the same functionality as the old approach but often uses a very different way to achieve these goals. The main difference and one of the primary reasons for this new development is that items can be displayed using regular widgets and the separate cell renderer machinery is no longer necessary. This allows all benefits that widgets provide, such as complex layout, animations and CSS styling. The other big difference is the massive change to the data model. The gtk:tree-model interface was a rather complex interface for a tree data structure. The g:list-model interface is deliberately designed to be a very simple data structure for lists only. See above for how to still do trees with this new model. Another big change is that the new model allows for bulk changes via the "items-changed" signal while the gtk:tree-model interface only allows a single item to change at once. The goal here is of course to encourage implementation of custom list models. Another consequence of the new model is that it is now easily possible to refer to the contents of a row in the model directly by keeping the item, while the gtk:tree-row-reference implementation was a very slow mechanism to achieve the same. And because the items are real objects, developers can make them emit change signals causing list items and their children to update, which was not possible with the gtk:tree-model implementation. The selection handling is also different. While selections used to be managed via custom code in each widget, selection state is now meant to be managed by the selection models. In particular this allows for complex use cases with specialized requirements. Finally here is a quick comparison chart of equivalent functionality to look for when transitioning code: Old New ------------------------------------------------------- GtkTreeModel GListModel GtkTreePath guint position, GtkTreeListRow GtkTreeIter guint position GtkTreeRowReference GObject item GtkListStore GListStore GtkTreeStore GtkTreeListModel, GtkTreeExpander GtkTreeSelection GtkSelectionModel GtkTreeViewColumn GtkColumnView GtkTreeView GtkListView, GtkColumnView GtkCellView GtkListItem GtkComboBox GtkDropDown GtkIconView GtkGridView GtkTreeSortable GtkColumnView GtkTreeModelSort GtkSortListModel GtkTreeModelFilter GtkFilterListModel GtkCellLayout GtkListItemFactory GtkCellArea GtkWidget GtkCellRenderer GtkWidget GtkListItem The gtk:list-item object is the object that list-handling containers such as the gtk:list-view widget use to represent list items in a g:list-model object. ... The accessor for the accessible-description slot
gets or sets the accessible description for the list item. ... The accessor for the accessible-label slot gets or
sets the accessible label for the list item. ... The accessor for the activatable slot gets or sets
whether the list item has been set to be activatable. ... The accessor for the focusable slot gets or sets
whether the list item has been set to be focusable. ... The accessor for the item slot returns the list item that is currently displayed in the model that object is currently bound to or nil if object is unbound. ... The accessor for the position slot returns the position in the model that object currently displays. ... The accessor for the selectable slot gets or sets
whether the list item has been set to be selectable. ... GtkListItemFactory The gtk:list-item-factory object creates widgets for the items taken from a g:list-model object. ... GtkSignalListItemFactory The gtk:signal-list-item-factory object is a gtk:list-item-factory object that emits signals to manage list
items. ... Creates a new gtk:signal-list-item-factory object. ... GtkBuilderListItemFactory The gtk:builder-list-item-factory object is a gtk:list-item-factory object that creates widgets by instantiating gtk:builder UI templates. ... The accessor for the bytes slot gets the data used as the gtk:builder UI template for constructing list
items. ...
Creates a new builder list item factory that instantiates widgets using bytes as the data to pass to the gtk:builder object. ...
Creates a new builder list item factory that instantiates widgets using data read from the given resource path to pass to the gtk:builder
object. ... GtkScrollInfo The gtk:scroll-info structure can be used to provide more accurate
data on how a scroll operation should be performed. ...
Creates a new scroll info for scrolling an item into view. ...
Turns horizontal scrolling on or off. ...
Turns vertical scrolling on or off. ... GtkListHeader The gtk:list-header object is used by list widgets to represent the
headers they display. ... The accessor for the end slot returns the end position in the model of the section that object is currently the
header for. ... The accessor for the start slot returns the start position in the model of the section that object is currently the
header for. ... GtkListView Used to configure the focus behavior in the :forward and :backward direction, like the Tab key in a gtk:list-view widget. ...
List of actions to perform when scrolling to items in a list widget. ... The gtk:list-base class is the abstract base class for GTK list
widgets. ... The accessor for the orientation slot gets or sets
the orientation of the list widget. ... The gtk:list-view widget is a widget to present a view into a large
dynamic list of items. ... The accessor for the enable-rubberband slot gets or
sets whether rows can be selected by dragging with the mouse. ... The accessor for the factory slot gets or sets the
factory that is currently used to populate list items. ... The accessor for the header-factory slot gets or sets the factory to use for populating the gtk:list-header objects used
in section headers. ... The accessor for the model slot gets or sets the
model that is currently used to read the items displayed. ... The accessor for the show-separators slot gets or
sets whether the list box should show separators between rows. ... The accessor for the single-click-activate slot
gets or sets whether rows will be activated on single click and selected on
hover. ... The accessor for the tab-behavior slot gets or sets the behavior set for the Tab and Shift+Tab keys. ... Creates a new list view that uses the given factory for mapping items
to widgets. ...
Scrolls to the item at the given position and performs the actions specified in flags. ... GtkGridView The gtk:grid-view widget is a widget to present a view into a large
dynamic grid of items. ... The accessor for the enable-rubberband slot gets or
sets whether selections can be selected by dragging with the mouse. ... The accessor for the max-columns slot gets or sets
the maximum number of columns that the grid will use. ... The accessor for the min-columns slot gets or sets
the minimum number of columns that the grid will use. ... The accessor for the model slot gets or sets the
model that is used to read the items displayed. ... The accessor for the single-click-activate slot gets
or sets whether rows will be activated on single click and selected on
hover. ... Creates a new grid view that uses the given factory for mapping items
to widgets. ...
Scrolls to the item at the given position and performs the actions specified in flags. ... GtkColumnView The gtk:column-view widget is a widget to present a view into a
large dynamic list of items using multiple columns with headers. ... The accessor for the enable-rubberband slot gets or
sets whether rows can be selected by dragging with the mouse. ... The accessor for the header-factory slot gets or sets the factory to use for populating the gtk:list-header objects
used in section headers. ... The accessor for the model slot gets or sets the
model that is used to read the items displayed. ... The accessor for the reorderable slot gets or sets
whether columns are reorderable. ... The accessor for the row-factory slot gets or sets
the factory that is used for configuring rows. ... The accessor for the show-column-separators slot
gets or sets whether the list should show separators between columns. ... The accessor for the show-row-separators slot gets
or sets whether the list should show separators between rows. ... The accessor for the single-click-activate slot
gets or sets whether rows will be activated on single click and selected on
hover. ... The accessor for the sorter slot returns a special
sorter that reflects the users sorting choices in the column view. ... Creates a new gtk:column-view widget. ... Appends the column to the end of the columns in columnview. ... Removes the column from the list of columns of columnview. ...
Sets the sorting of the column view. ... GtkColumnViewColumn The gtk:column-view-column widget represents the columns being added to the gtk:column-view widget. ... The accessor for the column-view slot
returns the column view that is currently displaying this column. ... The accessor for the fixed-width slot gets
or sets the fixed width of the column. ... The accessor for the header-menu slot gets
or sets the menu model that is used to create the context menu for the
column header. ... Creates a new column that uses the given factory for mapping
items to widgets. ... GtkColumnViewCell The gtk:column-view-cell object is used by the gtk:column-view-column object to represent items in a cell in the gtk:column-view widget. ... The accessor for the focusable slot gets or
sets whether the item can be focused with the keyboard. ... The accessor for the position slot returns the position in the model that object currently displays. ... GtkColumnViewRow The gtk:column-view-row object is used by the gtk:column-view widget to allow configuring how rows are displayed. ... The accessor for the accessible-description slot
gets or sets the accessible description for the row, which may be used, for
example by screen readers. ... The accessor for the accessible-label slot gets
or sets the accessible label for the row, which may be used, for example by
screen readers. ... The accessor for the activatable slot gets or
sets whether the row has been set to be activatable. ... The accessor for the focusable slot gets or sets
whether the row can be focused with the keyboard. ... The accessor for the position slot gets the position in the model that object currently displays. ... The accessor for the selectable slot gets or
sets whether the row can be selected by the user. ... GtkColumnViewSorter The gtk:column-view-sorter class is a sorter implementation that is geared towards the needs of the gtk:column-view widget. ... The accessor for the primary-sort-column slot of the gtk:column-view-sorter class returns the primary sort column. ... The accessor for the primary-sort-order slot of the gtk:column-view-sorter class returns the primary sort order. ...
Returns the number of columns by which the sorter sorts. ...
Gets the position‘th sort column and its associated sort order. ... GtkDropDown The gtk:drop-down widget is a widget that allows the user to choose
an item from a list of options. ... The accessor for the enable-search slot of the gtk:drop-down class gets or sets whether a search entry will be
shown in the popup that allows to search for items in the list. ... The accessor for the expression slot of the gtk:drop-down class gets or sets the expression that gets evaluated
to obtain strings from items when searching in the popup. ... The accessor for the factory slot of the gtk:drop-down class gets or sets the factory that is used to
populate list items. ... The accessor for the header-factory slot of the gtk:drop-down class gets or sets the factory that is used to create
header widgets for the popup. ... The accessor for the list-factory slot of the gtk:drop-down class gets or sets the factory that is used to
populate list items in the popup. ... The accessor for the model slot of the gtk:drop-down class gets or sets the model that provides the
displayed items. ... The accessor for the search-match-mode slot of the gtk:drop-down class gets or sets the match mode that the search
filter is using. ... The accessor for the selected slot of the gtk:drop-down class gets or sets the position of the selected item. ... The accessor for the show-arrow slot of the gtk:drop-down class gets or sets whether to show an arrow within the
widget. ... Creates a new gtk:drop-down widget. ...
Creates a new dropdown widget that is populated with the strings in strings. ... Tree supportGtkTreeListRow The accessor for the children slot of the gtk:tree-list-row class returns the model holding the children of
the row. ... The accessor for the depth slot of the gtk:tree-list-row class returns the depth in the tree of the row. ... The accessor for the expandable slot of the gtk:tree-list-row class returns whether the row can ever be
expanded. ... The accessor for the expanded slot of the gtk:tree-list-row class gets or sets whether the row is currently
expanded. ... The accessor for the item slot of the gtk:tree-list-row class returns the item corresponding to this list
row. ... Gets the list row representing the parent for listrow. ... Returns the position in the model that listrow occupies at the moment. ...
Checks if a row can be expanded. ... GtkTreeListModel The gtk:tree-list-model object is a list model that can create
child models on demand. ... The accessor for the autoexpand slot of the gtk:tree-list-model class gets or sets whether the model is set to
automatically expand new rows that get added. ... The accessor for the item-type slot of the gtk:tree-list-model class returns the type of items contained in
the list model. ... The accessor for the model slot of the gtk:tree-list-model class returns the root model that object
was created with. ... The accessor for the n-items slot of the gtk:tree-list-model class returns the number of items contained in
the model. ... The accessor for the passthrough slot of the gtk:tree-list-model class returns whether the g:list-model functions for this object return custom gtk:tree-list-row objects. ...
Prototype of the function called to create new child models when the gtk:tree-list-row-expanded function is called. ...
Gets the row object for the given row. ... GtkTreeListRowSorter The gtk:tree-list-row-sorter object is a special-purpose sorter that
will apply a given sorter to the levels in a tree, while respecting the tree
structure. ... The accessor for the sorter slot of the gtk:tree-list-row-sorter class gets or sets the sorter used by object. ...
Create a special-purpose sorter that applies the sorting of sorter to the levels of a gtk:tree-list-model object. ... GtkTreeExpander The gtk:tree-expander widget is a widget that provides an expander
for a list. ... The accessor for the child slot of the gtk:tree-expander class gets or sets the child widget with the
actual contents. ... The accessor for the hide-expander slot of the gtk:tree-expander class gets or sets whether the tree expander should be hidden in a gtk:tree-list-row object. ... The accessor for the indent-for-depth slot of the gtk:tree-expander class gets or sets whether the tree expander
indents each level of depth with an additional indent. ... The accessor for the indent-for-icon slot of the gtk:tree-expander class gets or sets whether the tree expander
indents the child by the width of an expander-icon if it is not expandable. ... The accessor for the item slot of the gtk:tree-expander class forwards the item set on the gtk:tree-list-row object that object is managing. ... The accessor for the list-row slot of the gtk:tree-expander class gets or sets the tree list row that this
expander should manage. ... Creates a new tree expander. ... Accessibility & Input MethodsEnumerations for Accessibility The accessible role for a gtk:accessible implementation. ... The possible accessible states of a gtk:accessible widget. ... The possible accessible properties of a gtk:accessible widget. ... The possible accessible relations of a gtk:accessible widget. ... The possible values for the :autocomplete
accessible property. ...
The various platform states which can be queried using the gtk:accessible-platform-state function. ...
The priority of an accessibility announcement. ... GtkAccessibleList A boxed type which wraps a list of references to gtk:accessible
objects. ... Allocates a new gtk:accessible-list instance, doing a shallow copy of the passed list of gtk:accessible objects. ...
Gets the list of objects this boxed type holds. ... GtkAccessible The gtk:accessible interface is an interface for describing UI
elements for Assistive Technologies. ... The accessor for the accessible-role slot gets or sets the gtk:accessible-role value for the given gtk:accessible widget. ...
Updates a list of accessible properties. ...
Updates a list of accessible relations. ...
Updates a list of accessible states. ... Resets the accessible property value to its default value. ... Resets the accessible relation value to its default value. ... Resets the accessible state value to its default value. ... Updates the next accessible sibling of accessible. ...
Informs ATs that the platform state has changed. ...
Gets or sets the accessible parent for an accessible object. ... Retrieves the accessible implementation for the given accessible. ...
Queries the coordinates and dimensions of the accessible object. ...
Retrieves the first accessible child of an accessible object. ...
Retrieves the next accessible sibling of an accessible object. ...
Queries a platform state, such as focus. ...
Retrieves the accessible identifier for the accessible object. ...
Requests the user’s screen reader to announce the given message. ... GtkAccessibleRange The gtk:accessible-range interface describes ranged controls, for
example, controls which have a single value within an allowed range and
that can optionally be changed by the user. ...
Sets the current value of the accessible range. ... GtkAccessibleText
The type of contents change operation. ...
The granularity for queries about the text contents of a gtk:accessible-text implementation. ... The gtk:accessible-text interface is an interface for accessible
objects containing formatted text. ...
Gets or sets the position of the caret inside the accessible object. ...
Retrieve the current contents of the accessible object within the given
range. ...
Retrieve the current contents of the accessible object starting from the
given offset, and using the given granularity. ...
Retrieves the default text attributes inside the accessible object. ...
Retrieves the text attributes inside the accessible object. ...
Obtains the extents of a range of text, in widget coordinates. ...
Gets the text offset at a given point. ...
Gets or sets the selection ranges in the accessible object. ...
Updates the position of the caret. ...
Notifies assistive technologies of a change in contents. ...
Updates the boundary of the selection. ... GtkAccessibleHypertext The gtk:accessible-hypertext interface is an interface for
accessible objects containing links. ... GtkATContext The gtk:at-context class is an abstract class provided by GTK to
communicate to platform-specific assistive technologies API. ... The accessor for the accessible-role slot retrieves
the accessible role of the context. ... Creates a new gtk:at-context instance for the given accessible role,
accessible instance, and display connection. ... GtkIMContext The gtk:im-context class defines the interface for GTK input
methods. ... The accessor for the input-hints slot gets or sets
the hints for the text field behaviour. ... The accessor for the input-purpose slot gets or sets
the purpose of the text field. ...
Allow an input method to internally handle key press and release events. ... GtkIMContextSimple The gtk:im-context-simple class is a simple input method context
supporting compose sequences, dead keys and numeric Unicode input. ... Creates a new simple input method. ...
Adds an additional table from the X11 compose file. ... GtkIMMulticontext The gtk:im-multicontext class is an input method context supporting
multiple, switchable input methods. ...
Creates a new input method context supporting multiple, switchable
input methods. ...
Gets or sets the ID of the currently active delegate of the context. ... Media SupportGtkGraphicsOffload
Represents the state of graphics offloading. ... The gtk:graphics-offload widget is a widget that allows to bypass
GSK rendering for its child by passing the content directly to the
compositor. ... The accessor for the black-background slot
gets or sets whether the widget draws a black background. ... The accessor for the enabled slot gets or sets whether the gtk:graphics-offload widget will attempt to offload the
content of its child widget. ... Creates a new gtk:graphics-offload widget. ... GtkVideo The accessor for the autoplay slot gets or sets whether
the video should automatically begin playing. ... The accessor for the file slot gets or sets the file
played back by the video if the video is playing a file. ... The accessor for the graphics-offload slot gets or sets
whether graphics offload is enabled. ... The accessor for the loop slot gets or sets whether new files loaded by object should be set to loop. ... Makes object playback the given file. ... Makes object playback the given resource. ... GtkMediaControls The gtk:media-controls widget is a widget to show controls for a gtk:media-stream object and giving users a way to use it. ... The accessor for the media-stream slot gets or
sets the media stream managed by the media controls. ... Creates the new media controls managing the media stream passed to it. ... GtkMediaStream The gtk:media-stream object is the integration point for media
playback inside GTK. ... The accessor for the error slot returns nil for a properly working stream or the glib:error instance that the
stream is in. ... The accessor for the prepared slot gets or sets
whether the stream has finished initializing and existence of audio and
video is known. ...
Returns whether the stream has finished initializing and existence of audio
and video is known. ...
Starts playing the stream. ...
Pauses playback of the stream. ...
Checks if a stream may be seekable. ...
Checks if there is currently a seek operation going on. ... Called by users to attach the media stream to a gdk:surface object
they manage. ... Undoes a previous call to the gtk:media-stream-realize function and
causes the stream to release all resources it had allocated from surface. ...
Media stream implementations should regularly call this function to update
the timestamp reported by the stream. ... Ends a seek operation started via the gtk:media-stream-seek function
successfully. ... Ends a seek operation started via the gtk:media-stream-seek function
as a failure. ... GtkMediaFile The gtk:media-file class is the implementation for media file usage with the gtk:media-stream class. ... Creates a new empty media file. ... Creates a new media file. ... Creates a new media file. ... Creates a new media file. ... Resets the media file to be empty. ... This is a utility function that converts the given filename to a g:file object and calls the gtk:media-file-file function. ... This is a utility function that converts the given path to a g:file object and calls the gtk:media-file-file function. ... PopoversGtkPopover The gtk:popover widget is a bubble-like context window, primarily
meant to provide context-dependent information or options. ... The accessor for the cascade-popdown slot gets or sets
whether the popover will close after a modal child is closed. ... The accessor for the default-widget slot gets or sets
the default widget of the popover. ... The accessor for the has-arrow slot gets or sets
whether the popover is showing an arrow pointing at the widget that it is
relative to. ... The accessor for the mnemonics-visible slot gets or
sets whether mnemonics are currently visible in this popover. ... The accessor for the pointing-to slot gets or sets the
rectangle that the popover points to. ... The accessor for the position slot gets or sets the
preferred position of the popover to appear. ... Creates a new popover. ...
Pops the popover up. ...
Pops the popover down. ... Allocate a size for the gtk:popover widget. ... The gtk:popover-offset function gets the offset to use when
calculating the position of the popover. ... GtkPopoverMenu Flags that affect how popover menus built from a g:menu-model
object are created and displayed. ... The gtk:popover-menu class is a subclass of the gtk:popover
class that treats its children like menus and allows switching between them. ... The accessor for the flags slot gets or sets the
flags that popover uses to create/display a menu from its model. ... The accessor for the menu-model slot gets or sets
the menu model used to populate the popover. ... The accessor for the visible-submenu slot gets or
sets the name of the visible submenu. ...
Creates a popover menu and populates it according to the menu model. ...
Creates a popover menu and populates it according to the menu model. ...
Adds a custom widget to a generated menu. ...
Removes a widget that has previously been added with the gtk:popover-menu-add-child function. ... GtkPopoverMenuBar The gtk:popover-menu-bar widget presents a horizontal bar of items
that pop up popover menus when clicked. ... The accessor for the menu-model slot gets or
sets the model from which the contents of the menu bar are taken. ...
Adds a custom widget to a generated menu bar. ...
Removes a widget that has previously been added with the gtk:popover-menu-bar-add-child function. ... Selector Widgets and DialogsGtkColorDialog The gtk:color-dialog object collects the arguments that are needed
to present a color chooser dialog to the user, such as a title for the
dialog and whether it should be modal. ... The accessor for the modal slot gets or sets
whether the color chooser dialog blocks interaction with the parent window
while it is presented. ... The accessor for the title slot gets or sets the
title that will be shown on the color chooser dialog. ... The accessor for the with-alpha slot gets or sets
whether colors may have alpha. ... Creates a new gtk:color-dialog object. ...
This function initiates a color choice operation by presenting a color
chooser dialog to the user. ... Finishes the gtk:color-dialog-choose-rgba function call and returns
the resulting color. ... GtkColorDialogButton The gtk:color-dialog-button widget is a wrapped around a gtk:color-dialog object and allows to open a color chooser dialog
to change the color. ... The accessor for the dialog slot gets or sets a gtk:color-dialog object to use for creating the color chooser
dialog that is presented when the user clicks the button. ... The accessor for the rgba slot gets or sets
the color of the button. ... GtkFileDialog The gtk:file-dialog object collects the arguments that are needed to
present a file chooser dialog to the user, such as a title for the dialog
and whether it should be modal. ... The accessor for the accept-label slot gets or sets
the label shown on the accept button of the file chooser dialog. ... The accessor for the default-filter slot gets or
sets the filter that will be selected by default in the file chooser dialog. ... The accessor for the filters slot gets or sets the
filters that will be offered to the user in the file chooser dialog. ... The accessor for the initial-file slot gets or sets
the file that will be initially selected in the file chooser dialog. ... The accessor for the initial-folder slot gets or
sets the folder that will be set as the initial folder in the file chooser
dialog. ... The accessor for the initial-name slot gets or sets
the name for the file that should be initially set. ... The accessor for the modal slot gets or sets
whether the file chooser dialog blocks interaction with the parent window
while it is presented. ... The accessor for the title slot gets or sets the
title that will be shown on the file chooser dialog. ... Creates a new file chooser dialog. ...
This function initiates a file selection operation by presenting a file
chooser dialog to the user. ... Finishes the gtk:file-dialog-open function call and returns the
resulting file. ...
This function initiates a multi-file selection operation by presenting a
file chooser dialog to the user. ... Finishes the gtk:file-dialog-open-multiple function call and returns the resulting files in a g:list-model object. ...
This function initiates a file save operation by presenting a file chooser
dialog to the user. ... Finishes the gtk:file-dialog-save function call and returns the
resulting file. ...
This function initiates a directory selection operation by presenting a
file chooser dialog to the user. ... Finishes the gtk:file-dialog-select-folder function call and returns
the resulting folder. ...
This function initiates a multi-directory selection operation by presenting
a file chooser dialog to the user. ... Finishes the gtk:file-dialog-select-multiple-folders function call and returns the resulting folders in a g:list-model object. ... GtkFileLauncher The gtk:file-launcher object collects the arguments that are needed
to open a file with an application. ... The accessor for the always-ask slot gets or
sets whether to ask the user to choose an application for opening the file. ... The accessor for the writable slot gets or sets
whether to make the file writable for the handler. ... Creates a new gtk:file-launcher object. ...
Launch an application to open the file. ... Finishes the the gtk:file-launcher-launch function call and returns
the result. ...
Launch a file manager to show the file in its parent directory. ... Finishes the gtk:file-launcher-open-containing-folder function call
and returns the result. ... GtkUriLauncher The gtk:uri-launcher object collects the arguments that are needed
to open a URI with an application. ... Creates a new gtk:uri-launcher object. ...
Returns whether the launcher is likely to succeed in launching an
application for its URI. ...
Launch an application to open the URI. ... Finishes the the gtk:uri-launcher-launch function call and returns
the result. ... GtkFontDialog The gtk:font-dialog object collects the arguments that are needed to
present a font chooser dialog to the user, such as a title for the dialog
and whether it should be modal. ... The accessor for the filter slot gets or sets the
filter that decides which fonts to display in the font chooser dialog. ... The accessor for the language slot gets or sets
the language for which font features are applied. ... The accessor for the modal slot gets or sets
whether the font chooser dialog blocks interaction with the parent window
while it is presented. ... The accessor for the title slot gets or sets the
title that will be shown on the font chooser dialog. ... Creates a new gtk:font-dialog object. ...
This function initiates a font selection operation by presenting a dialog to
the user for selecting a font face, that is a font family and style, but not
a specific font size. ... Finishes the the gtk:font-dialog-choose-face function call and returns
the resulting font face. ...
This function initiates a font selection operation by presenting a dialog to
the user for selecting a font family. ... Finishes the the gtk:font-dialog-choose-family function call and
returns the resulting font family. ...
This function initiates a font selection operation by presenting a dialog to
the user for selecting a font. ... Finishes the the gtk:font-dialog-choose-font function call and
returns the resulting font description. ...
This function initiates a font selection operation by presenting a dialog to
the user for selecting a font and font features. ... Finishes the the gtk:font-dialog-choose-font-and-features function
call and returns the resulting font description. ... GtkFontDialogButton
The level of granularity for the font selection. ... The gtk:font-dialog-button class is wrapped around a gtk:font-dialog object and allows to open a font chooser dialog to
change the font. ... The accessor for the dialog slot gets or
sets the font dialog that contains parameters for the font chooser dialog. ... The accessor for the font-features slot gets
or sets the selected font features of the button. ... The accessor for the level slot gets or sets
the level of detail at which this dialog lets the user select fonts. ... The accessor for the use-size slot gets or
sets whether the selected font size is used in the label. ... GtkEmojiChooser The gtk:emoji-chooser widget is used by text widgets such as the gtk:entry or gtk:text-view widgets to offer users a
convenient way to insert Emoji characters. ... Creates a new Emoji chooser dialog. ... Widgets for custom drawingGtkDrawingArea The gtk:drawing-area widget is a widget that allows drawing with
Cairo. ... The accessor for the content-height slot of the gtk:drawing-area class gets or sets the content height of the
drawing area. ... The accessor for the content-width slot of the gtk:drawing-area class gets or sets the content width of the drawing
area. ... Creates a new drawing area. ...
Whenever the drawing area needs to redraw, this callback function will be
called. ...
Setting a draw function is the main thing you want to do when using a
drawing area. ... GtkGlArea The gtk:gl-area widget is a widget that allows drawing with OpenGL. ... The accessor for the allowed-apis slot of the gtk:gl-area class gets or sets the allowed APIs to create a context
with. ... The accessor for the auto-render slot of the gtk:gl-area class gets or sets whether the area is in auto render
mode or not. ... The accessor for the context slot of the gtk:gl-area class returns the gdk:gl-context instance used by object. ... The accessor for the has-depth-buffer slot of the gtk:gl-area class gets or sets whether the area has a depth buffer. ... The accessor for the has-stencil-buffer slot of the gtk:gl-area class gets or sets whether the area has a stencil
buffer. ... The accessor for the use-es slot of the gtk:gl-area class gets or sets whether the area should create an
OpenGL or an OpenGL ES context. ... Creates a new gtk:gl-area widget. ... Ensures that the gdk:gl-context object used by area is associated with the the gtk:gl-area object. ...
Marks the currently rendered data (if any) as invalid, and queues a redraw of the widget, ensuring that the "render" signal is emitted
during the draw. ...
Ensures that the area framebuffer object is made the current draw and read
target, and that all the required buffers for the area are created and bound
to the framebuffer. ...
Gets or sets the required version of OpenGL to be used when creating the
context for the widget. ... ScrollingGtkScrollable
Defines the policy to be used in a scrollable widget when updating the
scrolled window adjustments in a given orientation. ... The gtk:scrollable interface is an interface that is implemented by
widgets with native scrolling ability. ... The accessor for the hadjustment slot of the gtk:scrollable interface gets or sets the adjustment used for
horizontal scrolling. ... The accessor for the hscroll-policy slot of the gtk:scrollable interface gets or sets the horizontal scrolling
policy which determines whether horizontal scrolling should start below the
minimum width or below the natural width. ... The accessor for the vadjustment slot of the gtk:scrollable interface gets or sets the adjustment used for
vertical scrolling. ... The accessor for the vscroll-policy slot of the gtk:scrollable interface gets or sets the vertical scrolling policy
which determines whether vertical scrolling should start below the minimum
height or below the natural height. ...
Returns the size of a non-scrolling border around the outside of the
scrollable widget. ... GtkScrollbar The gtk:scrollbar widget is a horizontal or vertical scrollbar, depending on the value of the orientation property. ... The accessor for the adjustment slot of the gtk:scrollbar class gets or sets the adjustment that contains the
current value of this scrollbar. ... Creates a new scrollbar with the given orientation. ... GtkScrolledWindow
Determines how the size should be computed to achieve one of the visibility
mode for the scrollbars. ...
Specifies which corner a child widget should be placed in when packed into a gtk:scrolled-window widget. ... The gtk:scrolled-window widget is a container that accepts a single
child widget, makes that child scrollable using either internally added
scrollbars or externally associated adjustments, and optionally draws a
frame around the child. ... The accessor for the child slot of the gtk:scrolled-window class gets or sets the child widget of the
scrolled window. ... The accessor for the hadjustment slot of the gtk:scrolled-window class gets or sets the horizontal adjustment of
the scrollbar, used to connect the horizontal scrollbar to the horizontal
scroll functionality of the child widget. ... The accessor for the has-frame slot of the gtk:scrolled-window class gets or sets whether the scrolled window
draws a frame. ... The accessor for the hscrollbar-policy slot of the gtk:scrolled-window class gets or sets when the horizontal
scrollbar is displayed. ... The accessor for the kinetic-scrolling slot of the gtk:scrolled-window class gets or sets the kinetic scrolling
behavior. ... The accessor for the max-content-height slot of the gtk:scrolled-window class gets or sets the maximum content
height that the scrolled window should keep visible. ... The accessor for the max-content-width slot of the gtk:scrolled-window class gets or sets the maximum content width
that the scrolled window should keep visible. ... The accessor for the min-content-height slot of the gtk:scrolled-window class gets or sets the minimal content
height of the scrolled window that the scrolled window should keep visible. ... The accessor for the min-content-width slot of the gtk:scrolled-window class gets or sets the minimum content width
of the scrolled window that the scrolled window should keep visible. ... The accessor for the overlay-scrolling slot of the gtk:scrolled-window class gets or sets whether overlay scrolling
is enabled for this scrolled window. ... The accessor for the propagate-natural-height slot of the gtk:scrolled-window class gets or sets whether the
natural height of the child should be calculated and propagated through the
requested natural height of the scrolled window. ... The accessor for the propagate-natural-width slot of the gtk:scrolled-window class gets or sets whether the
natural width of the child will be calculated and propagated through the
requested natural width of the scrolled window. ... The accessor for the vadjustment slot of the gtk:scrolled-window class gets or sets the vertical adjustment of
the scrollbar, used to connect the vertical scrollbar to the vertical scroll
functionality of the child widget. ... The accessor for the vscrollbar-policy slot of the gtk:scrolled-window class get or sets when the vertical
scrollbar is displayed. ... The accessor for the window-placement slot of the gtk:scrolled-window class gets or sets where the contents are
located with respect to the scrollbars. ...
Creates a new scrolled window. ...
Returns the horizontal scrollbar of the scrolled window. ...
Returns the vertical scrollbar of the scrolled window. ... The gtk:scrolled-window-policy function retrieves the current policy
values for the horizontal and vertical scrollbars. ... The gtk:scrolled-window-placement function gets the placement of the
contents with respect to the scrollbars for the scrolled window. ...
Unsets the placement of the contents with respect to the scrollbars for the
scrolled window. ... GtkViewport The gtk:viewport widget acts as an adaptor class, implementing
scrollability for child widgets that lack their own scrolling capabilities. ... The accessor for the child slot of the gtk:viewport class gets or sets the child widget of the viewport. ... The accessor for the scroll-to-focus slot of the gtk:viewport class gets or sets whether the viewport should
automatically scroll to keep the focused child in view. ...
Creates a new viewport with the given adjustments, or with default
adjustments if none are given. ...
Scrolls a descendant of the viewport into view. ... Keyboard shortcutsUtilities for accelerators
We have various utility functions to parse and generate textual
representations of keyboard accelerators. If you want to set up keyboard accelerators for widgets, the gtk:shortcut-trigger object is
probably more convenient than the functions in this section. Determines whether a given keyval and modifier mask constitute a
valid keyboard accelerator. ...
Parses a string representing an accelerator. ...
Converts an accelerator keyval and modifier mask into a string parseable by the gtk:accelerator-parse function. ...
Converts an accelerator keyval and modifier mask into a string which can be
used to represent the accelerator to the user. ...
Gets the default modifier mask. ... GtkShortcutManager The gtk:shortcut-manager interface is used to implement shortcut
scopes. ... Adds a gtk:shortcut-controller object to be managed. ... Remove a gtk:shortcut-controller object that had previously been
added. ... GtkShortcut The gtk:shortcut object is the low level object used for managing
keyboard shortcuts. ... The accessor for the arguments slot gets or sets the
arguments that are passed when activating the shortcut. ... GtkShortcutTrigger The gtk:shortcut-trigger object is the object used to track if a gtk:shortcut object should be activated. ...
Tries to parse the given string into a trigger. ... Checks if the given event triggers shortcut. ...
Prints the given trigger into a human-readable string. ...
Gets textual representation for the given trigger. ... A gtk:shortcut-trigger object that triggers when a specific keyval
and (optionally) modifiers are pressed. ... The accessor for the keyval slot returns the keyval that must be pressed to succed triggering object. ... The accessor for the modifiers slot returns the modifiers that must be present to succed triggering object. ... Creates a gtk:shortcut-trigger object that will trigger whenever the key with the given keyval and modifiers is pressed. ... A gtk:shortcut-trigger object that triggers when a specific
mnemonic is pressed. ... The accessor for the keyval slot returns the keyval that must be pressed to succed triggering object. ... Creates a gtk:shortcut-trigger object that will trigger whenever
the key with the given keyval is pressed and mnemonics have been activated. ... A gtk:shortcut-trigger object that triggers when either of two gtk:shortcut-trigger objects trigger. ... The accessor for the first slot returns the first of the two alternative triggers that may trigger shortcut. ... The accessor for the second slot returns the second of the two alternative triggers that may trigger shortcut. ... Creates a gtk:shortcut-trigger object that will trigger whenever
either of the two given triggers gets triggered. ... A gtk:shortcut-trigger object that never triggers. ...
Gets the never trigger. ... GtkShortcutAction
List of flags that can be passed to action activation. ... The gtk:shortcut-action object is the object used to describe what a gtk:shortcut object should do when triggered. ...
Tries to parse the given string into an action. ...
Prints the given action into a human-readable string. ... Activates the action on the widget with the given args. ... A gtk:shortcut-action object that does nothing. ...
Gets the nothing action. ... A gtk:shortcut-action object that invokes a callback. ...
Prototype for shortcuts based on user callbacks. ... Create a custom action that calls the given callback when activated. ...
Gets the mnemonic action. ...
Gets the activate action. ... A gtk:shortcut-action that emits a signal. ... The accessor for the signal-name slot returns the
name of the signal that will be emitted. ...
Creates an action that when activated, emits the given action signal on the provided widget unpacking the given args into arguments passed to the
signal. ... A gtk:shortcut-action that activates an action by name. ... The accessor for the action-name slot returns the
name of the action that will be activated. ...
Creates an action that when activated, activates the action given by the
detailed name on the widget passing the given arguments to it. ... InterfacesGtkActionable The gtk:actionable interface provides a convenient way of associating widgets with actions on a gtk:application-window widget or gtk:application instance. ... The accessor for the action-name slot gets or sets the name of the action with which object should be associated. ... The accessor for the action-target slot gets or sets
the current target value of an actionable widget. ...
Sets the action name and associated string target value of an actionable
widget. ... GtkOrientable The gtk:orientable interface is implemented by all widgets that can
be oriented horizontally or vertically. ... The accessor for the orientation slot gets or sets
the orientation of the orientable widget. ... Abstract Base ClassesGtkWidget The gtk:requisition structure represents the desired size of a
widget. ... The accessor for the width slot gets or sets the height. ... The accessor for the height slot gets or sets the height. ... Allocates a new gtk:requisition instance. ... Copies a gtk:requisition instance. ... The class structure for the gtk:widget class. ...
Virtual function table for a widget that is subclassed from the gtk:widget class. ... The gtk:widget class is the base class all widgets in GTK derive
from. It manages the widget life cycle, layout, states and style. ... The accessor for the can-target slot gets or sets
whether the widget can receive pointer events. ... The accessor for the css-classes slot gets or sets the
list of style classes applied to the widget. ... The accessor for the focus-on-click slot gets or sets
whether the widget should grab focus when it is clicked with the mouse. ... The accessor for the has-default slot returns true if the widget is the current default widget within its toplevel, false
otherwise. ... The accessor for the has-tooltip slot enables or disables the emission of the "query-tooltip" signal on the widget. ... The accessor for the height-request slot gets or sets
the override for height request of the widget, or -1 if natural request
should be used. ... The accessor for the hexpand slot gets or sets whether
the widget would like any available extra horizontal space. ... The accessor for the layout-manager slot gets or sets
the layout manager delegate instance that provides an implementation for
measuring and allocating the children of the widget. ... The accessor for the margin-bottom slot gets or sets the
bottom marging of the widget. ... The accessor for the margin-end slot gets or sets the
value of the end margin of the widget. ... The accessor for the margin-start slot gets or sets the
start margin of the widget. ... The accessor for the margin-top slot gets or sets the
top margin of widget. ... The accessor for the opacity slot gets or sets the
requested opacity for the widget, with opacity 0.0 being fully transparent
and 1.0 fully opaque. ... The accessor for the receives-default slot gets or sets
whether the widget is alyways treated as default widget within its toplevel
when it has the focus, even if another widget is the default. ... The accessor for the scale-factor slot returns the
internal scale factor that maps from window coordinates to the actual
device pixels. ... The accessor for the tooltip-markup slot gets or sets
the contents of the tooltip, which is marked up with the Pango text markup
language. ... The accessor for the tooltip-text slot gets or sets the
contents of the tooltip. ... The accessor for the vexpand slot gets or sets whether
the widget would like any available extra vertical space. ... The accessor for the width-request slot gets or sets
the width request of the widget, or -1 if natural request should be used. ...
Returns whether the widget is currently being destroyed. ...
Flags a widget to be displayed. ... Reverses the effects of the gtk:widget-show function. ...
Causes a widget to be mapped if it is not already. ...
Causes a widget to be unmapped if it is currently mapped. ...
This function determines whether the widget is mapped. ...
Creates the GDK resources associated with a widget. ...
Causes a widget to be unrealized. ...
This function determines whether the widget is realized. ...
Schedules the widget to be redrawn in the paint phase of the current or the
next frame. ...
Flags a widget to have its size renegotiated. ... Flags the widget for a rerun of the size_allocate () virtual
function. ...
Obtains the frame clock for a widget. ...
The callback function for adding a function to update animations. ...
Queues an animation frame update and adds a callback function to be called
before each frame. ...
Removes a tick callback function previously registered with the gtk:widget-add-tick-callback function. ...
Allocates the widget with a transformation that translates the origin to the position in allocation. ... This function is only used by gtk:widget subclasses, to assign a
size, position and (optionally) baseline to their child widgets. ...
Gets or sets the type to be used for creating layout managers for widgets of gtype type. ...
For widgets that can be "activated", buttons, menu items, and so on, this
function activates them. ...
Determines if the widget is the focus widget within its toplevel. ... Causes the widget to have the keyboard focus for the gtk:window
widget it is inside. ... Returns the parent widget of the widget. ...
Dissociate the widget from its parent. ... Returns the gtk:native widget that contains widget, or nil if the widget is not contained inside a widget tree with a
native ancestor. ... Gets the first ancestor of the widget with type gtype. ... Determines whether the widget is somewhere inside ancestor, possibly
with intermediate containers. ... Translate coordinates relative to the allocation of src to coordinates relative to the allocations of dest. ...
Adds the event controller to the widget so that it will receive events. ...
Removes the event controller from the widget, so that it does not process
events anymore. ...
Gets or sets the reading direction for the widget. ...
Gets or sets the default reading direction for widgets where the direction has not been explicitly set by the gtk:widget-direction function. ...
Creates a new Pango context with the appropriate font map, font description,
and base direction for drawing text for this widget. ...
Gets a Pango context with the appropriate font map, font description, and
base direction for this widget. ... The gtk:widget-font-options function returns the font options used
for Pango rendering. ... The gtk:widget-font-map function gets the font map that has been set. ... Creates a new pango:layout object with the appropriate font map,
font description, and base direction for drawing text for this widget. ...
Sets a named cursor to be shown when pointer devices point towards widget. ... The gtk:widget-class-accessible-role function gets the accessible role
used by the given widget class. ...
Called by widgets as the user moves around the window using keyboard
shortcuts. ...
Gets or sets whether the widget should be mapped along with its parent. ...
Gets the settings object holding the settings used for this widget. ...
Gets the clipboard object for the widget. ...
This is a utility function to get the primary clipboard object for the gdk:display object that widget is using. ...
Gets the display for the toplevel window associated with the widget. ... The gtk:widget-size-request function gets the size request of the
widget. ...
Returns a list of the widgets, normally labels, for which this widget is
the target of a mnemonic. ...
Adds a widget to the list of mnemonic labels for this widget. ...
Removes a widget from the list of mnemonic labels for this widget. ... Emits the "mnemonic-activate" signal. ...
Notifies the user about an input-related error on this widget. ... Emits the "notify::keynav-failed" signal on the widget. ... Triggers a tooltip query on the display where the toplevel of widget
is located. ... Returns the width that has currently been allocated to widget. ... Returns the height that has currently been allocated to widget. ...
Retrieves the allocation of the widget. ...
Returns the baseline that has currently been allocated to the widget. ...
Returns the content width of the widget, as passed to its size allocate
implementation. ...
Returns the content width of the widget, as passed to its size allocate
implementation. ...
Returns the content width or height of the widget, depending on the given
orientation. ...
Returns the baseline that has currently been allocated to the widget. ...
Computes a matrix suitable to describe a transformation from the coordinate system of widget into the coordinate system of target. ... Translates the given point in the coordinates of widget to coordinates relative to the coordinate system of target. ... Tests if the point at (x,y) is contained in the widget. ... Finds the descendant of widget, including widget itself, closest to the screen at the point (x,y). ...
Returns the widgets effective sensitivity, which means it is sensitive
itself and also its parent widget is sensitive. ...
Determines whether the widget and all its parents are marked as visible. ...
Gets or sets the widget state as a flag set. ...
Turns off flag values for the current widget state, insensitive, prelighted,
and so on. ...
Determines if the widget should show a visible indication that it has the
global input focus. ...
Determines whether the widget can be drawn to. ... Calls the gtk:widget-snapshot virtual function for widget and its children when a new snapshot of widget has to be taken. ...
When a widget receives a call to the snapshot function, it must send synthetic gtk:widget-snapshot calls to all children. ...
Returns the next sibling of the widget. ...
Returns the previous sibling of the widget. ...
Returns the first child of the widget. ...
Returns the last child of the widget. ... Returns whether widget should contribute to the measuring and
allocation of its parent. ...
Gets the current foreground color for the CSS style of the widget. ... Adds class to the widget. ...
Gets or sets the name to be used for CSS matching of widgets. ...
Returns the style context associated to the widget. ... Adds a style provider to the display of widget to be used in style
construction. ...
Removes a style provider from the display of the widget. ...
Gets whether the widget prefers a height-for-width layout or a
width-for-height layout. ...
Retrieves the minimum and natural size of a widget, taking into account the
preference for height-for-width management of the widget. ...
Computes whether a container should give this widget extra space when
possible. ...
Creates and initializes child widgets defined in templates. ... Clears the template children for the given widget. ... Fetch an object build from the template XML for gtype in this widget
instance. ...
This should be called at class initialization time to specify the gtk:builder XML to be used to extend a widget. ...
This should be called at class initialization time to specify the gtk:builder XML to be used to extend a widget. ... A convenience function to call the gtk:widget-class-set-template
function. ...
For use in language bindings, this will override the default gtk:builder-scope instance to be used when parsing GtkBuilder XML
from the template data of the class. ...
Binds a child widget defined in a template to the widget class of type gtype. ... Inserts an action group into widget. ...
Looks up the action in the action groups associated with widget and its
ancestors, and activates it. ... GtkRange The gtk:range class is the common base class for widgets which visualize an adjustment, for example the gtk:scale widget. ... The accessor for the adjustment slot gets or sets the
adjustment which is the "model" object for the range. ... The accessor for the fill-level slot gets or sets the
current position of the fill level indicator. ... The accessor for the restrict-to-fill-level slot gets or
sets whether the range is restricted to the fill level. ... The accessor for the round-digits slot gets or sets the
number of digits to round the value to when it changes. ... The accessor for the show-fill-level slot gets or sets
whether the range displays the fill level graphically. ...
Gets or sets the current value of the range. ...
Sets the step and page sizes for the range. ...
Gets or sets whether the range is flippable. ...
This function returns the area that contains the trough of the range and its
steppers, in widget window coordinates. ...
This function returns sliders range along the long dimension, in
widget window coordinates. ...
Gets or sets whether the slider of the range has a fixed size or a size
that depends on its page size of the adjustment. ... PrintingGtkPrintOperationPreviewGtkPrintOperation
The status gives a rough indication of the completion of a running print
operation. ... The action parameter to the gtk:print-operation-run function
determines what action the print operation should perform. ... A value of this type is returned by the gtk:print-operation-run
function. ... The gtk:print-operation object is the high-level, portable printing
API. ... The accessor for the allow-async slot gets or
sets whether the print operation may run asynchronously or not. ... The accessor for the current-page slot gets or
sets the current page in the document. ... The accessor for the custom-tab-label slot gets
or sets the label for the tab holding custom widgets. ... The accessor for the default-page-setup slot
gets or sets the default page setup for the print operation. ... The accessor for the embed-page-setup slot gets
or sets whether page setup selection combos are embedded. ... The accessor for the export-filename slot gets
or sets the name of a file to generate instead of showing the print dialog. ... The accessor for the has-selection slot gets
or sets whether there is a selection to print. ... The accessor for the n-pages-to-print slot
returns the number of pages that will be printed. ... The accessor for the print-settings slot gets
or sets the print settings used for initializing the print operation. ... The accessor for the show-progress slot gets or
sets whether to show a progress dialog during the print operation. ... The accessor for the status-string slot returns
a string representation of the status of the print operation. ... The accessor for the support-selection slot
gets or sets whether the application supports print of selection. ... The accessor for the track-print-status slot
gets or sets whether the print operation will try to continue report on the
status of the print job in the printer queues and printer. ... The accessor for the unit slot gets or sets
the transformation for the Cairo context obtained from the gtk:print-context object in such a way that distances are measured in units of a value of the gtk:unit enumeration. ... The accessor for the use-full-page slot. ... Creates a new gtk:print-operation object. ...
Runs the print operation, by first letting the user modify print settings
in the print dialog, and then print the document. ...
Cancels a running print operation. ...
Signalize that drawing of the particular page is complete. ... Sets up the gtk:print-operation object to wait for calling of the gtk:print-operation-draw-page-finish function from the application. ...
A convenience function to find out if the print operation is finished, either successfully :finished or unsuccessfully :finished-aborted. ...
Runs a page setup dialog, letting the user modify the values from setup. ...
The type of callback function that is passed to the gtk:print-run-page-setup-dialog-async function. ...
Runs a page setup dialog, letting the user modify the values from setup. ... GtkPrintContext The gtk:print-context object encapsulates context information that
is required when drawing pages for printing, such as the Cairo context and
important parameters like page size and resolution. ...
Obtains the Cairo context that is associated with the print context. ...
Sets a new Cairo context on a print context. ...
Obtains the page setup that determines the page dimensions of the print
context. ...
Obtains the width of the print context, in pixels. ...
Obtains the height of the print context, in pixels. ...
Obtains the horizontal resolution of the print context, in dots per inch. ...
Obtains the vertical resolution of the print context, in dots per inch. ...
Returns a font map that is suitable for use with the print context. ...
Creates a new Pango context that can be used with the print context. ...
Creates a new Pango layout that is suitable for use with the print context. ...
Obtains the hardware printer margins of the print context, in units. ... GtkPaperSizeEnumeration for dimensions of paper sizes. ... The gtk:paper-size structure handles paper sizes. ... Creates a new gtk:paper-size instance by parsing a PWG 5101.1-2002
paper name. ... Creates a new gtk:paper-size instance by using PPD information. ... Creates a new gtk:paper-size instance by using PPD information. ... Creates a new gtk:paper-size instance with the given parameters. ... Copies an existing gtk:paper-size instance. ... Compares two gtk:paper-size instances. ...
Creates a list of known paper sizes. ...
Gets the name of the paper size. ...
Gets the human readable name of the paper size. ... Gets the PPD name of the paper size, which may be nil. ... Gets the paper width of the paper size, in units of unit. ... Gets the paper height of the paper size, in units of unit. ... Returns true if the paper size is an IPP standard paper size. ... Returns true if size is not a standard paper size. ...
Gets the default top margin for the paper size. ...
Gets the default bottom margin for the paper size. ...
Gets the default left margin for the paper size. ...
Gets the default right margin for the paper size. ...
Returns the name of the default paper size, which depends on the current
locale. ... Deserialize a paper size from a g:variant parameter of "a{sv}" type in the format produced by the gtk:paper-size-to-gvariant function. ... GtkPrintSettingsSee the gtk:print-settings-orientation function. ... See the gtk:print-settings-duplex function. ... See the gtk:print-settings-quality function. ...
Used to determine the layout of pages on a sheet when printing multiple
pages per sheet. ... See the gtk:print-job-page-set function. ... The gtk:print-settings object represents the settings of a print
dialog in a system independent way. ... Creates a new gtk:print-settings object. ... Reads the print settings from path. ... Reads the print settings from the group group in the key file. ... Deserialize print settings from a variant of a{sv} type in the format produced by the gtk:print-settings-to-gvariant function. ... Copies a gtk:print-settings object. ... Reads the print settings from path. ... Reads the print settings from the group group in the key file. ...
This function adds the print settings to the key file. ... Serialize print settings to a variant of a{sv} type. ... Returns true, if a value is associated with key. ... Looks up the string value associated with key. ... Removes any value associated with key. ...
The callback function that is called from the gtk:print-settings-foreach function. ... Calls func for each key value pair of the print settings. ...
Gets or sets the boolean represented by the value that is associated with key. ... Gets or sets the double float value for key. ...
Returns the double float number represented by the value that is associated with key, or default if the value does not represent
a double float number. ... Gets or sets the integer for key. ... Returns the value for key, interpreted as an integer, or the default
value. ... Gets or sets the value of the "printer" print setting. ... Gets or sets the value of the "orientation" print setting, converted to a gtk:page-orientation value. ... Gets or sets the value of the "paper-format" print setting, converted to a gtk:paper-size instance. ... Gets or sets the value of the "use-color" print setting. ... Gets or sets the value of the "collate" print setting. ... Gets or sets the value of the "reverse" print setting. ... Gets or sets the value of the "duplex" print setting. ... Gets or sets the value of the "quality" print setting. ... Gets or sets the value of the "n-copies" print setting. ... Gets or sets the value of the "number-up" print setting. ... Gets or sets the value of the "number-up-layout" print setting. ... Gets or sets the value of the "resolution" print setting. ... Gets the value of the "resolution-x" print setting. ... Gets the value of the "resolution-y" print setting. ... Gets or sets the value of the "print-lpi" print setting. ... Gets or sets the value of the "scale" print setting. ... Gets or sets the value of the "print-pages" print setting. ... Gets or sets the value of the "page-ranges" print setting. ... Gets or sets the value of the "page-set" print setting. ... Gets or sets the value of the "default-source" print setting. ... Gets or sets the value of the "media-type" print setting. ... Gets or sets the value of the "dither" print setting. ... Gets or sets the value of the "finishings" print setting. ... Gets or sets the value of the "output-bin" print setting. ... GtkPageSetup The gtk:page-setup object stores the page size, orientation and
margins. ... Creates a new page setup. ...
Reads the page setup from a file. ... Reads the page setup from the group group in the key file. ... Deserialize a page setup from a a{sv} variant in the format produced by the gtk:page-setup-to-gvariant function. ... Copies a page setup. ... The gtk:page-setup-orientation function gets the page orientation
of the page setup object. ... The gtk:page-setup-paper-size function gets the paper size of the
page setup object. ... The gtk:page-setup-bottom-margin function gets the bottom margin of the page setup in units of unit. ... The gtk:page-setup-left-margin function gets the left margin of the page setup in units of unit. ... The gtk:page-setup-right-margin function gets the right margin of the page setup in units of unit. ...
Sets the paper size of the page setup and modifies the margins according
to the new paper size. ... Returns the paper width of the page setup in units of unit. ... Returns the paper height of the page setup in units of unit. ... Returns the page width of the page setup in units of unit. ... Returns the page height of the page setup in units of unit. ...
Reads the page setup from a file. ... Reads the page setup from the group group in the key file. ...
The function saves the information from the page setup to a file. ...
The function adds the page setup from the page setup to a key file. ... Serialize the page setup to a a{sv} variant. ... GtkPrinterThe print backend. ... The gtk:printer object represents a printer. ... The accessor for the accepting-jobs slot returns
whether the printer is accepting jobs. ... The accessor for the accepts-pdf slot returns whether
the printer accepts input in PDF format. ... The accessor for the accepts-ps slot returns whether
the printer accepts input in PostScript format. ... The accessor for the is-virtual slot returns whether
the printer is virtual, that is, does not represent actual printer hardware,
but something like a CUPS class. ... The accessor for the state-message slot returns the
state message describing the current state of the printer. ... Creates a new printer. ... Gets the description of the printer. ...
Returns whether the printer is currently active, that is accepts new jobs. ...
Returns whether the printer is currently paused. ... Returns whether the printer is accepting jobs. ... Returns whether the printer is the default printer. ...
Lists all the paper sizes the printer supports. ... Compares two printers. ... Returns whether printer details are available. ... Requests printer details for printer. ...
Returns the capabilities of the printer. ... Returns the default page size of the printer. ...
Retrieve the hard margins of the printer, that is the margins that define
the area at the borders of the paper that the printer cannot print to. ... The type of callback function passed to the gtk:enumerate-printers
function. ...
Calls a function for all printers. ... GtkPrintJob The gtk:print-job object represents a job that is sent to a printer. ... The accessor for the page-setup slot returns the
page setup. ... The accessor for the track-print-status slot gets or
sets whether print jobs will be tracked after printing. ... Creates a new gtk:print-job object. ... Gets the status of the print job. ...
Make the print job send an existing document to the printing system. ...
Gets a Cairo surface onto which the pages of the print job should be
rendered. ... The type of callback function that is passed to the gtk:print-job-send
function. ... Sends the print job off to the printer. ...
Gets or sets the pages setting for the print job. ...
Gets or sets the page ranges for the print job. ...
Gets or sets the setting for the print job. ...
Gets or sets the number of copies for the print job. ...
Gets or sets the scale for the print job, where 1.0 means unscaled. ...
Gets or sets the n-up setting for the print job. ...
Gets or sets the layout setting for the print job. ...
Gets or sets whether the job is printed rotated. ...
Gets or sets whether the job is printed collated. ...
Gets or sets whether the job is printed reversed. ... GtkPrintUnixDialog
The flags for specifying which features the print dialog should offer. ... The gtk:print-unix-dialog widget implements a print dialog for
platforms which do not provide a native print dialog, like Unix. ... The accessor for the current-page slot gets
or sets the current page number of the print dialog. ... The accessor for the embed-page-setup slot
gets or sets whether page setup combos are embedded in the print dialog. ... The accessor for the has-selection slot gets
or sets whether the application has a selection. ... The accessor for the manual-capabilities slot
gets or sets the capabilities the application can handle. ... The accessor for the page-setup slot gets or
sets the page setup that is used by the print dialog. ... The accessor for the print-settings slot gets
or sets the print settings that represents the current values in the print
dialog. ... The accessor for the selected-printer slot
returns the currently selected printer. ... The accessor for the support-selection slot
gets or sets whether the print dialog allows user to print a selection. ... Creates a new print dialog. ...
Gets or sets the print settings that represents the current values in the
print dialog. ...
Adds a custom tab to the print dialog. ...
Gets whether a page setup was set by the user. ... GtkPageSetupUnixDialog The page-setup-unix-dialog widget implements a page setup dialog
for platforms which do not provide a native page setup dialog, like Unix. ...
Creates a new page setup dialog. ...
Gets or sets the page setup from which the page setup dialog takes its
values. ...
Gets or sets the print settings from which the page setup dialog takes its
values. ... GtkPrintSetup The gtk:print-setup structure is an auxiliary structure for printing
that allows decoupling the setup from the printing. ... Returns the page setup of setup. ... Returns the print settings of setup. ... GtkPrintDialog The gtk:print-dialog object collects the arguments that are needed
to present a print dialog to the user, such as a title for the dialog and
whether it should be modal. ... The accessor for the accept-label slot gets or
sets the label that will be shown on the accept button of the print dialog. ... The accessor for the modal slot gets or sets
whether the print dialog blocks interaction with the parent window while it
is presented. ... The accessor for the page-setup slot gets or sets
the page setup for the print dialog. ... The accessor for the print-settings slot gets or
sets the print settings for the print dialog. ... Creates a new print dialog. ... The gtk:print-dialog-print-file function prints a file. ... Finishes the gtk:print-dialog-print-file function call and returns
the results. ... The gtk:print-dialog-setup function presents a print dialog to let
the user select a printer, and set up print settings and page setup. ... Finishes the gtk:print-dialog-setup function call. ... Recently Used DocumentsGtkRecentInfo The gtk:recent-info structure contains all the meta-data associated
with an entry in the recently used files list. ... Gets the URI of the resource. ...
Gets the name of the resource. ... Gets the (short) description of the resource. ... Gets the MIME type of the resource. ...
Gets the timestamp, seconds from system's Epoch, when the resource was
added to the recently used resources list. ...
Gets the timestamp, seconds from system's Epoch, when the resource was
last modified. ...
Gets the timestamp, seconds from system's Epoch, when the resource was
last visited. ...
Gets the value of the "private" flag. ...
Retrieves the icon associated to the resource MIME type. ...
Computes a valid UTF-8 string that can be used as the name of the item in a
menu or list. ...
Gets a displayable version of the URI of the resource. ...
Gets the number of days elapsed since the last update of the resource
pointed by info. ...
Checks whether the resource is local or not by looking at the scheme of its
URI. ... Checks whether the resource pointed by info still exists. ...
Gets the data regarding the application that has registered the resource pointed by info. ...
Retrieves the list of applications that have registered this resource. ...
Gets the name of the last application that has registered the recently used resource represented by info. ... Checks whether an application registered this resource using name. ... Returns all groups registered for the recently used item info. ... Checks whether two gtk:recent-info instances point to the same
resource. ... GtkRecentManager The gtk:recent-manager object provides a facility for adding,
removing and looking up recently used files. ... The accessor for the filename slot of the gtk:recent-manager class returns the full path to the file to be
used to store and read the recently used resources list. ... The accessor for the size slot of the gtk:recent-manager class returns the size of the recently used
resources list. ...
Creates a new recent manager object. ...
Gets a unique instance of the default recent manager. ...
Gets the list of recently used resources. ... Checks whether there is a recently used resource registered with uri
inside the recent manager. ...
Searches for a URI inside the recently used resources list, and returns a gtk:recent-info instance containing informations about the resource
like its MIME type, or its display name. ... Adds a new resource, pointed by uri, into the recently used resources
list. ... Removes a resource pointed by uri from the recently used resources
list handled by a recent manager. ...
Purges every item from the recently used resources list. ... Gestures and event handlingGtkEventController
Describes the stage at which events are fed into a gtk:event-controller object. ... Describes limits of a gtk:event-controller object for handling
events targeting other widgets. ... The gtk:event-controller class is the base class for event
controllers. ... The accessor for the propagation-limit slot
gets or sets the propagation limit of the event controller. ... The accessor for the propagation-phase slot
gets or sets the propagation phase at which controller handles events. ... Resets the controller to a clean state. ...
Returns the event that is currently being handled by the controller, and nil at other times. ...
Returns the device of the event that is currently being handled by the controller, and nil otherwise. ...
Returns the modifier state of the event that is currently being handled by
the controller. ...
Returns the timestamp of the event that is currently being handled by the
controller, and 0 otherwise. ... GtkEventControllerKey The gtk:event-controller-key object is an event controller meant
for situations where you need access to key events. ... Creates a new event controller that will handle key events. ...
Gets or sets the input method context of the key controller. ...
Forwards the current event of this controller to a widget. ... Gets the key group of the current event of the controller. ... GtkEventControllerFocus The gtk:event-controller-focus class is an event controller to keep
track of keyboard focus. ... The accessor for the contains-focus slot returns true if focus is within the controllers widget or one of its
children. ... The accessor for the is-focus slot returns true if focus is within the controllers widget, but not one of
its children. ... Creates a new event controller that will handle focus events. ... GtkEventControllerLegacy The gtk:event-controller-legacy object is an event controller that
gives you direct access to the event stream. ... Creates a new legacy event controller. ... GtkEventControllerScroll Describes the behavior of a gtk:event-controller-scroll object. ... The gtk:event-controller-scroll object is an event controller is an
event controller that handles scroll events. ... The accessor for the flags slot gets
or sets the flags conditioning the scroll controller behavior. ... Creates a new event controller that will handle scroll events. ... GtkEventControllerMotion The gtk:event-controller-motion object is an event controller
tracking the pointer position. ... The accessor for the contains-pointer slot returns true if the pointer is within the controllers widget or
one of its children. ... The accessor for the is-pointer slot returns true if the pointer is within the controllers widget but not
one of its children. ... Creates a new event controller that will handle motion events. ... GtkGesture The gtk:gesture object is the base object for gesture recognition. ... The accessor for the n-points slot returns the number
of touch points that trigger recognition on this gesture. ... Returns the logical gdk:device object that is currently operating on gesture, or nil if the gesture is not being interacted. ... Returns true if the gesture is currently active. ... Returns true if the gesture is currently recognized. ...
Gets or sets the sequence state, as seen by the gesture. ...
Sets the state of all sequences that the gesture is currently interacting
with. ... Returns the last event that was processed for sequence. ... If sequence is currently being interpreted by gesture, this
function returns x and y with the last coordinates stored for that event
sequence. ... If there are touch sequences being currently handled by gesture, this
function returns the bounding box containing all active touches. ... If there are touch sequences being currently handled by gesture, this function returns in x and y the center of the bounding box
containing all active touches. ... Separates gesture into an isolated group. ... Returns all gestures in the group of gesture. ... Returns true if both gestures pertain to the same group. ... GtkGestureSingle The gtk:gesture-single class is a gtk:gesture implementation
optimized for single-touch and mouse gestures. ... The accessor for the touch-only slot gets or
sets whether the gesture handles only touch events. ... Returns the button number currently interacting with gesture, or 0 if
there is none. ...
Returns the event sequence currently interacting with the gesture. ... GtkGestureDragReturns a newly created gesture that recognizes drags. ...
If the gesture is active, this function returns the drag start coordinates, in widget-relative coordinates, otherwise nil is returned. ...
If the gesture is active, this function returns the coordinates of the current point, as an offset to the starting drag point, otherwise nil
is returned. ... GtkGestureLongPress The gtk:gesture-long-press object is a gesture for long presses. ... The accessor for the delay-factor slot
gets or sets the factor by which to modify the default timeout. ...
Returns a newly created gesture that recognizes long presses. ... GtkGesturePan Describes the panning direction of a gtk:gesture-pan object. ... The accessor for the orientation slot gets or sets
the orientation of the pan gestures that this gesture expects. ...
Returns a newly created gesture that recognizes pan gestures. ... GtkGestureSwipeGtkGestureRotateGtkGestureZoomGtkGestureStylus The accessor for the stylus-only slot gets or
sets whether the gesture handle events from stylus input devices. ...
Creates a new stylus gesture. ...
Returns the current value for the requested axis. ...
Returns the backlog events. ...
Returns the device tool currently driving input through this gesture. ... GtkPadController
The type of a pad action. ... The gtk:pad-controller object is an event controller for the pads
found in drawing tablets. ... The accessor for the action-group slot returns
the action group to launch actions from. ...
This is a convenience function to add a group of action entries on the
pad controller. ... Adds an individual action to controller. ... GtkShortcutController The gtk:shortcut-controller class is an event controller that
manages shortcuts. ... The accessor for the mnemonic-modifiers slot
gets or sets the modifiers that need to be pressed to allow mnemonics
activation. ... The accessor for the scope slot gets or
sets the scope for when the controller activates its shortcuts. ... Creates a new shortcut controller. ...
Creates a new shortcut controller that takes its shortcuts from the given
list model. ... Adds a shortcut to the list of shortcuts handled by controller. ... Removes a shortcut from the list of shortcuts handled by controller. ... Data exchange, Clipboards, Drag and DropGtkDragSource The gtk:drag-source object is an auxiliary object that is used to
initiate Drag and Drop operations. ... The accessor for the actions slot gets or sets the
actions that are supported by drag operations from the drag source. ... The accessor for the content slot gets or sets the
data that is offered by drag operations from this drag source, in the form of a gdk:content-provider object. ... Creates a new drag source. ...
Sets a paintable to use as icon during DND operations. ... Cancels a currently ongoing drag operation. ... Checks to see if a mouse drag starting at (xstart, ystart) and ending at (xcurrent, ycurrent) has passed the GTK drag threshold,
and thus should trigger the beginning of a drag-and-drop operation. ... GtkDragIcon The gtk:drag-icon widget is a gtk:root implementation with
the sole purpose to serve as a drag icon during DND operations. ... Gets the drag icon in use with drag. ... Creates a drag icon that shows paintable, and associates it with the
drag operation. ... Creates a widget that can be used as a drag icon for the given gvalue. ... GtkDropTarget The gtk:drop-target object is an event controller implementing a
simple way to receive Drag-and-Drop operations. ... The accessor for the current-drop slot returns
the currently handled drop operation. ... The accessor for the preload slot gets or sets
whether the drop data should be preloaded when the pointer is only hovering
over the widget but has not been released. ... The accessor for the value slot returns the value for this drop operation or nil if the data has not been loaded yet
or no drop operation is going on. ...
Creates a new drop target. ... Gets or sets the list of supported GTypes for target. ...
Rejects the ongoing drop operation. ... GtkDropTargetAsync The gtk:drop-target-async object is an auxiliary object that can be
used to receive Drag-and-Drop operations. ... Creates a new gtk:drop-target-async object. ...
Sets the drop as not accepted on this drag site. ... GtkDropControllerMotion The gtk:drop-controller-motion object is an event controller meant
for tracking the pointer hovering over a widget during a drag and drop
operation. ... The accessor for the contains-pointer
slot returns whether the pointer of a Drag-and-Drop operation is in the
controller’s widget or a descendant. ... The accessor for the drop slot returns
the ongoing drop operation over the widget of the controller or its
descendant. ... The accessor for the is-pointer slot
returns whether the pointer is in the controllers widget itself, as opposed
to in a descendent widget. ...
Creates a new event controller that will handle pointer motion events during
drag and drop. ... MiscellaneousGtkAdjustment The gtk:adjustment object represents a value which has an associated
lower and upper bound, together with step and page increments, and a page
size. ... The accessor for the page-increment slot gets or sets
the page increment of the adjustment. ... The accessor for the step-increment slot gets or sets
the step increment of the adjustment. ... Creates a new adjustment. ... Updates the adjustment value to ensure that the range between lower and upper is in the current page. ...
Sets all properties of the adjustment at once. ... Gets the smaller of step increment and page increment. ... GtkSizeGroup
The mode of the size group determines the directions in which the gtk:size-group widget affects the requested sizes of its component
widgets. ... The gtk:size-group object provides a mechanism for grouping a number
of widgets together so they all request the same amount of space. ...
Create a new size group. ...
Adds a widget to a size group. ...
Removes a widget from a size group. ...
Returns the list of widgets associated with the size group. ... GtkFrame The gtk:frame widget is a widget that surrounds its child widget
with a frame and an optional label. ... The accessor for the label-widget slot gets or sets the
label widget for the frame. ... The accessor for the label-xalign slot gets or sets the
x alignment of the label of the frame. ...
Creates a new frame widget, with an optional label. ...
Gets or sets the x alignment of the label of the frame. ... GtkSeparator The gtk:separator widget is a horizontal or vertical separator
widget. ... Creates a new separator widget with the given orientation. ... GtkSnapshot The gtk:snapshot object is an auxiliary object that assists in creating gsk:render-node objects for widgets. ... Creates a new gtk:snapshot object. ... Returns the render node that was constructed by snapshot. ...
Returns a paintable encapsulating the render node that was constructed by snapshot. ...
Modifies the opacity of an image. ...
Modifies the colors of an image by applying an affine transformation in RGB
space. ...
Creates a node that repeats the child node. ...
Clips an image to a rectangle. ...
Clips an image to a rounded rectangle. ...
Snapshots a cross-fade operation between two images with the given progress. ...
Blends together two images with the given blend mode. ...
Blurs an image. ...
Applies a shadow to an image. ... Until the first call to the gtk:snapshot-pop function, the mask image
for the mask operation will be recorded. ...
Modifies the colors of an image by applying a transfer function for each
component. ... Until the first call to the gtk:snapshot-pop function, the mask image
for the mask operation will be recorded. ...
Stores the current rendering state for later pasting via the gtk:snapshot-append-paste function. ...
Isolates the following drawing operations from previous ones. ...
Removes the top element from the stack of render nodes and appends it to
the node underneath it. ... Makes a copy of the current state of snapshot and saves it on an
internal stack. ... Restores snapshot to the state saved by a preceding call to the gtk:snapshot-save function and removes that state from the stack of
saved states. ...
Transforms the coordinate system of the snapshot with the given transform. ...
Transforms the coordinate system of the snapshot with the given matrix. ... Translates the coordinate system of the snapshot by point in
2-dimensional space. ... Translates the coordinate system of the snapshot by point. ... Rotates the coordinate system of the snapshot by angle degrees in 2D
space - or in 3D speak, rotates around the Z axis. ...
Scales the coordinate system of the snapshot in 2-dimensional space by the
given factors. ...
Scales the coordinate system of the snapshot by the given factors. ...
Applies a perspective projection transform. ... Creates a new gsk:cairo-node instance and appends it to the current render node of snapshot, without changing the current node. ...
Creates a new render node drawing the color into the given bounds and appends it to the current render node of snapshot. ... Creates render nodes for rendering layout in the given foregound
color and appends them to the current node of snapshot without changing the
current node. ...
Appends a stroked border rectangle inside the given outline. ... Appends a linear gradient node with the given color stops to snapshot. ...
Appends a repeating linear gradient node with the given stops to snapshot. ... Appends a radial gradient node with the given stops to snapshot. ...
Appends a repeating radial gradient node with the given stops to snapshot. ... Appends a conic gradient node with the given stops to snapshot. ... Appends an inset shadow into the box given by outline. ... Appends an outset shadow node around the box given by outline. ...
Creates a new render node drawing the texture into the given bounds and appends it to the current render node of snapshot. ...
Creates a new render node drawing the texture into the given bounds and appends it to the current render node of snapshot. ...
A convenience method to fill a path with a color. ...
A convenience method to stroke a path with a color. ...
Creates a new render node that pastes the contents copied by a previous call to the gtk:snapshot-push-copy function. ... GtkTooltip The gtk:tooltip object is an object representing a widget tooltip. ... Sets the text of the tooltip to be markup. ... Sets the text of the tooltip to be text. ...
Sets the icon of the tooltip, which is in front of the text, to be paintable. ...
Sets the icon of the tooltip, which is in front of the text, to be the icon indicated by name. ...
Sets the icon of the tooltip, which is in front of the text, to be the icon indicated by gicon. ... Replaces the widget packed into the tooltip with widget. ...
Sets the area of the widget, where the contents of the tooltip apply, to be rectangle, in widget coordinates. ... GtkWidgetPaintable The gtk:widget-paintable object is an implementation of the the gdk:paintable interface that allows displaying the contents of a gtk:widget object. ... Creates a new paintable widget observing the given widget. ... GtkWindowControls The gtk:window-controls widget shows window frame controls, such as
Minimize, Maximize and Close buttons, and the window icon. ... The accessor for the decoration-layout slot
gets or sets the decoration layout for the title buttons, overriding the gtk-decoration-layout setting. ... The accessor for the side slot gets or sets
whether the widget shows start or end side of the decoration layout. ... The accessor for the use-native-controls slot
gets or sets whether to show platform native Close/Minimize/Maximize
buttons. ... Creates a new gtk:window-controls widget. ... GtkWindowHandle The gtk:window-handle widget is a titlebar area widget. ... Creates new gtk:window-handle widget. ... GTK Core ReferenceLibrary initialization and main loop Before using GTK, you need to initialize it using the gtk:init
function. This connects to the windowing system, sets up the locale and performs other initialization tasks. The gtk:init function exits
the application if errors occur. To avoid this, you can use the gtk:init-check function, which allows you to recover from a failed
GTK initialization. For instance, you might start up your application in
text mode instead. Like most GUI toolkits, GTK uses an event-driven programming model. When the application is doing nothing, GTK sits in the "main loop" and waits for input. If the user performs some action - say, a mouse click - then the main loop "wakes up" and delivers an event to GTK. GTK forwards the event to one or more widgets. When widgets receive an event, they frequently emit one or more "signals". Signals notify your program that something interesting happened by invoking functions you have connected to the signal with the g:signal-connect function. Functions connected to a signal are often called "callbacks". When your callbacks are invoked, you would typically take some action - for example, when an Open button is clicked you might display a gtk:file-chooser-dialog widget. After a callback finishes, GTK will return to the main loop and await more user input. It is important to note that if you use the gtk:application class, the application class will take care of initializing GTK for you, as well as spinning the main loop. Functions for library initializationVersion Information
GTK provides version information, primarily useful in configure checks
for builds that have a configure script. Applications will not typically
use the features described here. Functions for version information
Returns the major version number of the GTK library. ...
Returns the minor version number of the GTK library. ...
Returns the micro version number of the GTK library. ...
Checks that the GTK library in use is compatible with the given version. ...
Returns the version of the GTK library as a human readable string of the
form "x.y.z". ...
Provides informations about the installation and the versions of the
loaded libraries. ... GtkSettings Values for the gtk-font-rendering setting that
influence how GTK renders fonts. ... The gtk:settings object provides a mechanism to share global
settings between applications. ... The accessor for the gtk-alternative-button-order slot
of gets or sets whether buttons in dialogs should use the alternative button
order. ... The accessor for the gtk-alternative-sort-arrows slot
of gets or sets the direction of the sort indicators in sorted list and
tree views. ... The accessor for the gtk-application-prefer-dark-theme
slot gets or sets whether the application prefers to use a dark theme. ... The accessor for the gtk-cursor-aspect-ratio slot
gets or sets the aspect ratio of the text caret. ... The accessor for the gtk-cursor-blink slot gets or
sets whether the cursor should blink. Also see the gtk-cursor-blink-timeout setting, which allows more
flexible control over cursor blinking. ... The accessor for the gtk-cursor-blink-time slot gets
or sets the length of the cursor blink cycle, in milliseconds. ... The accessor for the gtk-cursor-blink-timeout slot
gets or sets the time after which the cursor stops blinking, in seconds. ... The accessor for the gtk-cursor-theme-name slot gets or sets the name of the cursor theme to use, or nil to use the
default theme. ... The accessor for the gtk-cursor-theme-size slot gets
or sets the size to use for cursors, or 0 to use the default size. ... The accessor for the gtk-decoration-layout slot gets
or sets which buttons should be put in the titlebar of client-side decorated
windows, and whether they should be placed at the left of right. ... The accessor for the gtk-dialogs-use-header slot gets
or sets whether built-in GTK dialogs such as the file chooser, the color
chooser or the font chooser will use a header bar at the top to show action
widgets, or an action area at the bottom. ... The accessor for the gtk-dnd-drag-threshold slot gets
or sets the number of pixels the cursor can move before dragging. ... The accessor for the gtk-double-click-distance slot
gets or sets the maximum distance in pixels allowed between two clicks for
them to be considered a double click. ... The accessor for the gtk-double-click-time slot gets
or sets the maximum time allowed between two clicks for them to be
considered a double click, in milliseconds. ... The accessor for the gtk-enable-accels slot gets or
sets whether menu items should have visible accelerators which can be
activated. ... The accessor for the gtk-enable-animations slot gets
or sets whether to enable toolkit-wide animations. ... The accessor for the gtk-enable-event-sounds slot gets
or sets whether to play any event sounds at all. ... The accessor for the gtk-enable-input-feedback-sounds
slot gets or sets whether to play event sounds as feedback to user input. ... The accessor for the gtk-enable-primary-paste slot
gets or sets whether a middle click on a mouse should paste the "PRIMARY"
clipboard content at the cursor location. ... The accessor for the gtk-entry-password-hint-timeout
slot gets or sets how long to show the last input character in hidden
entries. ... The accessor for the gtk-entry-select-on-focus slot
gets or sets whether to select the contents of an entry when it is focused. ... The accessor for the gtk-error-bell slot gets or sets
whether keyboard navigation and other input-related errors will cause a
beep. ... The accessor for the gtk-font-name slot gets or sets
the name of the default font to use. ... The accessor for the gtk-fontconfig-timestamp slot
gets or sets the timestamp of the current fontconfig configuration. ... The accessor for the gtk-hint-font-metrics slot gets
or sets whether hinting should be applied to font metrics. ... The accessor for the gtk-icon-theme-name slot gets or
sets the name of the icon theme to use. ... The accessor for the gtk-im-module slot gets or sets
which IM (input method) module should be used by default. ... The accessor for the gtk-interface-color-scheme slot
gets or sets the color scheme used for rendering the user interface. ... The accessor for the gtk-interface-contrast slot gets
or sets the level of contrast to use for the user interface. ... The accessor for the gtk-interface-reduced-motion slot
gets or sets whether animations should be reduced to essential motions. ... The accessor for the gtk-keynav-use-caret slot gets
or sets whether GTK should make sure that text can be navigated with a
caret, even if it is not editable. ... The accessor for the gtk-label-select-on-focus slot
gets or sets whether to select the contents of a selectable label when it
is focused. ... The accessor for the gtk-long-press-time slot gets or
sets the time for a button or touch press to be considered a "long press". ... The accessor for the gtk-overlay-scrolling slot gets
or sets whether scrolled windows may use overlayed scrolling indicators. ... The accessor for the gtk-primary-buton-warps-slider slot gets or sets whether a click in a gtk:range widget trough
should scroll to the click position or scroll by a single page in the
respective direction. ... The accessor for the gtk-print-backends slot gets or
sets a comma-separated list of print backends to use in the print dialog. ... The accessor for the gtk-print-preview-command slot
gets or sets a command to run for displaying the print preview. ... The accessor for the gtk-recent-files-enabled slot
gets or sets whether GTK should keep track of items inside the recently
used resources list. ... The accessor for the gtk-recent-files-max-age slot
gets or sets the maximum age, in days, of the items inside the recently
used resources list. ... The accessor for the gtk-shell-shows-app-menu slot
gets or sets whether the desktop environment is displaying the application
menu. ... The accessor for the gtk-shell-shows-desktop slot gets
or sets whether the desktop environment is displaying the desktop folder. ... The accessor for the gtk-shell-shows-menubar slot gets
or sets whether the desktop environment is displaying the menubar. ... The accessor for the gtk-shell-shows-menubar slot gets
or sets whether widgets like switches include shapes to indicate their
on/off state. ... The accessor for the gtk-sound-theme-name slot gets or
sets the XDG sound theme to use for event sounds. ... The accessor for the gtk-split-cursor slot gets or
sets whether two cursors should be displayed for mixed left-to-right and
right-to-left text. ... The accessor for the gtk-theme-name slot gets or sets
the name of the theme to load. ... The accessor for the gtk-titlebar-double-click slot
gets or sets the action to take when a double click occures on the titlebar
of client-side decorated windows. ... The accessor for the gtk-titlebar-middle-click slot
gets or sets the action to take when a middle-click occurs on the titlebar
of client-side decorated windows. ... The accessor for the gtk-titlebar-right-click slot
gets or sets the action to take when a right-click occurs on the titlebar
of client-side decorated windows. ... The accessor for the gtk-xft-antialias slot gets or
sets whether to antialias Xft fonts: 0 = no, 1 = yes, -1 = default. ... The accessor for the gtk-xft-dpi slot gets or sets
the resolution for Xft, in 1024 * dots/inch. -1 to use default value. ... The accessor for the gtk-xft-hinting slot gets or
sets whether to hint Xft fonts: 0 = no, 1 = yes, -1 = default. ... The accessor for the gtk-xft-hintstyle slot gets or sets the degree of hinting to use: hintnone, hintslight, hintmedium, or hintfull. ... The accessor for the gtk-xft-rgba slot gets or sets the type of subpixel antialiasing: none, rgb, bgr, vrgb, vbgr. ... Gets the gtk:settings object for the default GDK display, creating
it if necessary. ... Undoes the effect of calling the g:object-property function to install
an application-specific value for a setting. ... Standard Enumerations
Controls how a widget deals with extra space in a single dimension. ...
Baseline position in a row of widgets. ...
The values of this enumeration are passed as an argument to various
keybinding signals for deleting text. ... Focus movement types. ...
Built-in icon sizes. ... Predefined values for use as response IDs in the gtk:dialog-add-button
function. ... The gtk:response-type-keyword function is an utility function which
returns the corresponding keyword for an integer of the gtk:response-type enumeration. ...
Determines how GTK handles the sensitivity of various controls, such as
combo box buttons. ...
Reading directions for text. ...
The type of message being displayed in the message dialog. ...
The values of this enumeration are passed to various keybinding signals for
moving the cursor position. ...
Options for selecting a different wrap mode for natural size requests. ...
Represents the orientation of widgets and other objects which can be
switched between horizontal and vertical orientation on the fly. ...
Defines how content overflowing a given area should be handled. ...
Represents the packing location of the child widget in its parent. ...
Describes which edge of a widget a certain feature is positioned at. ...
The scrolling types of this enumeration are a parameter for signal handlers in various widgets such as the gtk:spin-button, gtk:scrolled-window, or gtk:combo-box widget. ... Used to control what selections users are allowed to make. ... Describes a type of line wrapping. ... Determines the direction of a sort. ...
Describes the way two values can be compared. ...
Specifies a preference for height-for-width or width-for-height geometry
management. ...
Describes a widget state. ...
Describes how the border of a UI element should be rendered. ...
Describes primary purpose of the input widget. ...
Describes hints that might be taken into account by input methods or
applications. ... Flags that influence the behavior of the gtk:widget-pick function. ...
The relation between two terms of a constraint. ...
The strength of a constraint, expressed as a symbolic constant. ...
The widget attributes that can be used when creating a gtk:constraint widget. ...
Domain for VFL parsing errors. ...
The indexes of colors passed to symbolic color rendering, such as the GtkSymbolicPaintable::snapshot_symbolic virtual function. ... Theming in GTKGtkStyleProvider
The priority used for the default style information that is used in the
absence of themes. ...
The priority used for style information provided by themes. ...
The priority used for style information provided with the gtk:settings object. ... A priority that can be used when adding a gtk:style-provider object
for application specific style information. ...
The priority used for the style information from the $XDG_CONFIG_HOME/gtk-4.0/gtk.css file. ... The gtk:style-provider interface is an interface used to provide style information to a gtk:style-context object. ... GtkCssLocation The gtk:css-location structure is used to present a location in a
file or other source of data parsed by the CSS engine. ... Returns the number of bytes parsed since the beginning. ... Returns the number of characters parsed since the beginning. ... Returns the number of full lines that have been parsed. ... Returns the number of bytes parsed since the last line break. ... Returns the number of characters parsed since the last line break. ... GtkCssSection
Defines a part of a CSS document. ... Creates a new gtk:css-section instance referring to the section in the given path from the start location to the end
location. ... Creates a new gtk:css-section instance referring to the section in the given path or the given bytes from the start location to the end location. ...
Prints the section into a human-readable text form. ...
Gets the bytes that the section was parsed from. ...
Gets the file that the section was parsed from. ...
Gets the parent section for the given section. ...
Returns the location in the CSS document where this section starts. ...
Returns the location in the CSS document where this section ends. ... GtkCssProvider Values for the gtk-interface-color-scheme and prefers-color-scheme properties that indicates what
color scheme is used. ... Values for the gtk-interface-contrast and prefers-contrast properties that indicates the
preferred level of contrast. ... Values for the gtk-interface-reduced-motion and prefers-reduced-motion properties that indicates
the preferred level of motion animations. ... The accessor for the prefers-color-scheme slot of the gtk:css-provider class gets or sets the color scheme used for
rendering the user interface. ... The accessor for the prefers-contrast slot of the gtk:css-provider class gets or sets the contrast mode to use
for the user interface. ... The accessor for the prefers-reduced-motion slot of the gtk:css-provider class gets or sets the type of reduced
motion to use for the user interface. ... Returns a newly created CSS provider object. ...
Loads a theme from the usual theme paths. ...
Loads data into the CSS provider. ...
Loads data into the CSS provider, making it clear any previously loaded
information. ... Loads the data contained in file into the CSS provider, making it
clear any previously loaded information. ... Loads the data contained in path into the CSS provider, making it
clear any previously loaded information. ... Loads the data contained in the resource at path into the CSS
provider, clearing any previously loaded information. ...
Loads data into the CSS provider. ...
Convertes the CSS provider into a string representation in CSS format. ... GtkIconPaintable The gtk:symbolic-paintable interface is an interface that support
symbolic colors in paintables. ...
Snapshots the paintable with the given colors. ...
Contains information found when looking up an icon in a gtk:icon-theme object and supports painting it as a gdk:paintable object. ... The accessor for the file slot returns the g:file object that was used to load the icon, or nil if the
icon was not loaded from a file. ... The accessor for the is-symbolic slot checks if
the icon is symbolic or not. ... Creates a gtk:icon-paintable object for a file with a given size
and scale. ... GtkIconTheme Used to specify options for the gtk:icon-theme-lookup-icon function. ... The gtk:icon-theme class provides a facility for looking up icons
by name and size. ... The accessor for the display slot gets or sets
the display that the icon theme object is attached to. ... The accessor for the icon-names slot lists the names
of icons in the current icon theme. ... The accessor for the resource-path slot gets or sets
the resource paths that will be looked at when looking for icons, similar
to search paths. ... The accessor for the search-path slot gets or sets
the search path for the icon theme object. ... The accessor for the theme-name slot gets or sets the name of the icon theme that the gtk:icon-theme object uses
overriding system configuration. ...
Creates a new icon theme object. ... Gets the icon theme object associated with display. ...
Appends a directory to the search path. ...
Adds a resource path that will be looked at when looking for icons, similar
to search paths. ...
Checks whether an icon theme includes an icon for a particular name. ...
Looks up a named icon for a desired size and window scale, returning a gtk:icon-paintable object. ...
Looks up an icon for a desired size and window scale, returning a gtk:icon-paintable object. ...
Returns an array of integers describing the sizes at which the icon is
available without scaling. ... DeprecatedDeprecated since GTK 4.10GtkDialog Flags used to influence the gtk:dialog widget construction. ...
Dialogs are a convenient way to prompt the user for a small amount of input. ... The accessor for the use-header-bar slot returns true if the dialog uses a header bar for action buttons instead of
the action area. ... Creates a new dialog. ... Creates a new dialog with title title, or nil for the default title, and transient parent parent, or nil for none. ...
Adds a button with the given text and sets things up so that clicking the button will emit the "response" signal with the given response value. ... Adds more buttons, same as calling the gtk:dialog-add-button function
repeatedly. ...
Adds an activatable child widget to the action area of the dialog, connecting a signal handler that will emit the "response"
signal on the dialog when the child widget is activated. ...
Sets the last widget in the action area of the dialog with the given response value as the default widget for the dialog. ... Calls the gtk:widget-sensitive function for each widget in the action area of the dialog with the given response value. ...
Gets the response ID of the widget in the action area of the dialog. ...
Gets the button that uses the given response ID in the action area of the
dialog. ... Returns the content area of the dialog. ...
Returns the header bar of the dialog. ... GtkMessageDialog
Prebuilt sets of buttons for the dialog. ... The gtk:message-dialog widget presents a dialog with some message
text. ... The accessor for the message-area slot returns the gtk:box widget with :vertical orientation
corresponding to the "message area" in the message dialog. ... The accessor for the message-type slot returns
the type of the message. ... The accessor for the secondary-text slot gets or
sets the secondary text for the message dialog. ... The accessor for the secondary-use-markup slot
gets or sets whether the secondary text of the message dialog includes
Pango markup. ... The accessor for the use-markup slot gets or
sets whether the primary text for the message dialog includes Pango markup. ...
Creates a new message dialog, which is a simple dialog with some text the
user may want to see. ...
Creates a new message dialog, which is a simple dialog with some text which
is marked up with the Pango text markup language. ... Sets the text for the message dialog to be text, which is marked
up with the Pango text markup language. ... Sets the secondary text for the message dialog to be message with the arguments in args, which is marked up with the Pango text markup
language. ... GtkAssistant
An enumeration for determining the page role inside the gtk:assistant widget. It is used to handle buttons sensitivity and
visibility. ... The gtk:assistant widget is used to represent a generally complex
operation splitted in several steps. ... The accessor for the use-header-bar slot gets or sets
whether the assistant uses a header bar for action buttons instead of the
action area. ...
Creates a new assistant. ... Returns the gtk:assistant-page object for the child widget. ...
Gets or sets the page number of the current page in the assistant. ...
Returns the number of pages in the assistant. ...
Returns the child widget contained in the assistant with the given page
index. ...
Prepends a page to the assistant. ...
Appends a page to the assistant. ...
Inserts a page in the assistant at a given position. ...
Removes the page with the given page index from the assistant. ... The callback function used by the gtk:assistant-set-forward-page-func
function to know which is the next page given a current one. ... Sets the page forwarding function to be func. ...
Gets or sets the page behavior in the assistant. ...
Gets or sets the title for the page in the assistant. ...
Gets or sets whether the page contents are complete. ...
Adds a child widget to the action area of the assistant. ...
Removes a child widget from the action area of the assistant. ...
Forces the assistant to recompute the buttons state. ...
Erases the visited page history so the Back button is not shown on the
current page, and removes the Cancel button from subsequent pages. ...
Navigate to the Next page. ...
Navigate to the previous visited page. ... GtkInfoBar The gtk:info-bar widget can be used to show messages to the user
without showing a dialog. ... The accessor for the message-type slot gets or sets
the type of the message. ... The accessor for the show-close-button slot gets or
sets whether to include a standard Close button. ... Creates a new info bar. ...
Creates a new info bar with buttons. ...
Add an activatable widget to the action area of an info bar, connecting a signal handler that will emit the "response" signal on the
message area when the widget is activated. ...
Removes a widget from the action area of the info bar, after it been put there by a call to the gtk:info-bar-add-action-widget or gtk:info-bar-add-button function. ...
Adds a button with the given text, and sets things up so that clicking the button will emit the "response" signal with the given
response ID. ... Adds more buttons, same as calling the gtk:info-bar-add-button
function repeatedly. ... Calls the gtk:widget-sensitive function for each widget in the action
area of the info bar with the given response ID. ...
Sets the last widget in the action area of the info bar with the given
response ID as the default widget for the info bar. ... Adds a widget to the content area of the info bar. ...
Removes a widget from the content area of the info bar, after it has been added with the gtk:info-bar-add-child function. ... GtkStatusbar The gtk:statusbar widget is usually placed along the bottom of the main gtk:window widget of the application. ... Creates a new statusbar ready for messages. ...
Returns a new context identifier, given a description of the actual context. ...
Pushes a new message onto the stack of the statusbar. ...
Removes the first message in the stack of the statusbar with the given
context ID. ...
Forces the removal of a message from the stack of the statusbar. ...
Forces the removal of all messages from the stack of the statusbar with the exact context identifier. ... GtkLockButton The gtk:lock-button widget is a widget that can be used in control
panels or preference dialogs to allow users to obtain and revoke
authorizations needed to operate the controls. ... The accessor for the permission slot gets or sets
the permission controlling the lock button. ... The accessor for the text-lock slot gets or sets
the text to display when prompting the user to lock. ... The accessor for the text-unlock slot gets or sets
the text to display when prompting the user to unlock. ... The accessor for the tooltip-lock slot gets or sets
the tooltip to display when prompting the user to lock. ... The accessor for the tooltip-lock slot gets or sets
the tooltip to display when prompting the user cannot obtain authorization. ... The accessor for the tooltip-lock slot gets or sets
the tooltip to display when prompting the user to unlock. ... Creates a new lock button which reflects the permission. ... GtkVolumeButton The gtk:volume-button class is a subclass of the gtk:scale-button class that has been tailored for use as a volume
control widget with suitable icons, tooltips and accessible labels. ... The accessor for the use-symbolic slot gets or
sets whether to use symbolic icons as the icons. ...
Creates a volume button, with a range between 0.0 and 1.0, with
a stepping of 0.02. ... GtkEntryCompletion The gtk:entry-completion object is an auxiliary object to be used in conjunction with the gtk:entry widget to provide the completion
functionality. ... The accessor for the cell-area slot returns
the cell area used to layout cell renderers in the tree view column. ... The accessor for the inline-completion slot
gets or sets whether the common prefix of the possible completions should
be automatically inserted in the text entry. ... The accessor for the inline-selection slot
gets or sets whether the possible completions on the popup will appear in
the text entry as you navigate through them. ... The accessor for the minimum-key-length slot
gets or sets the minimum key length as set for the entry completion. ... The accessor for the popup-completion slot
gets or sets whether the completions should be presented in a popup window. ... The accessor for the popup-set-width slot
gets or sets whether the completion popup window will be resized to the
width of the text entry. ... The accessor for the popup-single-match slot
gets or sets whether the completions popup window will shown for a single
possible completion. ... The accessor for the text-column slot gets or
sets the column in the model of the completion to get strings from. ... Creates a new entry completion. ...
Creates a new entry completion using the specified area to layout cells in the underlying gtk:tree-view-column object for the drop-down menu. ... Gets the widget the entry completion has been attached to. ... The callback function which decides whether the row indicated by iter matches a given key, and should be displayed as a possible completion for key. ... Sets the match function for the entry completion to be func. ...
Requests a completion operation, or in other words a refiltering of the
current list with completions, using the current key. ...
Get the original text entered by the user that triggered the completion or nil if there is no completion ongoing. ...
Requests a prefix insertion. ... GtkTreePath The gtk:tree-iter structure is the primary structure for accessing a gtk:tree-model object. Models are expected to put a unique integer in the stamp member, and put model specific data in the three user-data members. ...
An opaque structure representing a path to a row in a model. ... Creates a new tree path. ... Creates a new tree path. ... Creates a new tree path from the given indices. ... Creates a tree path initialized from pathstr. ... Creates a new tree path as a copy of path. ... Appends a new index to the tree path. ... Prepends a new index to the tree path. ... Returns the current depth of the tree path. ... Returns the current indices of the tree path. ...
Compares two paths. ... Moves path to point to the next node at the current depth. ...
Moves the tree path to point to the previous node at the current depth,
if it exists. ...
Moves the tree path to point to its parent node, if it has a parent. ... Moves path to point to the first child of the current tree path. ... Generates a string representation of the tree path. ... GtkTreeRowReference The gtk:tree-row-reference instance tracks model changes so that it always refers to the same row, a gtk:tree-path instance refers to a
position, not a fixed row. ... Creates a row reference based on path. ... Copies a tree row reference. ... Returns the model that the row reference is monitoring. ... Returns a path that the row reference currently points to, or nil if
the path pointed to is no longer valid. ... GtkTreeModel These flags indicate various properties of a gtk:tree-model object. ... The gtk:tree-model interface defines a generic tree interface for use by the gtk:tree-view widget. ...
Returns a set of flags supported by this interface. ... Returns the number of columns supported by model. ...
Returns the type of the column. ... Returns a valid iterator pointing to path. ... Returns a valid iterator pointing to pathstr, if it exists. ... Returns the first iterator in the tree, the one at the path "0". ...
Returns a tree path referenced by the given iterator. ... Returns the value at column. ... Returns the iterator to the node following iter at the current level. ...
Returns the iterator to the previous node at the current level. ... Returns the iterator to the first child of parent. ... Returns the number of children that iter has. ... Returns the iterator to the child of parent, using the given index. ... Returns the iterator to the parent of child. ...
Generates a string representation of the iterator. ... Gets the value of one or more cells in the row referenced by iter. ... The callback function passed to the gtk:tree-model-foreach function
to iterate over the rows in a tree model. ... GtkTreeSelection The gtk:tree-selection object is a helper object to manage the selection for a gtk:tree-view widget. ...
The callback function used by the gtk:tree-selection-set-select-function function to filter whether or
not a row may be selected. ...
Sets the selection function. ... Returns the tree view associated with selection. ...
Returns the iterator to the currently selected node if the selection mode is set to the values :single or :browse of the gtk:selection-mode
enumeration. ... The callback function used by the gtk:tree-selection-selected-foreach
function to map all selected rows. ...
Calls a function for each selected node. ...
Creates a list of path of all selected rows. ... Returns the number of rows that have been selected in the tree. ... Select the row at path. ... Unselects the row at path. ... Returns true if the row pointed to by path is currently selected. ... Selects the specified iterator. ... Unselects the specified iterator. ... Returns true if the row at iter is currently selected. ...
Selects all the nodes. ... Unselects all the nodes. ... GtkTreeViewColumn
The sizing method the tree view column uses to determine its width. ... The accessor for the alignment slot gets or
sets the alignment of the title or custom widget inside the tree view
column header. ... The accessor for the cell-area slot returns
the cell area used to layout cell renderers for this tree view column. ... The accessor for the clickable slot gets or
sets whether the tree view column header can be clicked. ... The accessor for the expand slot gets or sets
whether the tree view column gets share of extra width allocated to the
widget. ... The accessor for the fixed-width slot gets or
sets the fixed width of the tree view column in pixels. ... The accessor for the max-width slot gets or
sets the maximum width in pixels of the tree view column. ... The accessor for the min-width slot gets or
sets the minimum width in pixels of the tree view column. ... The accessor for the reorderable slot gets or
sets whether the tree view column can be reordered around the headers. ... The accessor for the sort-column-id slot gets
or sets the logical sort column ID that the model sorts on when this tree
view column is selected for sorting. ... The accessor for the sort-indicator slot gets
or sets whether to show a sort indicator. ... The accessor for the sort-order slot gets or
sets the sort direction the sort indicator should indicate. ... The accessor for the spacing slot gets or sets
the spacing of the tree view column, which is the number of pixels to place
between cell renderers packed into it. ... The accessor for the widget slot gets or sets
the child widget in the button on the tree view column header. ... The accessor for the x-offset slot returns the
current x offset of the tree view column in pixels. ...
Creates a new tree view column. ... Creates a new tree view column using area to render its cells. ...
Creates a new tree view column with a number of default values. ...
Packs the cell renderer into the beginning of the tree view column. ...
Packs the cell renderer to the end of the tree view column. ...
Unsets all the mappings on all cell renderers on the tree view column. ...
Adds an attribute mapping to the list in the tree view column. ...
Sets the attributes in the list as the attributes of the tree view column. ...
The callback function to set the properties of a cell instead of just using
the straight mapping between the cell and the model. ...
Sets the callback function to use for the tree view column. ...
Clears all existing attributes previously set, for example, with the gtk:tree-view-column-set-attributes function. ...
Returns the button used in the tree view column header. ... Sets the cell renderer based on the tree model and iter. ...
Obtains the width and height needed to render the column. ...
Obtains the horizontal position and width of a cell in a tree view column. ... Returns true if any of the cells packed into the tree view column are
visible. ... Sets the current keyboard focus to be at renderer, if the column
contains 2 or more editable and activatable cells. ...
Flags the tree view column, and the cell renderers added to this column, to
have their sizes renegotiated. ...
Returns the tree view wherein the tree view column has been inserted. ... GtkTreeView
An enumeration for determining where a dropped row goes in a tree view. ...
Used to indicate which grid lines to draw in a tree view. ... Widget that displays any object that implements the gtk:tree-model
interface. ... The accessor for the activate-on-single-click slot gets or sets whether the "row-activated" signal will be
emitted after a single click. ... The accessor for the enable-grid-lines slot gets or
sets whether grid lines should be drawn in the tree view. ... The accessor for the enable-search slot gets or sets
whether the tree view allows user to search through columns interactively. ... The accessor for the enable-tree-lines slot gets or
sets whether or not tree lines are drawn in the tree view. ... The accessor for the expander-column slot gets or
sets the column that is the expander column. ... The accessor for the fixed-height-mode slot gets or
sets whether fixed height mode is turned on for the tree view. ... The accessor for the headers-clickable slot gets or
sets whether all header columns are clickable. ... The accessor for the headers-visible slot gets or
sets wether to show the column header buttons. ... The accessor for the hover-expand slot gets or sets
whether hover expansion mode is turned on for the tree view. ... The accessor for the hover-selection slot gets or
sets whether hover selection mode is turned on for the tree view. ... The accessor for the level-indentation slot gets or
sets the amount, in pixels, of extra indentation for child levels in the
tree view in addition to the default indentation. ... The accessor for the reorderable slot gets or sets
whether the tree view is reorderable. ... The accessor for the rubber-banding slot gets or sets
whether rubber banding is turned on for the tree view. ... The accessor for the search-column slot gets or sets
the column searched on by the interactive search code. ... The accessor for the show-expanders slot gets or sets
whether or not expanders are drawn in the tree view. ... The accessor for the tooltip-column slot gets or sets
the column of the tree view's model which is being used for displaying
tooltips on the tree view's rows. ...
Creates a new tree view. ... Creates a new tree view with the model initialized to model. ...
Gets the tree selection associated with the tree view. ...
Resizes all columns to their optimal width. ... Appends column to the list of columns in the tree view. ...
Removes a column from the tree view. ...
This inserts the column into the tree view at the given position. ...
Convenience function that inserts a new column into the tree view with the given cell renderer and a gtk:tree-cell-data-func callback function
to set cell renderer attributes (normally using data from the model). ...
Queries the number of columns in the given tree view. ...
Gets the tree view column at the given position in the tree view. ...
Returns a list of all the tree view columns currently in the tree view. ... The xallback function type for determining whether column can be dropped in a particular spot as determined by prev and next. ... Sets a user gtk:tree-view-column-drop-func callback function for
determining where a column may be dropped when dragged. ...
Scrolls the tree view such that the top-left corner of the visible area is tx, ty, where tx and ty are specified in tree
coordinates. ... Sets the current keyboard focus to be at path, and selects it. ... Sets the current keyboard focus to be at path, and selects it. ...
Recursively expands all nodes in the tree view. ...
Recursively collapses all visible, expanded nodes in the tree view. ... Expands the row at path. ...
Opens the row so its children are visible. ...
Collapses a row (hides its child rows, if they exist). ... The callback function used for the gtk:tree-view-map-expanded-rows
function. ... Calls func on all expanded rows. ... Returns true if the node pointed to by path is expanded in the
tree view. ... Finds the path at the point (x,y), relative to bin window
coordinates. ... Determine whether the point (x,y) in the tree view is blank, that
is no cell content nor an expander arrow is drawn at the location. ...
Returns the bounding rectangle in bin window coordinates for the cell at the row specified by path and the column specified by column. ...
Returns the bounding rectangle in the bin window coordinates for the cell at the row specified by path and the column specified by column. ...
Returns the rectangle with the currently visible region of the tree view
buffer, in tree view coordinates. ...
Converts bin window coordinates to coordinates for the tree view (the full
scrollable area of the tree view). ...
Converts bin window coordinates to widget relative coordinates. ...
Converts tree view coordinates, coordinates in full scrollable area of the
tree view, to bin window coordinates. ...
Converts tree view coordinates, coordinates in full scrollable area of the
tree, to widget coordinates. ...
Converts widget coordinates to coordinates for the bin window. ...
Converts widget coordinates to coordinates for the tree view, the full
scrollable area of the tree view. ...
Turns the tree view into a drop destination for automatic DND. ...
Turns the tree view into a drag source for automatic DND. ... Undoes the effect of the gtk:tree-view-enable-model-drag-source
function. ... Undoes the effect of the gtk:tree-view-enable-model-drag-dest
function. ...
Sets the row that is highlighted for feedback. ...
Gets information about the row that is highlighted for feedback. ...
Determines the destination row for a given position. ... Creates a cairo:surface-t instance for the representation of the row
at path. ...
The callback function used for checking whether a row in model matches a
search key string entered by the user. ...
Sets the compare callback function for the interactive search capabilities. ...
Gets or sets the search entry that is currently in use as interactive
search entry for the tree view. ...
The callback function for determining whether the row pointed to by iter should be rendered as a separator. ...
Sets the row separator function, which is used to determine whether a row
should be drawn as a separator. ...
Returns whether a rubber banding operation is currently being done in
the tree view. ... The gtk:tree-view-grid-lines function returns which grid lines are
enabled in the tree view. ... This function is supposed to be used in a "query-tooltip" signal handler for gtk:tree-view widgets. ... GtkTreeView Drag & Drop Interface for Drag-and-Drop destinations in the gtk:tree-view
widget. ... Asks the gtk:tree-drag-source object to delete the row at path, because it was moved somewhere else via drag-and-drop. ... Asks the gtk:tree-drag-source object to return a gdk:content-provider object representing the row at path. ... Asks the gtk:tree-drag-source object whether a particular row can
be used as the source of a DND operation. ... Interface for Drag-and-Drop destinations in the gtk:tree-view
widget. ... Asks the gtk:tree-drag-dest object to insert a row before the path dest, deriving the contents of the row from value. ... GtkCellLayout The gtk:cell-layout interface is an interface to be implemented by all objects which want to provide a gtk:tree-view-column object
like API for packing cells, setting attributes and data functions. ... Returns the underlying cell area which might be layout if called on a gtk:cell-area object or might be nil if no cell area is used by layout. ...
Returns the cell renderers which have been added to the cell layout. ... Reinserts cell at the given position. ... Adds an attribute mapping to the list in layout. ... Sets the attributes of layout. ...
Clears all existing attributes previously set with the gtk:cell-layout-add-attribute function. ... The callback function which should set the value of layout's cell
renderer(s) as appropriate. ... Sets the callback function to use for layout. ... GtkCellView The gtk:cell-view widget displays a single row of a gtk:tree-model object using a gtk:cell-area object and gtk:cell-area-context object. ... The accessor for the cell-area-context slot returns
the cell area used to compute the geometry of the cell view. ... The accessor for the draw-sensitive slot gets or sets
whether the cell view is configured to draw all of its cells in a sensitive
state. ... The accessor for the fit-model slot gets or sets
whether the cell view is configured to request space to fit the entire gtk:tree-model object. ...
Creates a new cell view. ...
Creates a new cell view with a specific cell area to layout cells and a
specific cell area context. ... Creates a new cell view, adds a gtk:cell-renderer-text object to it,
and makes its show text. ... Creates a new cell view, adds a gtk:cell-renderer-text object to it,
and makes it show markup. ... Creates a new cell view, adds a gtk:cell-renderer-pixbuf object to it, and makes its show texture. ... Gets or sets the gtk:tree-path instance referring to the currently
displayed row. ... GtkIconViewAn enumeration for determining where a dropped item goes. ... The accessor for the activate-on-single-click slot gets or sets whether the "item-activated" signal will
be emitted after a single click. ... The accessor for the cell-area slot gets the cell
area used to layout cell renderers for this icon view. ... The accessor for the column-spacing slot gets or sets
the space which is inserted between the columns of the icon view. ... The accessor for the columns slot gets or sets the
number of the columns in which the items should be displayed. ... The accessor for the item-orientation slot gets or
sets whether the labels are drawn beside the icons instead of below. ... The accessor for the item-padding slot gets or sets
the padding around each of the icon view's items. ... The accessor for the item-width slot gets or sets
the width to use for each item. ... The accessor for the margin slot gets or sets the
space which is inserted at the top, bottom, left and right of the icon view. ... The accessor for the markup-column slot gets or sets
the column with markup text for the icon view. ... The accessor for the pixbuf-column slot gets or sets
the number of the model column containing the pixbufs which are displayed. ... The accessor for the reorderable slot gets or sets
whether the user can reorder the list via drag and drop. ... The accessor for the row-spacing slot gets or sets
the space which is inserted between the rows of the icon view. ... The accessor for the selection-mode slot gets or sets
the selection mode of the icon view. ... The accessor for the spacing slot gets or sets the
space which is inserted between the cells, that is the icon and the text,
of an item. ... The accessor for the text-column slot gets or sets
the number of the model column containing the texts which are displayed. ... The accessor for the tooltip-column slot gets or sets
the column in the model containing the tooltip texts for the items. ...
Creates a new icon view. ...
Creates a new icon view using the specified area to layout cells inside
the icons. ... Creates a new icon view with the model model. ...
Gets the path for the icon at the given position. ...
Gets the path and cell for the icon at the given position. ... Sets the current keyboard focus to be at path, and selects it. ...
Returns the current cursor path and focus cell. ... The callback function used by the gtk:icon-view-selected-foreach
function to map all selected rows. ...
Calls a function for each selected icon. ... Selects the row at path. ... Unselects the row at path. ... Returns true if the icon pointed to by path is currently
selected. ...
Creates a list of paths of all selected items. ...
Selects all the icons. ... Unselects all the icons. ... Activates the item determined by path. ...
Sets the tip area of tooltip to be the area covered by the item at path. ... Sets the tip area of the tooltip to the area which cell occupies in the item pointed to by path. ... This function is supposed to be used in a "query-tooltip" signal handler for a gtk:icon-view widget. ...
Gets the row in which the item path is currently displayed. ...
Gets the column in which the item path is currently displayed. ...
Turns the icon view into a drag source for automatic DND. ...
Turns the icon view into a drop destination for automatic drag and drop. ... Undoes the effect of the gtk:icon-view-enable-model-drag-source
function. ... Undoes the effect of the gtk:icon-view-enable-model-drag-dest
function. ...
Sets the item that is highlighted for feedback. ...
Gets information about the item that is highlighted for feedback. ...
Determines the destination item for a given position. ... GtkTreeSortable The default sort column ID can be used to make a gtk:tree-sortable
object use the default sort function. ... The unsorted sort column ID can be used to make a gtk:tree-sortable
object use no sorting. ... The gtk:tree-sortable interface is an interface to be implemented by
tree models which support sorting. ... The gtk:tree-sortable-sort-column-id function returns the current
sort column ID and the sort order. ...
This callback function should return a negative integer, zero, or a positive integer if iter1 sorts before iter2, iter1 sorts with iter2, or iter1 sorts after iter2 respectively. ... Sets the comparison function used when sorting to be func. ...
Sets the default comparison callback function used when sorting to be func. ... Returns true if the model has a default sort function. ... GtkTreeModelSortGtkTreeModelFilter The gtk:tree-model-filter object is a tree model which wraps
another tree model. ... The accessor for the child-model slot returns
the model for the filter model to filter. ... The accessor for the virtual-root slot returns
the virtual root, relative to the child model, for this filter model. ... Creates a new gtk:tree-model object, with child as the child model and root as the virtual root. ... The callback function which decides whether the row indicated by iter
is visible. ...
Sets the visible function used when filtering the filter model to be func. ...
The callback function which calculates display values from raw values in
the model. ... With types parameters, you give a list of column types for this model,
which will be exposed to the parent model/view. ... Sets column of the child model to be the column where filter
should look for visibility information. ...
Returns the child model of the filter model. ... Returns an interator to point to the row in filter that corresponds to the row pointed at by iter. ... Returns the iterator to point to the row pointed to by iter. ... Converts path to a path relative to filter. ... Emits the "row-changed" signal for each row in the
child model, which causes the filter to re-evaluate whether a row is visible
or not. ... GtkCellArea The gtk:cell-area class is an abstract class for gtk:cell-layout widgets, also referred to as "layouting widgets", to interface with an arbitrary number of gtk:cell-renderer objects and interact with the user for a given gtk:tree-model row. ... The accessor for the edit-widget slot returns the
widget currently used to edit the currently edited cell. ... The accessor for the edited-cell slot returns the gtk:cell-renderer object in the area that is currently being edited. ... The accessor for the focus-cell slot gets or sets the
cell in the area that currently has focus. ...
Adds a cell renderer to the cell area with the default child cell
properties. ... Removes a cell renderer from the cell area. ... Checks if the cell area contains renderer. ...
The callback function used for iterating over the cell renderers of a gtk:cell-area object, see the gtk:cell-area-foreach function. ... Calls a callback function for every cell renderer in the cell area. ...
The callback function used for iterating over the cell renderers of a gtk:cell-area object, see the gtk:cell-area-foreach-alloc
function. ... Calls the callback function for every gtk:cell-renderer object in the cell area with the allocated rectangle inside cell. ...
Delegates event handling to a cell area. ...
Derives the allocation of the cell renderer inside the cell area if cell were to be renderered in area. ... Gets the gtk:cell-renderer object at x and y coordinates inside area and the full cell allocation for it inside cell. ... Creates a cell area context to be used with area for all purposes. ...
This is sometimes needed for cases where rows need to share alignments in
one orientation but may be separately grouped in the opposing orientation. ...
Gets whether the area prefers a height-for-width layout or a
width-for-height layout. ...
Retrieves an initial minimum and natural width of the cell area. ...
Retrieves a minimum and natural height of the cell area if it would be given
the specified width. ...
Retrieves an initial minimum and natural height of the cell area. ...
Retrieves a minimum and natural width of the cell area if it would be given
the specified height. ...
Applies any connected attributes to the renderers in the cell area by
pulling the values from the tree model. ... Connects an attribute to apply values from column for the tree model
in use. ... Disconnects attribute for the renderer in the cell area so that attribute will no longer be updated with values from the model. ...
Returns the model column that an attribute has been mapped to, or -1 if the
attribute is not mapped. ...
Finds a cell property of a cell area type by name. ... Returns the cell properties of a cell area class. ... Adds renderer to area, setting cell properties at the same time. ...
Sets one or more cell properties for the cell in the cell area. ...
Gets the values of one or more cell properties for the cell renderer in
the cell area. ...
Gets or sets the value of a cell property for the cell renderer inside
the cell area. ...
Returns whether the cell area can do anything when activated, after applying new attributes to area. ... Activates area, usually by activating the currently focused cell,
however some subclasses which embed widgets in the area can also activate
a widget if it currently has the focus. ...
This should be called by the owning layout widget of the cell area when focus is to be passed to area, or moved within area for a given
direction and row data. ... Adds sibling to focusable area of the cell renderer, focus will be drawn around renderer and all of its siblings if renderer can
focus for a given row. ... Removes sibling from the focus sibling list of the cell renderer. ... Returns whether sibling is one of the focus siblings of the cell
renderer. ... Gets the focus sibling cell renderers for renderer. ...
Gets the cell renderer which is expected to be focusable for which renderer is, or may be a sibling. ... This is used by gtk:cell-area subclasses when handling events to activate cells, the base gtk:cell-area class activates cells for keyboard events for free in its own GtkCellArea->activate()
implementation. ...
Explicitly stops the editing of the currently edited cell. ... This is a convenience function for gtk:cell-area implementations to get the inner area where a given gtk:cell-renderer object will be
rendered. ... This is a convenience function for gtk:cell-area implementations to
request size for cell renderers. ... GtkCellAreaBox The gtk:cell-area-box object renders cell renderers into a row or a
column depending on its orientation. ... Creates a new cell area box. ...
Adds a renderer to the cell area box, packed with reference to the start of
the box. ...
Adds a renderer to cell area box, packed with reference to the end of
the box. ... GtkCellAreaContext The gtk:cell-area-context object is created by a given gtk:cell-area implementation via its create_context() virtual
method and is used to store cell sizes and alignments for a series of gtk:tree-model rows that are requested and rendered in the same
context. ... The accessor for the minimum-height slot
returns the minimum height for the cell area in this context for all gtk:tree-model rows that this context was requested for using the gtk:cell-area-preferred-height function. ... The accessor for the minimum-width slot
returns the minimum width for the cell area in this context for all gtk:tree-model rows that this context was requested for using the gtk:cell-area-preferred-width function. ... The accessor for the natural-height slot
returns the natural height for the cell area in this context for all gtk:tree-model rows that this context was requested for using the gtk:cell-area-preferred-height function. ... The accessor for the natural-width slot
returns the natural width for the cell area in this context for all gtk:tree-model rows that this context was requested for using the gtk:cell-area-preferred-width function. ...
Allocates a width and/or a height for all rows which are to be rendered with context. ...
Resets any previously cached request and allocation data. ...
Gets the accumulative preferred width for all rows which have been requested
with this context. ...
Gets the accumulative preferred height for all rows which have been
requested with this context. ... Gets the accumulative preferred height for width for all rows which
have been requested for the same said width with this context. ... Gets the accumulative preferred width for height for all rows which
have been requested for the same said height with this context. ... Fetches the current allocation size for context. ...
Causes the minimum and/or natural width to grow if the new proposed sizes
exceed the current minimum and natural width. ...
Causes the minimum and/or natural height to grow if the new proposed sizes
exceed the current minimum and natural height. ... GtkCellEditable The gtk:cell-editable interface must be implemented for widgets to be usable when editing the contents of a gtk:tree-view cell widget. ... The accessor for the editing-canceled slot gets
or sets whether editing on the cell has been canceled. ...
Begins editing on a cell editable. ... Emits the "editing-done" signal. ... Emits the "remove-widget" signal. ... GtkCellRendererTells how a cell is to be rendererd. ... Identifies how the user can interact with a particular cell. ... The gtk:cell-renderer class is a base class of a set of objects used for rendering a cell to a cairo:context-t context. ... The accessor for the cell-background slot sets
the cell background color as a string. ... The accessor for the cell-background-rgba slot
gets or sets the cell background RGBA color. ... The accessor for the cell-background-set slot
gets or sets whether this tag affects the cell background color. ... The accessor for the editing slot returns whether
the cell renderer is currently in editing mode. ... The accessor for the is-expanded slot gets or
sets whether the row is an expander row, and is expanded. ... The accessor for the is-expander slot gets or
sets whether row has children. ... The accessor for the xalign slot gets or sets
the horizontal alignment, from 0.0 (left) to 1.0 (right). ... The accessor for the xpad slot gets or sets the
amount of space to add on the left and right, in pixels. ... The accessor for the yalign slot gets or sets
the vertical alignment, from 0.0 (top) to 1.0 (bottom). ... The accessor for the ypad slot gets or sets the
amount of space to add on the top and bottom, in pixels. ...
Invokes the virtual render function of the cell renderer. ...
Passes an activate event to the cell renderer for possible processing. ...
Passes an activate event to the cell renderer for possible processing. ...
Informs the cell renderer that the editing is stopped. ...
Gets or sets the alignment of the cell renderer within its available space. ...
Gets or sets the padding of the cell renderer. ... Translates the cell renderer state to a gtk:state-flags value, based
on the cell renderer and widget sensitivity, and the given gtk:cell-renderer-state value. ...
Checks whether the cell renderer can do something when activated. ...
Retreives the minimum and natural height of a cell renderer when rendered to widget. ...
Retreives the minimum and natural height of a cell renderer if it were rendered to widget with the specified width. ...
Retrieves the minimum and natural size of a cell renderer taking into account the preference for height-for-width management of widget. ...
Retreives the minimum and natural width of a cell renderer when rendered
to the widget. ...
Retreives the minimum and natural width of a cell renderer if it were rendered to widget with the specified height. ...
Gets whether the cell renderer prefers a height-for-width layout or a
width-for-height layout. ... GtkCellRendererText The gtk:cell-renderer-text object renders a given text in its cell,
using the font, color and style information provided by its properties. ... The accessor for the alignment slot gets or
sets how to align the lines of text with respect to each other. ... The accessor for the attributes slot gets or sets
the list of style attributes to apply to the text of the renderer. ... The accessor for the background slot sets
the background color as a string. ... The accessor for the background-rgba slot
gets or sets the background color. ... The accessor for the background-set slot
gets or sets whether this tag affects the background color. ... The accessor for the editable-set slot gets
or sets whether this tag affects text editability. ... The accessor for the ellipsize slot gets or
sets the preferred place to ellipsize the string, if the cell renderer does
not have enough room to display the entire string. ... The accessor for the ellipsize-set slot gets
or sets whether this tag affects the ellipsize mode. ... The accessor for the family slot gets or sets
the name of the font family, for example Sans, Helvetica, Times, Monospace. ... The accessor for the family-set slot gets
or sets whether this tag affects the font family. ... The accessor for the font slot gets or sets
the font description as a string, for example, "Sans Italic 12". ... The accessor for the foreground slot gets or
sets the foreground color. ... The accessor for the foreground-rgba slot
gets or sets the foreground color. ... The accessor for the foreground-set slot
gets or sets whether this tag affects the foreground color. ... The accessor for the language-set slot gets
or sets whether this tag affects the language the text is rendered as. ... The accessor for the max-width-chars slot
get or sets the desired maximum width of the cell, in characters. ... The accessor for the placeholder-text slot
gets or sets the text that will be displayed in the gtk:cell-renderer object if the editable property is true and the cell
is empty. ... The accessor for the rise slot gets or sets
the offset of text above the baseline, below the baseline if this property
is negative. ... The accessor for the scale-set slot gets or
sets whether this tag scales the font size by a factor. ... The accessor for the single-paragraph-mode
slot gets or sets whether to keep all text in a single paragraph. ... The accessor for the size-points slot gets
or sets the font size in points. ... The accessor for the stretch-set slot gets
or sets whether this tag affects the font stretch. ... The accessor for the strikethrough slot gets
or sets whether to strike through the text. ... The accessor for the strikethrough-set slot
gets or sets whether this tag affects strikethrough. ... The accessor for the underline-set slot gets
or sets whether this tag affects underlining. ... The accessor for the variant-set slot gets
or sets whether this tag affects the font variant. ... The accessor for the weight-set slot gets or
sets whether this tag affects the font weight. ... The accessor for the width-chars slot gets
or sets the desired width of the cell, in characters. ... The accessor for the wrap-mode slot gets or
sets how to break the string into multiple lines, if the cell renderer does
not have enough room to display the entire string. ... The accessor for the wrap-width slot gets or
sets the minimum width at which the text is wrapped. ...
Creates a new cell renderer text. ...
Sets the height of a renderer to explicitly be determined by the font and
padding properties set on it. ... GtkCellRendererAccel
Determines if the edited accelerators are GTK accelerators. ... The gtk:cell-renderer-accel object displays a keyboard accelerator, that is a key combination like Control+a. ... The accessor for the accel-mode slot gets
or sets whether the edited accelerators are GTK accelerators. ... The accessor for the accel-mods slot gets
or sets the modifier mask of the accelerator. ... Creates a new cell renderer accel object. ... GtkCellRendererCombo The gtk:cell-renderer-combo object renders text in a cell like the gtk:cell-renderer-text object from which it is derived. ... The accessor for the has-entry slot gets or
sets whether the cell renderer will include an entry and allow to enter
values other than the ones in the popup list. ... The accessor for the model slot gets or
sets a tree model containing the possible values for the combo box. ... The accessor for the text-column slot gets
or sets the model column which holds the possible values for the combo box. ...
Creates a new cell renderer combo. ... GtkCellRendererPixbuf The gtk:cell-renderer-pixbuf object can be used to render an image
in a cell. ... The accessor for the pixbuf-expander-closed
slot gets or sets the pixbuf for the closed expander. ... The accessor for the pixbuf-expander-open
slot gets or sets the pixbuf for the open expander. ...
Creates a new cell renderer pixbuf. ... GtkCellRendererProgress The gtk:cell-renderer-progress object renders a numeric value as a
progress par in a cell. ... The accessor for the inverted slot gets
or sets whether to invert the direction in which the progress bar grows. ... The accessor for the text slot gets or
sets the label which will be drawn over the progress bar. ... The accessor for the text-xalign slot
gets or sets the horizontal alignment of the text in the progress bar. ... The accessor for the text-yalign slot
gets or sets the vertical alignment of the text in the progress bar. ... The accessor for the value slot gets or
sets the percentage to which the progress bar will be "filled in". ...
Creates a new cell renderer progress object. ... GtkCellRendererSpin The gtk:cell-renderer-spin object renders text in a cell like gtk:cell-renderer-text object from which it is derived. ... The accessor for the adjustment slot gets or
sets the adjustment that holds the value of the spin button. ... The accessor for the climb-rate slot gets or
sets the acceleration rate when you hold down a button. ... Creates a new cell renderer spin object. ... GtkCellRendererToggle The gtk:cell-renderer-toggle object renders a toggle button in a
cell. ... The accessor for the activatable slot gets
or sets whether the cell renderer is activatable. ... The accessor for the inconsistent slot
gets or sets the inconsistent state of the button. ... The accessor for the radio slot gets or
sets whether to draw the toggle button as a radio button. ...
Creates a new cell renderer toggle. ... GtkCellRendererSpinner The gtk:cell-renderer-spinner class renders a spinning animation in a cell, very similar to the gtk:spinner widget. ... The accessor for the active slot gets or
sets whether the spinner is active, that is, shown in the cell. ... The accessor for the size slot gets or
sets the icon size that specifies the size of the rendered spinner. ...
Returns a new cell renderer which will show a spinner to indicate activity. ... GtkListStore
Creates a new list store as with each of the types passed in. ... Sets the values of one or more cells in the row referenced by iter. ...
Removes the given row from the list store. ... Creates a new row at pos. ... Inserts a new row before sibling. ... Inserts a new row after sibling. ... Creates a new row at pos. ... Prepends a new row to model. ...
Appends a new row to the list store. ... Removes all rows from the list store. ... GtkTreeStore
Creates a new tree store as with columns of the types passed in. ...
This function is meant primarily for GObjects that inherit from the gtk:tree-store class, and should only be used when constructing a new gtk:tree-store object. ... Sets the values of one or more cells in the row referenced by iter. ...
Removes the given row from the tree store. ... Creates a new row at position. ...
Inserts a new row before sibling. ...
Inserts a new row after sibling. ... Creates a new row at position. ... Prepends a new row to store. ...
Appends a new row to the tree store. ... Returns the depth of iter. ... Removes all rows from the tree store. ... GtkComboBox The gtk:combo-box widget allows the user to choose from a list of
valid choices. ... The accessor for the button-sensitivity slot gets or
sets whether the combo box sets the dropdown button sensitive or not when
there are no items in the model. ... The accessor for the entry-text-column slot gets or
sets the model column which the combo box is using to get the strings from
to display in the internal entry. ... The accessor for the has-frame slot gets or sets
whether a frame is drawn around the text entry. ... The accessor for the id-column slot gets or sets the
model column which the combo box is using to get string IDs for values from. ... The accessor for the model slot gets or sets the model
which is acting as data source for the combo box. ... The accessor for the popup-fixed-width slot gets or
sets whether the popup uses a fixed width matching the allocated width of
the combo box. ... The accessor for the popup-shown slot gets or sets
whether the combo boxes dropdown is popped up. ... Creates a new empty combo box. ... Creates a new empty combo box with an entry. ... Creates a new combo box with the model initialized to model. ...
Creates a new empty combo box with an entry and with the model initialized to model. ...
Gets or sets the current active item to be the one referenced by iter. ...
Pops up the menu or dropdown list of the combo box. ...
Pops up the menu or dropdown list of the combo box. ...
Hides the menu or dropdown list of the combo box. ...
Sets the row separator function, which is used to determine whether a row
should be drawn as a separator. ... GtkComboBoxText The gtk:combo-box-text widget is a simple variant of the gtk:combo-box widget that hides the model-view complexity for
simple text-only use cases. ... Creates a new combo box text widget, which is a gtk:combo-box
widget just displaying strings. ... Creates a new combo box text widget, which is a gtk:combo-box
widget just displaying strings. ... Appends text to the list of strings stored in the combo box. ... Prepends text to the list of strings stored in the combo box. ... Inserts text at the given position in the list of strings stored in
the combo box. ... Appends text to the list of strings stored in the combo box. ... Prepends text to the list of strings stored in the combo box. ... Inserts text at the given position in the list of strings stored in
the combo box. ... Removes the string at pos from the combo box. ...
Removes all the text entries from the combo box. ... Returns the currently active text in the combo box, or nil if
none is selected. ... GtkAppChooser The gtk:app-chooser interface is an interface that can be
implemented by widgets which allow the user to choose an application,
typically for the purpose of opening a file. ... The accessor for the content-type slot returns the
current value of the content type. ...
Returns the currently selected application. ... Reloads the list of applications. ... GtkAppChooserWidget The gtk:app-chooser-widget widget is a widget for selecting
applications. ... The accessor for the default-text slot gets
or sets the text that is shown if there are not applications that can handle
the content type. ... The accessor for the show-all slot gets or
sets whether the application chooser should show all applications in a flat
list. ... The accessor for the show-default slot gets
or sets whether the application chooser should the default handler for the
content type in a separate section. ... The accessor for the show-fallback slot gets
or sets whether the application chooser should show a section for fallback
applications. ... The accessor for the show-other slot gets or
sets whether the application chooser should show a section for other
applications. ... The accessor for the show-recommended slot
gets or sets whether the application chooser should recommended
applications. ...
Creates a new application chooser widget for applications that can
handle content of the given type. ... GtkAppChooserDialog The gtk:app-chooser-dialog widget shows a gtk:app-chooser-widget widget inside a gtk:dialog widget. ... The accessor for the gfile slot gets the g:file object used by the gtk:app-chooser-dialog widget. ... Creates a new application chooser dialog for the provided g:file
object, to allow the user to select an application for it. ...
Creates a new application chooser dialog for the provided content type, to
allow the user to select an application for it. ...
Returns the application chooser widget of the dialog. ... GtkAppChooserButton The gtk:app-chooser-button widget is a widget that lets the user
select an application. ... The accessor for the show-default-item slot
gets or sets whether the dropdown menu of the button should show the default
application. ... The accessor for the show-dialog-item slot
gets or sets whether the dropdown menu of the button should show an entry to trigger a gtk:app-chooser-dialog widget. ...
Creates a new application chooser button for applications that can handle
content of the given type. ...
Appends a custom item to the list of applications that is shown in the
popup. ...
Appends a separator to the list of applications that is shown in the popup. ...
Selects a custom item previously added with the gtk:app-chooser-button-append-custom-item function. ... GtkColorChooser The gtk:color-chooser interface is an interface that is implemented
by widgets for choosing colors. ... The accessor for the use-alpha slot gets or sets
whether the color chooser shows the alpha channel. ...
Adds a palette to the color chooser. ...
Converts a color from HSV space to RGB. Input values must be in the
[0.0, 1.0] range, output values will be in the same range. ...
Converts a color from RGB space to HSV. Input values must be in the
[0.0, 1.0] range. Output values will be in the same range. ... GtkColorChooserWidget The gtk:color-chooser-widget widget lets the user select a color. ... The accessor for the show-editor slot
gets or sets whether the color chooser is showing the single-color editor. ... Creates a new color chooser widget. ... GtkColorChooserDialog The gtk:color-chooser-dialog widget is a dialog for choosing a
color. ... The accessor for the show-editor slot gets
or sets whether the color chooser dialog is showing the single-color editor. ... Creates a new color chooser dialog. ... GtkColorButton The gtk:color-button widget is a button which displays the currently
selected color and allows to open a color chooser dialog to change the
color. ... The accessor for the show-editor slot gets or sets
whether to skip the palette in the color chooser dialog and go directly to
the color editor. ...
Creates a new color button. ...
Creates a new color button with the given RGBA color. ... GtkFileChooser Describes whether a gtk:file-chooser widget is being used to
open existing files or to save to a possibly new file. ... The gtk:file-chooser interface is an interface that can be
implemented by file selection widgets. ... The accessor for the action slot gets or sets the
type of operation that the file chooser is performing. ... The accessor for the create-folders slot gets or
sets whether the file chooser will offer to create new folders. ... The accessor for the filter slot gets or sets the
filter for selecting which files are displayed. ... The accessor for the filters slot returns the
current set of user selectable filters, as a list model. ... The accessor for the select-multiple slot gets or
sets whether multiple files can be selected in the file selector. ... The accessor for the shortcut-folders slot returns
the list of shortcut folders in the file chooser, as set by the gtk:file-chooser-add-shortcut-folder function. ...
Gets or sets the current name in the file selector, as entered by the user
in the text entry for "Name". ... The gtk:file-chooser-file function gets the g:file object for
the currently selected file in the file chooser. ... The gtk:file-chooser-namestring function gets the namestring for the
currently selected file in the file selector. ...
Lists all the selected files and subfolders in the current folder of the file chooser as a list of g:file objects. ... The gtk:file-chooser-current-folder function gets the current folder
of the file chooser as a local filename. ...
Adds a file filter to the list of filters that the user can select between. ...
Removes a filter from the list of filters that the user can select between. ...
Adds a folder to be displayed with the shortcut folders in a file chooser. ...
Removes a folder from a file chooser's list of shortcut folders. ... GtkFileChooserWidget The gtk:file-chooser-widget widget is a widget for choosing files. ... The accessor for the search-mode slot gets
or sets the search mode. ...
Creates a new file chooser widget. ... GtkFileChooserDialog The gtk:file-chooser-dialog widget is a dialog suitable for use
with "File/Open" or "File/Save as" commands. ...
Creates a new file chooser dialog. ... GtkFileChooserNative The gtk:file-chooser-native class is an abstraction of a dialog
suitable for use with "File Open" or "File Save as" commands. ... The accessor for the accept-label slot gets
or sets the custom label text for the accept button. ... The accessor for the cancel-label slot
gets or sets the custom label text for the cancel button. ... Creates a new gtk:file-chooser-native object. ... GtkFontChooser The gtk:font-chooser-level flags specifies the granularity of font
selection that is desired in a font chooser. ... The gtk:font-chooser interface is an interface that can be
implemented by widgets displaying the list of fonts. ... The accessor for the font-desc slot gets or sets
the Pango font description for the selected font. ... The accessor for the font-features slot returns
the currently selected font features, in a format that is compatible with
CSS and with Pango attributes. ... The accessor for the preview-text slot gets or
sets the text displayed in the preview area. ... The accessor for the show-preview-entry slot gets
or setswhether to show an entry to change the preview text. ...
Gets the Pango font family representing the selected font family. ...
Gets the Pango font face representing the selected font group details,
for example, family, slant, weight, width, and so on. ...
The selected font size. ...
The callback function that is used for deciding what fonts get shown in a gtk:font-chooser widget. ...
Adds a filter function that decides which fonts to display in the font
chooser. ...
Gets or sets the custom font map of the font chooser widget. ... GtkFontChooserWidget The gtk:font-chooser-widget widget lists the available fonts,
styles and sizes, allowing the user to select a font. ... The accessor for the tweak-action slot
returns the toggle action that can be used to switch to the tweak page of
the font chooser widget. ... Creates a new font chooser widget. ... GtkFontChooserDialog The gtk:font-chooser-dialog widget is a dialog for selecting a font. ... Creates a new font chooser dialog. ... GtkFontButton The gtk:font-button widget is a button which displays the currently
selected font and allows to open a font chooser dialog to change the font. ... The accessor for the use-font slot gets or sets
whether the label will be drawn in the selected font. ... The accessor for the use-size slot gets or sets the
font name will be written using the selected size. ... Creates a new font picker widget. ... Creates a new font picker widget. ... GtkStyleContext Flags that modify the behavior of the gtk:style-context-to-string
function. ... The gtk:style-context object stores styling information affecting a
widget. ... The accessor for the display slot gets or sets
the display to which the style context is attached. ...
Adds a style provider to the style context, to be used in style
construction. ...
Removes the style provider from the style providers list in the style
context. ...
Adds a global style provider to the display, which will be used in style
construction for all style contexts under the display. ...
Removes the style provider from the global style providers list in the
display. ...
Gets or sets the state used for style matching. ...
Gets or sets the scale to use when getting image assets for the style. ...
Gets the foreground color for a given state. ...
Gets the value for the border settings for a given state. ...
Gets the value for the padding settings for a given state. ...
Gets the value for the margin settings for a given state. ...
Looks up and resolves a color name in the style context color map. ...
Saves the style context state. ...
Restores the style context state to a previous stage. ... Returns true if the style context currently has defined the given
class name. ...
Adds a style class to the style context, so later uses of the style context
will make use of this new class for styling. ...
Removes a class name from the style context. ...
Converts the style context into a string representation. ...
A structure that specifies a border around a rectangular area that can be
of different width on each side. ... The accessor for the left slot gets or sets the width of the left
border. ... The accessor for the right slot gets or sets the width of the right
border. ... The accessor for the top slot gets or sets the width of the top
border. ... The accessor for the bottom slot gets or sets the width of the
bottom border. ... Allocates a new gtk:border instance and initializes its elements. ... Copies a gtk:border instance. ... Renders an activity area such as in the gtk:spinner widget or the fill line in the gtk:range widget. ...
Renders an arrow pointing to an angle. ...
Renders the background of an element. ... Renders a checkmark as in a gtk:check-button widget. ... Renders an expander as used in the gtk:tree-view widget and gtk:expander widget in the area defined by x, y, width, height. ... Renders a handle, as the resize grip of the gtk:paned widget and gtk:window widget, in the rectangle determined by x, y, width, height. ... Renders an option mark as in a gtk:check-button widget. ... Deprecated since GTK 4.18GtkShortcutsWindow The gtk:shortcuts-window widget shows brief information about the
keyboard shortcuts and gestures of an application. ... The accessor for the section-name slot gets or
sets the name of the section to show. ...
Adds a section to the shortcuts window. ... GtkShortcutsSection The gtk:shortcuts-section widget collects all the keyboard shortcuts
and gestures for a major application mode. ... The accessor for the max-height slot gets or
sets the maximum number of lines to allow per column. ... The accessor for the section-name slot gets or
sets the unique name to identify this section among the sections added to the gtk:shortcuts-window widget. ... The accessor for the title slot gets or sets
the string to show in the section selector of the gtk:shortcuts-window widget for this section. ... The accessor for the view-name slot gets or
sets the view name to filter the groups in this section by. ...
Adds a group to the shortcuts section. ... GtkShortcutsGroup The gtk:shortcuts-group widget represents a group of related
keyboard shortcuts or gestures. ... The accessor for the accel-size-group slot gets
the size group for the accelerator portion of shortcuts in this group. ... The accessor for the title-size-group slot sets
the size group for the textual portion of shortcuts in this group. ... The accessor for the view slot gets or sets the
optional view that the shortcuts in this group are relevant for. ...
Adds a shortcut to the shortcuts group. ... GtkShortcutsShortcut The gtk:shortcut-type enumeration specifies the kind of shortcut that
is being described. ... The gtk:shortcuts-shortcut widget represents a single keyboard
shortcut or gesture with a short text. ... The accessor for the accel-size-group slot
gets or sets the size group for the accelerator portion of this shortcut. ... The accessor for the accelerator slot gets
or sets the accelerator(s) represented by this object. ... The accessor for the action-name slot gets
or sets the detailed action name. ... The accessor for the direction slot gets or
sets the text direction for which this shortcut is active. ... The accessor for the shortcut-type slot
gets or sets the type of shortcut that is represented. ... The accessor for the subtitle-set slot gets
or sets whether a subtitle has been set. ... The accessor for the title slot gets or sets
the textual description for the shortcut or gesture represented by this
object. ... The accessor for the title-size-group slot
sets the size group for the textual portion of this shortcut. ... GtkShortcutLabel The gtk:shortcut-label widget is a widget that represents a single
keyboard shortcut or gesture in the user interface. ... The accessor for the accelerator slot gets or
sets the accelerator that the shortcut label displays. ... The accessor for the accelerator slot gets or
sets the text that is displayed when no accelerator is set. ... Creates a new shortcut label with accelerator set. ... | Exported Symbol Index |


