Up: cl-cffi-gtk3 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 Containers Display Widgets Buttons and Toggles Numeric and Text Data Entry Multiline Text Editor Tree, List and Icon Grid Widgets Combo Box Menus Toolbar Popover Selectors (Color, File and Font) Scrolling Printing Shortcuts Overview Miscellaneous Interfaces Abstract Base Classes Cross-process Embedding Recently Used Documents Choosing from installed applications Gestures and event handling GTK Core Reference Theming in GTK Deprecated Symbols not implemented or exported Application supportGtkApplication
Types of user actions that may be blocked by the gtk:application-inhibit function. ... The gtk:application class handles many important aspects of a GTK
application in a convenient fashion, without enforcing a one-size-fits-all
application model. ... The accessor for the active-window slot gets the
active window for the application. ... The accessor for the register-session slot. ... The accessor for the screensaver-active slot. ...
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 with 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. ... Determines if any of the actions specified in the flags argument are
currently inhibited, possibly by another application. ...
Determines if the desktop environment in which the application is running
would prefer an application menu be shown. ...
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. If the application window has not yet been added to a gtk:application instance, returns 0. ...
Gets or sets the shortcuts window associated with the application window. ... Interface builderGtkBuildable The gtk:buildable interface allows objects to extend and customize their deserialization from gtk:builder UI descriptions. ...
Gets or sets the name of the buildable widget. ...
Adds a child widget to the buildable widget. ... Gets the internal child called name of the buildable object. ... GtkBuilder The gtk:builder object is an auxiliary object that reads textual
descriptions of a user interface and instantiates the described objects. ... The accessor for the translation-domain slot gets or
sets the translation domain. ... Creates a new builder object. ... Builds the gtk:builder UI definition from a 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 string 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. ...
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. ...
This function connects signal handlers to the signal IDs in the UI
definition. ...
Gets or sets the application associated with the builder. ...
Looks up a type by name, using the virtual function that the gtk:builder class has for that purpose. ... WindowsGtkWindow An enumeration for the possible types of a gtk:window widget. ...
Window placement can be influenced using this enumeration. ... The gtk:window widget is a toplevel window which can contain other
widgets. ... The accessor for the accept-focus slot gets or sets
whether the window should receive the input focus. ... The accessor for the application slot gets or sets the
application associated with the window. ... The accessor for the attached-to slot gets or sets the
widget where the window is attached. ... The accessor for the decorated slot gets or sets whether
the window has been set to have decorations such as a title bar. ... 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-width slot gets or sets the
default width of the window, used when initially showing the window. ... The accessor for the deletable slot gets or sets whether
the window has been set to have a Close button. ... 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-on-map slot gets or sets
whether the window should receive the input focus when mapped. ... The accessor for the focus-visible slot gets or sets
whether focus rectangles are visible in the window. ... The accessor for the has-resize-grip slot gets or sets
whether the window has a corner resize grip. ... The accessor for the has-toplevel-focus slot returns
whether the input focus is within the window. ... The accessor for the hide-titlebar-when-maximized slot
gets or sets whether the window has requested to have its titlebar hidden
when maximized. ... The accessor for the is-maximized slot returns whether
the window is maximized. ... The accessor for the mnemonics-visible slot gets or sets
whether mnemonics are currently visible in the window. ... The accessor for the modal slot gets or sets whether the
window is modal and establishes a grab when shown. ... The accessor for the resize-grip-visible slot returns
whether a corner resize grip is currently shown. ... The accessor for the role slot gets or sets the unique
identifier for the window to be used when restoring a session. ... The accessor for the skip-pager-hint slot gets or sets
whether the window should not be in the pager. ... The accessor for the skip-taskbar-hint slot gets or sets
whether the window should not be in the task bar. ... The accessor for the startup-id slot sets the startup
notification identifier. ... The accessor for the transient-for slot gets or sets
the transient parent for the window. ... The accessor for the urgency-hint slot gets or sets
whether the window should be brought to the attention of the user. ... The accessor for the window-position slot gets or sets
the initial position of the window. ...
Creates a new window, which is a toplevel window that can contain other
widgets. ...
Requests that the window is closed, similar to what happens when a window
manager Close button is clicked. ...
Presents a window to the user. ...
Presents a window to the user in response to a user interaction. ... Returns a list of all existing toplevel windows. ...
Associate an accelerator group with the window, such that calling the gtk:accel-group-activate function on the window will activate
accelerators in the accelerator group. ... Reverses the effects of the gtk:window-add-accel-group function. ...
Gets or sets the default size of the window. ...
Obtains the current size of the window. ...
This function returns the position you need to pass to the gtk:window-move function to keep the window in its current position. ...
This function sets up hints about how a window can be resized by the user. ...
Gets or sets the focused widget within the window. ...
Activates the current focused widget within the window. ...
Gets or sets the default widget for the window. ...
Activates the default widget for the window, unless the current focused
widget has been configured to receive the default action. ...
Asks to iconify, for example, minimize, the specified window. ...
Asks to deiconify, for example, unminimize, the specified window. ...
Asks to stick the window, which means that it will appear on all user
desktops. ...
Asks to unstick the window, which means that it will appear on only one of
the desktops of the user. ...
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. ...
Asks to toggle off the fullscreen state for the window. ...
Asks to keep the window above, so that it stays on top. ...
Asks to keep the window below, so that it stays in bottom. ...
Returns the window group for the window or the default window group, if the window argument is nil or if the window argument
does not have an explicit window group. ... Returns whether the window has an explicit window group. ...
Asks the window manager to move the window to the given position. ...
Resizes the window as if the user had done so, obeying geometry constraints. ...
Adds a mnemonic to the window. ...
Removes a mnemonic from the window. ...
Activates the targets associated with the mnemonic. ...
Activates mnemonics and accelerators for the window. ...
Propagate a key press or release event to the focus widget and up the focus
container chain until a widget handles the event. ...
Gets or sets the modifier mask used to activate mnemonics on the window. ...
Gets or sets an icon to be used as fallback for windows that have not had the gtk:window-icon-list function called on them from a named themed
icon. ...
Gets or sets the default icon list. ...
Gets or sets the list of icons representing the window. ...
Sets an icon to be used as fallback for windows that have not had the gtk:window-icon function called on them from a pixbuf. ...
Sets the icon for the window. ...
Sets an icon to be used as fallback for windows that have not had the gtk:window-icon-list function called on them from a file on disk. ...
Starts resizing a window. ...
Starts moving a window. ...
Gets or sets the requested opacity of the window. ...
Gets or sets the custom titlebar for the window. ...
Call this function to disable the automatic startup notification. ...
Opens or closes the interactive debugger, which offers access to the widget
hierarchy of the application and to useful debugging tools. ... GtkDialog Flags used to influence the gtk:dialog widget construction. ... Predefined values for use as response IDs in the gtk:dialog-add-button
function. ...
Dialogs are a convenient way to prompt the user for a small amount of input,
for example, to display a message, ask a question, or anything else that
does not require extensive effort on the part of the user. ... The accessor for the use-header-bar slot. ... Creates a new dialog. ... Creates a new dialog with title title, or nil for the default title, see the gtk:window-title function, and transient parent parent, or nil for none, see the gtk:window-transient-for
function. ...
Blocks in a recursive main loop until the dialog either emits the "response" signal, or is destroyed. ...
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 action area of the dialog. ... Returns the content area of the dialog. ...
Returns the header bar of the dialog. ... GtkMessageDialog
The type of message being displayed in the message dialog. ...
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 gets or
sets the type of the message. ... The accessor for the secondary-text slot gets
or sets the secondary text of the message dialog. ... The accessor for the secondary-use-markup slot. ... The accessor for the use-markup slot. ...
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 of the message dialog to be text, which is marked
up with the Pango text markup language. ... Sets the secondary text of the message dialog to be message with the arguments in args, which is marked up with the Pango text markup
language. ... 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
strings which are displayed in the artists tab of the secondary credits
dialog. ... The accessor for the authors slot gets or sets the
strings which are displayed in the authors tab of the secondary credits
dialog. ... The accessor for the comments slot gets or sets
the comments string to display in the about dialog. ... The accessor for the copyright slot gets or sets
the copyright string to display in the about dialog. ... The accessor for the documenters slot gets or sets
the strings which are displayed in the documenters tab of the secondary
credits dialog. ... 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 from a list of known licenses. ... 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 translator-credits slot gets
or sets the translator credits string which is displayed in the translators
tab of the secondary credits dialog. ... The accessor for the version slot gets 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 label used for the website link. ... 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. ... 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, guiding the user through its pages and
controlling the page flow to collect the necessary data. ... The accessor for the use-header-bar slot. ... The accessor for the has-padding child property
returns whether the assistant adds padding around the page. ... Creates a new assistant. ...
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. ...
The page type determines 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. ...
Gets or sets whether the assistant is adding padding around the page. ...
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. ... GtkInvisible The gtk:invisible widget is used internally in GTK, and is probably
not very useful for application developers. ...
Creates a new invisible widget. ...
Creates a new invisible widget for a specified screen. ... GtkOffscreenWindow The gtk:offscreen-window widget is strictly intended to be used for
obtaining snapshots of widgets that are not part of a normal widget
hierarchy. ...
Creates a toplevel container widget that is used to retrieve snapshots of
widgets without showing them on the screen. ...
Retrieves a snapshot of the contained widget in the form of a cairo:surface-t instance. ...
Retrieves a snapshot of the contained widget in the form of a gdk-pixbuf:pixbuf object. ... 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. ...
Gets the current grab widget of the given window group. ... Layout ContainersGtkBox The gtk:box widget arranges child widgets into a single row or column, depending upon the :horizontal or :vertical value of its inherited orientation property. ... The accessor for the baseline-position slot gets or sets
the baseline position of a box. ... 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 spacing
between children, which is the number of pixels to place between children
of the box. ... The accessor for the expand child property gets or sets
whether the child widget should receive extra space when the parent widget
grows. ... The accessor for the fill child property gets or sets
whether the child widget should fill extra space or use it as padding. ... The accessor for the pack-type child property gets or sets
the pack type indicating whether the child widget is packed with reference
to the start or end of the parent widget. ... The accessor for the padding child property gets or sets
the extra space to put between the child widget and its neighbors, in
pixels. ... The accessor for the position child property gets or sets
the index of the child widget in the parent widget. ...
Adds a child widget to the box, packed with reference to the start of the
box. ...
Adds a child widget to the box, packed with reference to the end of the box. ...
Moves the child widget to a new position in the list of the box children. ...
Obtains information about how the child widget is packed into the box. ...
Sets the way the child widget is packed into the box. ...
Gets or sets the center widget of the box. ... 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 which
row defines the global baseline of the grid. ... 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 the 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 the rows of the grid. ... The accessor for the left-attach child property gets or
sets the column number to attach the left side of the child to. ... The accessor for the top-attach child property gets or
sets the row number to attach the top side of a child widget to. ... The accessor for the width child property gets or sets
the number of columns that a child spans. ...
Creates a new grid container. ...
Adds a child widget to the grid. ...
Adds a child widget to the grid. ...
Gets the child of the grid whose area covers the grid cell whose upper left corner is at left, top. ...
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. ... 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 is a container 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 currently revealed. ... 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
the value of the property for this row. ... The accessor for the selectable slot gets or sets
the value of the property for this row. ...
Creates a new list box row, to be used as a child widget of a list box. ... Marks 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 activate-on-single-click slot
gets or sets whether rows activate on single clicks. ... The accessor for the selection-mode slot gets or sets
the selection mode of the list box. ... Creates a new list box. ...
Prepend a child widget to the list box. ...
Insert the child widget into the list box at the given position. ... Make 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. ... The callback function used by the gtk:list-box-selected-foreach
function. ...
Calls a function for each selected child. ... Creates a list of all selected rows in the list box. ...
Gets or sets the adjustment (if any) 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. ...
Update the filtering for all rows. ...
Update the separators for all rows. ...
Update the sorting for all rows. ...
The callback function that 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. ... 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. ...
The type of 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. ...
This is a helper function for implementing drag and drop onto a list box. ...
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 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. ...
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. ... GtkStack The accessor for the homogeneous slot gets or sets
whether the stack is homogeneous. ... 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 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-type slot gets or sets
the type of animation that will be used for transitions between pages in
the stack. ... 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 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. ... The accessor for the needs-attention child property gets
or sets a flag specifying whether the child page requires the user
attention. ... The accessor for the position child property gets or sets
the index of the child page in the parent. ... Creates a new stack. ...
Adds a child page to the stack. ...
Adds a child page to the stack. ...
Finds the child page of the stack with the name given as the argument. ...
Makes the child page with the given name visible. ... GtkStackSwitcherGtkStackSidebar 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. ... The accessor for the pack-type child property gets or sets the value of the gtk:pack-type enumeration indicating whether
the child widget is packed with reference to the start or end of the parent. ... The accessor for the position child property gets or
sets the index of the child widget in the parent. ... 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. ...
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 custom-title slot gets or sets
the custom title widget of the header bar. ... 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 decoration-layout-set slot. ... The accessor for the has-subtitle slot gets or sets
whether the header bar reserves space for a subtitle, regardless if one is
currently set or not. ... The accessor for the show-close-button slot gets or
sets whether the header bar shows the standard window decorations, including
Close, Maximize, and Minimize buttons. ... The accessor for the position child property gets
or sets the index of the child widget in the heaer bar. ... 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. ... GtkOverlay The gtk:overlay widget is a container which contains a single main
widget, on top of which it can place overlay widgets. ... The accessor for the index child property gets or sets
the index of the child widget in the parent, -1 for the main child. ... The accessor for the pass-through child property gets
or sets whether pass through input, does not affect main child. ... Creates a new overlay container. ...
Adds a child widget to the overlay container. ...
Moves a child widget to a new index in the list of overlay children. ... GtkButtonBox Used to dictate the style that a gtk:button-box widget uses to
layout the buttons it contains. ... The gtk:button-box widget should be used to provide a consistent
layout of buttons throughout your application. ... The accessor for the layout-style slot gets or sets
the method being used to arrange the buttons in a button box. ... The accessor for the non-homogeneous child property
gets or sets whether the child widget is exempted from homogeneous sizing. ... The accessor for the secondary child property gets
or sets whether the child widget should appear in a secondary group of
children. ... Creates a new button box. ...
Gets or sets the method being used to arrange the buttons in a button box. ... 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 wide-handle slot. ... The accessor for the resize child property gets or sets
whether the child widget expands and shrinks along with the paned widget. ... The accessor for the shrink child property gets or sets
whether the child widget can be made smaller than its requisition. ... Creates a new paned widget. ...
Adds a child widget to the top or left pane with default parameters. ...
Adds a child widget to the bottom or right pane with default parameters. ...
Adds a child widget to the top or left pane. ...
Adds a child widget to the bottom or right pane. ... Obtains the first child widget of the paned widget. ... Obtains the second child widget of the paned widget. ...
Returns the GDK window of the handle. ... GtkLayout The gtk:layout widget is similar to the gtk:drawing-area
widget in that it is a "blank slate" and does not do anything but paint
a blank background by default. ... The accessor for the x child property gets or sets the
x position of the child widget in the layout. ... The accessor for the y child property gets or sets the
y position of the child widget in the layout. ...
Creates a new layout. ...
Adds a child widget to the layout, at the given position in pixels. ...
Moves a child widget of the layout to a new position in pixels. ...
Gets or sets the size in pixels on the layout, that determines the total
extents of the scrollbar of the layout area. ...
Retrieve the GDK window of the layout used for drawing operations. ... GtkNotebook The gtk:notebook widget is a gtk:container widget whose
children are pages that can be switched between using tab labels along one
edge. ... The accessor for the enable-popup slot. ... The accessor for the group-name slot gets or sets
the group name for the notebook. ... The accessor for the scrollable slot gets or sets
whether the tab label area has arrows for scrolling if there are too many
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 tab-pos slot gets or sets
the edge at which the tabs for switching pages in the notebook are drawn. ... The accessor for the detachable child property gets or
sets whether the tab is detachable. ... The accessor for the menu-label child property gets
or sets the string displayed in the menu entry of the child widget. ... The accessor for the position child property gets
or sets the index of the child widget in the notebook. ... The accessor for the reorderable child property gets
or sets whether the tab is reorderable by user action. ... The accessor for the tab-expand child property gets
or sets whether to expand the tab of the child widget. ... The accessor for the tab-fill child property gets
or sets whether the tab of the child widget should fill the allocated area. ... The accessor for the tab-label child property gets
or sets the string displayed on the tab label of the child page. ...
Creates a new notebook with no pages. ...
Inserts a page into the notebook depending on the value of the position keyword argument with the :end default value: ...
Appends a page to the notebook. ...
Appends a page to the notebook, specifying the widget to use as the label
in the popup menu. ...
Prepends a page to the notebook. ...
Prepends a page to the notebook, specifying the widget to use as the label
in the popup menu. ...
Insert a page into the notebook at the given position. ...
Insert a page into the notebook at the given position, specifying the
widget to use as the label in the popup menu. ...
Removes a page from the notebook given the page widget or its index in the
notebook. ...
Removes the child page from the notebook. ...
Finds the index of the page which contains the given child widget. ...
Switches to the next page. ...
Switches to the previous page. ...
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 an integer for the index starting from 0 of the page number of
the current page. ...
Gets or sets the menu label for the page containing the child. ... Returns the child widget contained in page number num. ... Gets the number of pages in a notebook. ...
Gets or sets the tab label widget for the page child. ...
Retrieves the text of the menu label for the page containing child or
creates a new label and sets it as the menu label of the child page. ...
Retrieves the text of the tab label for the page containing child or
creates a new label and sets it as the tab label for the page containing
child. ...
Gets or sets whether the tab can be reordered via drag and drop or not. ...
Gets or sets whether the tab content can be detached from the notebook to
another notebook or widget. ...
Gets or sets the widget as 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 similar to the triangles used in a gtk:tree-view widget. ... The accessor for the label slot gets or sets the text
from a label widget including any embedded underlines indicating mnemonics
and Pango markup. ... The accessor for the label-fill slot gets or sets
whether the label widget will fill all available horizontal space allocated
to expander. ... 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 spacing slot gets or sets
the spacing between the expander and child widget. ... 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. ... GtkFrame The frame widget is a gtk:bin widget that surrounds its child with
a decorative 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. ... The accessor for the label-yalign slot. ... The accessor for the shadow-type slot gets or sets the
shadow type of the frame. ...
Creates a new frame widget, with an optional label. ...
Gets or sets the the x and y alignment of the frame's label. ... GtkAspectFrame The gtk:aspect-frame widget is useful when you want pack a widget
so that it can resize but always retains the same aspect ratio. ... 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 container. ...
Set parameters for an existing 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. ... The accessor for the x child property gets or sets the x
position of the child widget in the fixed widget. ... The accessor for the y child property gets or sets the y
position of the child widget in the fixed widget. ... Creates a new fixed widget. ...
Adds a child widget to a fixed widget at the given position. ...
Moves a child widget of a fixed widget to the given position. ... Display WidgetsGtkLabel The accessor for the attributes slot gets or sets the
attribute list for the label. ... The accessor for the cursor-position slot gets or sets
the current position of the insertion cursor in chars. ... 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. ... The accessor for the mnemonic-widget slot gets or sets
the target of the mnemonic of the label. ... The accessor for the pattern slot sets the pattern of
underlines you want under the existing text within the label. ... The accessor for the selectable slot. ... The accessor for the selection-bound slot. ... The accessor for the single-line-mode slot gets or sets
whether the label is in single line mode. ... The accessor for the track-visited-links slot gets or
sets whether the label is keeping track of clicked links and use a
different color for them. ... 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 aligment of the label text inside the labels size allocation. ... The accessor for the yalign slot gets or sets the vertical
aligment of the label text inside the labels size allocation. ...
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. ... Parses text which is marked up with the Pango text markup language. ... Sets the text of the label from the string text. ...
Gets or sets whether lines in the label are automatically wrapped. ...
Gets or sets the line wrap mode used by 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 Pango layout used to display the label. ...
Gets the selected range of characters in the label. ...
Returns the URI for the currently active link in the label. ... GtkImage The accessor for the icon-size slot get or sets the
symbolic size to use for a stock icon, icon set or named icon. ... The accessor for the pixbuf-animation slot. ... The accessor for the pixel-size slot gets or sets the
pixel size used for named icons. ... The accessor for the storage-type slot gets or sets the
type of representation being used by the image to store data. ... The accessor for the use-fallback slot gets or sets
whether the icon displayed in the image will use standard icon names
fallback. ... Creates a new image. ...
Creates an image displaying the file. ... Creates an image displaying pixbuf. ...
Creates a image displaying the given animation. ...
Creates an image displaying an icon from the current icon theme. ...
Creates an image displaying an icon from the current icon theme. ... Creates an image displaying the resource file in resource. ... Creates a new image displaying surface. ... Resets the image to be empty. ... Gets the gdk-pixbuf:pixbuf-animation object being displayed by the
image. ...
Gets the icon name and icon size being displayed by the image. ... See the gtk:image-new-from-file function for details. ... See the gtk:image-new-from-pixbuf function for more details. ...
Causes the image to display the given animation, or display nothing, if you set the animation to nil. ... See the gtk:image-new-from-icon-name function for details. ... See the gtk:image-new-from-gicon function for details. ... See the gtk:image-new-from-resource function for details. ... See the gtk:image-new-from-surface function for details. ... GtkSpinner The gtk:spinner widget displays an icon size spinning animation. ... Returns a new spinner. Not yet started. ... Starts the animation of the spinner. ... Stops the animation of the spinner. ... 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 message type of the message area. ... The accessor for the revealed slot gets or sets
whether the action bar shows its contents or not. ... The accessor for the show-close-button slot gets or
sets whether the info bar will display 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. ...
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. ... Returns the action area of the info bar. ... Returns the content area of the info bar. ... 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 current fraction from 0.0 to 1.0 of the task that is been completed. ... The accessor for the pulse-step slot gets or sets
the fraction of total progress 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 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 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 bar. ... The accessor for the min-value slot gets or sets
the minimum value of the interval that can be displayed by the bar. ... The accessor for the mode slot gets or sets
the way the level bar interprets the value properties to draw the level
fill area. ... The accessor for the value slot gets or sets the
value of the level bar in the interval between the min-value and max-value values. ... 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. ... 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. ... Retrieves the box containing the label widget. ... GtkAccelLabel The gtk:accel-label widget is a subclass of the gtk:label
class that also displays an accelerator key on the right of the label text, for example Ctrl+Q. ... The accessor for the accel-closure slot gets or
sets the closure to be monitored by this accelerator. ... The accessor for the accel-widget slot gets or sets
the widget monitored by the accelerator label. ...
Creates a new accel label. ...
Returns the width needed to display the accelerator key(s). ...
Manually sets a keyval and modifier mask as the accelerator rendered by label. ...
Gets the keyval and modifier mask set with the gtk:accel-label-set-accel function. ...
Recreates the string representing the accelerator keys. ... Buttons and TogglesGtkButton The gtk:button widget emits a signal when clicked on. ... The accessor for the always-show-image slot gets or sets whether the button will ignore the gtk-button-images
setting and always show the image, if available. ... The accessor for the focus-on-click slot gets or sets
whether the button grabs focus when it is clicked with the mouse. ... The accessor for the image slot gets or sets
the widget that is currently set as the image of the button. ... The accessor for the image-position slot gets or sets
the position of the image relative to the text inside the button. ... The accessor for the relief slot gets or sets the relief
style of the edges of the given button. ... The accessor for the use-underline slot gets or sets
whether an embedded underline in the button label indicates a mnemonic. ...
Creates a new button. ... Creates a button with a label containing the given text in label. ...
Creates a new button widget containing a label with a mnemonic. ...
Creates a new button containing an icon from the current icon theme. ... Returns the GDK event window of the button if it is realized, nil
otherwise. ... GtkCheckButton The gtk:check-button widget places a discrete gtk:toggle-button widget next to a widget, usually a gtk:label widget. ... Creates a new check button. ...
Creates a new check button widget containing a label. ... GtkRadioButton
A single radio button performs the same basic function as a gtk:check-button widget, as its position in the object hierarchy
reflects. ...
Creates a new radio button. ... Creates a new radio button, adding it to the same group as member. ...
Creates a new radio button with a text label. ...
Creates a new radio button with a text label, adding it to the same group as member. ...
Creates a new radio button containing a label, adding it to the same group
as group. ...
Creates a new radio button containing a label. ...
Sets a the group of the radio button. ...
Joins a radio button to the group of another radio button widget. ... GtkToggleButton The accessor for the draw-indicator slot gets
or sets whether the toggle part of the button is displayed. ... The accessor for the inconsistent slot. ...
Creates a new toggle button. ... Creates a new toggle button with a text label. ...
Creates a new toggle button containing a label. ...
Gets or sets whether the button is displayed as a separate indicator and
label. ... 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. ... 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 align-widget slot gets or sets
the parent widget to use to line up the menu with when popped up. ... 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 from which the popup will be constructed. ... The accessor for the popover slot gets or sets
the popover that will be popped up when the menu button is clicked. ... The accessor for the popup slot gets or sets
the menu that will be popped up when the menu button is clicked. ... The accessor for the use-popover slot gets or sets
whether a popover or a menu will be constructed from the menu model when the gtk:menu-button-menu-model function is called. ...
Creates a new menu button with downwards pointing arrow as the only child. ... GtkSwitchGtkScaleButton 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. ... The accessor for the icons slot gets or sets
the names of the icons to be used by 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. ... 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. ... 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 that controls 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-not-authorized slot
gets or sets the tooltip to display when prompting the user cannot obtain
authorization. ... The accessor for the tooltip-unlock slot gets or
sets the tooltip to display when prompting the user to unlock. ... Creates a new lock button which reflects the permission. ... GtkModelButton The role specifies the desired appearance of a gtk:model-button
widget. ... The accessor for the centered slot gets or sets
whether to render the button contents centered instead of left-aligned. ... The accessor for the icon slot gets or sets
the icon that will be used if iconic appearance for the button is desired. ... The accessor for the inverted slot gets or sets
whether to show the submenu indicator at the opposite side than normal. ... The accessor for the menu-name slot gets or sets
the name of a submenu to open when the button is activated. ... The accessor for the role slot gets or sets
whether the button is a plain, check or radio button. ... The accessor for the use-markup slot gets or sets
whether XML tags in the text of the button are interpreted to format the
enclosed spans of text. ... Creates a new model button widget. ... Numeric and Text Data EntryGtkEditable The gtk:editable interface is an interface which should be implemented by text editing widgets, such as the gtk:entry widget and the gtk:spin-button widget. ...
Selects a region of text. ...
Retrieves the selection bound of the editable. ...
Deletes a sequence of characters. ...
Retrieves a sequence of characters. ...
Removes the contents of the currently selected content in the editable and
puts it on the clipboard. ...
Copies the contents of the currently selected content in the editable and
puts it on the clipboard. ...
Pastes the content of the clipboard to the current position of the cursor
in the editable. ...
Deletes the currently selected text of the editable. ... The gtk:editable-position function retrieves the current position of
the cursor relative to the start of the content of the editable. ... The gtk:editable-editable function retrieves whether the editable
widget is editable. ... GtkEntryBuffer
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. ... GtkEntry
Specifies the side of the entry at which an icon is placed. ...
Describes primary purpose of the input widget. ...
Describes hints that might be taken into account by input methods or
applications. ...
Creates a new entry. ...
Creates a new entry with the specified text buffer. ...
Gets the area where the text of the entry is drawn. ...
Unsets the invisible char previously set with the gtk:entry-invisible-char function. ...
Accessor of the horizontal positioning of the entry. ...
Gets the Pango layout used to display the entry. ...
Obtains the position of the Pango layout used to render text in the entry,
in widget coordinates. ...
Converts from a position in the entry contents, returned by the gtk:entry-text function, to a position in the Pango layout of the entry, returned by the gtk:entry-layout function, with text retrieved via the pango:layout-text function. ...
Converts from a position in the Pango layout of the entry, returned by the gtk:entry-layout function, to a position in the entry contents, returned by the gtk:entry-text function. ...
Accessor of the horizontal cursor adjustment for the entry. ...
Indicates that some progress is made, but you do not know how much. ...
Allow the entry input method to internally handle key press and release
events. ...
Reset the input method context of the entry if needed. ...
Sets the icon shown in the specified position using a pixbuf. ...
Sets the icon shown in the entry at the specified position from a stock
image. ...
Sets the icon shown in the entry at the specified position from the current
icon theme. ...
Sets the icon shown in the 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 image used for the icon. ... Retrieves the stock ID used for the icon, or nil if there is no icon
or if the icon was set by some other method. ... 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. ... 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. ... The gtk:entry-icon-activatable function returns whether the icon is
activatable. ... The gtk:entry-icon-sensitive function returns whether the icon appears
sensitive or insensitive. ...
Finds the icon at the given position and return its index. ... The gtk:entry-icon-tooltip-text function gets the contents of the
tooltip on the icon at the specified position in the entry. ... The gtk:entry-icon-tooltip-markup function gets the contents of the
tooltip on the icon at the specified position in the 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 entry at pos is drawn. ...
Causes entry to have keyboard focus. ... 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. ... 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 entry the entry completion has been attached to. ... A 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. ...
Computes the common prefix that is shared by all rows in completion that start with key. ...
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. ...
Inserts an action in the action item list of the entry completion at position index with the given text. ...
Inserts an action in the action item list of the entry completion at position index with the given markup. ... Deletes the action at index from the action list of the entry
completion. ... GtkSearchEntry The gtk:search-entry class is a subclass of the gtk:entry
class that has been tailored for use as a search entry. ...
Creates a search entry, with a find icon when the search field is empty,
and a clear icon when it is not. ...
This function should be called when the toplevel window which contains the
search entry received a key event. ... GtkSearchBar The gtk:search-bar widget is a container made to have a search entry
built-in, possibly with additional connex widgets, such as drop-down menus,
or buttons. ...
Creates a search bar. ...
Connects the entry widget passed as the one to be used in this search bar. ...
This function should be called when the toplevel window which contains the
search bar received a key event. ... GtkScaleCreates 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. ... Gets the Pango layout used to display 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. See the gtk:spin-button-update-policy function. ... 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 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 spin button's value wraps around to the opposite limit when the
upper or lower limit of the range is exceeded. ...
Changes the properties of an existing spin button. ...
Creates a new spin button. ...
This is a convenience constructor that allows creation of a numeric
spin button without manually creating an adjustment. ...
Gets or sets the current 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. ...
Increment or decrement the value of a spin button in a specified direction
by a specified amount. ...
Manually force an update of the spin button. ... Multiline 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 which 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 example-text-view-simple ()
(gtk:within-main-loop
(let* ((window (make-instance 'gtk:window
:type :toplevel
:title "Example Simple Text View"
:default-width 350))
(view (make-instance 'gtk:text-view))
(buffer (gtk:text-view-buffer view)))
(g:signal-connect window "destroy"
(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)
(gtk:leave-gtk-main))))
(setf (gtk:text-buffer-text buffer) "Some text for the text view.")
(gtk:container-add window view)
(gtk:widget-show-all 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 example-text-view-attributes ()
(gtk:within-main-loop
(let* ((window (make-instance 'gtk:window
:type :toplevel
:title "Example Text View Attributes"
:default-width 350))
(provider (gtk:css-provider-new))
(view (make-instance 'gtk:text-view))
(buffer (gtk:text-view-buffer view)))
(g:signal-connect window "destroy"
(lambda (widget)
(declare (ignore widget))
(gtk:leave-gtk-main)))
(setf (gtk:text-buffer-text buffer) "Hello, this is some text.")
;; Change default font and color throughout the text view
(gtk:css-provider-load-from-data provider
"textview, text {
color : Green;
font : 20px Purisa; }")
(gtk:style-context-add-provider (gtk:widget-style-context view)
provider
gtk:+priority-application+)
;; Change left margin throughout the text view
(setf (gtk:text-view-left-margin view) 30)
;; 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 text buffer
(gtk:text-buffer-apply-tag buffer tag start end))
;; Add the text view to the window and show all
(gtk:container-add window view)
(gtk:widget-show-all window))))
The GTK3 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 the text buffer this iterator is associated with. ... Returns a newly allocated iterator. ... 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 the text in the given range. ...
Returns the text in the given range. ...
If the element at the iterator is a pixbuf, the pixbuf 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 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. ... A 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. ... GtkTextMark The gtk:text-mark object is like a bookmark in a text buffer. ... The accessor for the left-gravity slot returns
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 whether the text mark is visible, that is, a cursor is
displayed for it. ... 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
These values are used as "info" for the targets contained in the lists returned by the gtk:text-buffer-copy-target-list and gtk:text-buffer-paste-target-list functions. ...
You may wish to begin by reading the text widget conceptual overview which
gives an overview of all the objects and data types related to the text
widget and how they work together. ... The accessor for the copy-target-list slot returns
the list of targets this text buffer can provide for copying and as drag
and drag source. ... 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 has-selection slot indicates
whether the text buffer has some text currently selected. ... The accessor for the paste-target-list slot returns
the list of targets the text buffer supports for pasting and as Drag and
Drop destination. ... 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. ...
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 pixbufs 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. ...
Performs the appropriate action as if the user hit the delete key with the cursor at the position specified by iter. ... Inserts an image into the text buffer at iter. ... Inserts a child widget anchor into the text buffer at iter. ...
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. ... Obtains an iterator pointing to offset within the given line. ... 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, that is, the entire text buffer lies within the range [start, end). ... 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 at the insertion point, or at override. ...
Copies the currently selected text to the clipboard. ...
Copies the currently selected text to a clipboard, then deletes the text
if it is editable. ...
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. ...
A function that is called to deserialize rich text that has been serialized with the gtk:text-buffer-serialize function, and insert it at iter. ...
Use this function to allow a rich text deserialization function to create
new tags in the receiving text buffer. ...
This function registers a rich text deserialization function along with its
MIME type with the passed text buffer. ...
This function registers internal rich text serialization format of GTK with
the passed text buffer. ...
A function that is called to serialize the content of a text buffer. It
must return the serialized form of the content. ... This function serializes the portion of text between the start and end iterator in the rich text format represented by format. ...
This function registers a rich text serialization function along with its
MIME type with the passed text buffer. ...
This function registers the internal rich text serialization format of GTK
with the passed text buffer. ...
This function returns the rich text deserialize formats registered with the text buffer using the gtk:text-buffer-register-deserialize-format or gtk:text-buffer-register-deserialize-tagset functions. ...
This function returns the rich text serialize formats registered with buffer using the gtk:text-buffer-register-serialize-format or gtk:text-buffer-register-serialize-tagset functions. ...
This function unregisters a rich text format that was previously registered using the gtk:text-buffer-register-deserialize-format or gtk:text-buffer-register-deserialize-tagset functions. ...
This function unregisters a rich text format that was previously registered using the gtk:text-buffer-register-serialize-format or gtk:text-buffer-register-serialize-tagset functions. ... GtkTextTagDescribes a type of line wrapping. ...
You may wish to begin by reading the text widget conceptual overview which
gives an overview of all the objects and data types related to the text
widget and how they work together. ... The accessor for the accumulative-margin slot gets or
sets whether the margins accumulate or override each other. ... 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-gdk slot gets or sets
the background color. ... 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. ... 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 sets the
foreground color as a string. ... The accessor for the foreground-gdk 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 indent-set slot gets or sets
whether this tag affects indentation. ... 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
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 name slot gets the name used to refer to the text tag, nil for anonymous tags. ... The accessor for the paragraph-background slot sets
the paragraph background color as a string. ... The accessor for the paragraph-background-gdk slot
gets or sets the paragraph background color. ... 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 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 this 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 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 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. ... GtkTextTagTableCreates a new empty tag table. ...
Returns the size of the number of tags in the tag table. ...
Adds a tag to the tag table. ...
Removes a tag from the tag table. ...
Removes all tags from the tag table. ...
Look up a named tag. ... The type of callback function passed to the gtk:text-tag-table-foreach
function. ... Calls func on each tag in the tag table. ... GtkTextChildAnchor 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. ...
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 parts of the gtk:text-view widget. ...
Granularity types that extend the text selection. ...
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 im-module slot gets or sets
which IM (input method) module should be used for this 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 value of this property, which allows input methods to fine-tune their
behaviour. ... The accessor for the input-purpose slot gets or sets
the value of this property, 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 monospace slot gets or sets
the value of this property, which indicates that the text view should use
monospace fonts. ... 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 populate-all slot gets or sets whether the "populate-popup" signal is also emitted for
touch popups. ... The accessor for the right-margin slot gets or sets
the default right margin for text in the text view. ... The accessor for the top-margin slot gets or sets
the top margin for text in the 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 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 (xbuffer,ybuffer) to window coordinates (xwindow,ywindow) for the text view window of type wtype. ... Converts window coordinates (xwindow,ywindow) on the text view window identified by wtype to text buffer coordinates (xbuffer,ybuffer). ...
Retrieves the GDK window corresponding to an area of the text view. ...
Usually used to find out which GDK window an event corresponds to. ... Gets or sets the width of the :left or :right size of the border window, or the height of the :top or :bottom size of the border window. ... 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. ...
Adds a child widget at fixed coordinates in one of the windows of the text
view. ...
Updates the position of a child widget, as for the gtk:text-view-add-child-in-window 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. ... Tree, List and Icon Grid WidgetsOverview of the gtk:tree-model interface, the gtk:tree-view widget, and friends.OverviewTo create a tree or list in GTK, use the gtk:tree-model interface in conjunction with the gtk:tree-view widget. This widget is designed around a Model/View/Controller design and consists of four major parts:
The purpose of the cell renderers is to provide extensibility to the widget and to allow multiple ways of rendering the same type of data. For example, consider how to render a boolean variable. Should it render it as a string of "True" or "False", "On" or "Off", or should it be rendered as a checkbox? Creating a modelGTK provides two simple models that can be used: the gtk:list-store object and the gtk:tree-store object. The gtk:list-store object is used to model list widgets, while the gtk:tree-store object models trees. It is possible to develop a new type of model, but the existing models should be satisfactory for all but the most specialized of situations. Creating the model is quite simple:GtkListStore *store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_BOOLEAN);This creates a list store with two columns: a string column and a boolean column. Typically the 2 is never passed directly like that; usually an enum is created wherein the different columns are enumerated, followed by a token that represents the total number of columns. The next example will illustrate this, only using a tree store instead of a list store. Creating a tree store operates almost exactly the same.
enum
{
TITLE_COLUMN,
AUTHOR_COLUMN,
CHECKED_COLUMN,
N_COLUMNS
}; Adding data to the model is done using the gtk:tree-store-set function or the gtk:list-store-set function, depending upon which sort of model was created. To do this, a gtk:tree-iter iterator
must be acquired. The iterator points to the location where data will be
added.Once an iterator has been acquired, the gtk:tree-store-set function is used to apply data to the part of the model that the iterator points to. Consider the following example: GtkTreeIter iter;Notice that the last argument is -1. This is always done because this is a variable-argument function and it needs to know when to stop processing arguments. It can be used to set the data in any or all columns in a given row. The third argument to the gtk:tree-store-append function is the parent iterator. It is used to add a row to a gtk:tree-store object as a child of an existing row. This means that the new row will only be visible when its parent is visible and in its expanded state. Consider the following example: GtkTreeIter iter1; /* Parent iter */ GtkTreeIter iter2; /* Child iter */ Creating the view componentWhile there are several different models to choose from, there is only one view widget to deal with. It works with either the list or the tree store. Setting up a gtk:tree-view widget is not a difficult matter. It needs a gtk:tree-model object to know where to retrieve its data from.GtkWidget *tree;Once the gtk:tree-view widget has a model, it will need to know how to display the model. It does this with columns and cell renderers. Cell renderers are used to draw the data in the tree model in a way. There are a number of cell renderers that come with GTK, including the gtk:cell-renderer-text, gtk:cell-renderer-pixbuf and the gtk:cell-renderer-toggle objects. It is relatively easy to write a custom renderer. A gtk:tree-view-column object is the object that the gtk:tree-view widget uses to organize the vertical columns in the tree view. It needs to know the name of the column to label for the user, what type of cell renderer to use, and which piece of data to retrieve from the model for a given row. GtkCellRenderer *renderer; GtkTreeViewColumn *column;At this point, all the steps in creating a displayable tree have been covered. The model is created, data is stored in it, a tree view is created and columns are added to it. Selection handlingMost applications will need to not only deal with displaying data, but also receiving input events from users. To do this, simply get a reference to a selection object and connect to the "changed" signal./* Prototype for selection handler callback */ static void tree_selection_changed_cb (GtkTreeSelection *selection, gpointer data);Then to retrieve data for the row selected:
static void
tree_selection_changed_cb (GtkTreeSelection *selection, gpointer data)
{
GtkTreeIter iter;
GtkTreeModel *model;
gchar *author;Simple ExampleHere is a simple example of using a gtk:tree-view widget in context of the other widgets. It simply creates a simple model and view, and puts them together. Note that the model is never populated with data - that is left as an exercise for the reader. More information can be found on this in the gtk:tree-model documentation.
enum
{
TITLE_COLUMN,
AUTHOR_COLUMN,
CHECKED_COLUMN,
N_COLUMNS
}; GtkTreeIter 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. ... Creates a newly allocated tree iterator as a copy of iter. ... GtkTreePath The gtk:tree-path structure is opaque, and has no user visible
fields. ... Creates a new tree path. ... Creates a new tree path. ... Creates a tree path initialized to str. ... Creates a new tree path with indices as indices. ... Creates a new tree path as a copy of path. ...
Generates a string representation for the tree 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 and
returns the path. ... Moves path to point to the previous node at the current depth,
if it exists, and returns the path. ... Moves path to point to its parent node, if it has a parent, and
returns the path. ... Moves path to point to the first child of the current tree path
and returns the path. ... GtkTreeRowReference The gtk:tree-row-reference instance tracks model changes so that it
always refers to the same row. ... Creates a tree row reference based on path. ... Copies a tree row reference. ... Returns the model that the tree row reference is monitoring. ...
Returns a path that the tree 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 str, if it exists. ...
Returns the first iterator in the tree model, the one at the path "0". ... Returns a tree path referenced by the given iterator. ... Gets the value of one or more cells in the row referenced by iter. ... Returns the value at colnum. ... 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 for the iterator. ...
Lets the tree ref the node. ...
Lets the tree unref the node. ... Type of 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 :single or :browse values 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. ... 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. ...
This function gets or sets the sort column ID and the sort order. ... Returns true if the model has a default sort function. ...
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 default comparison callback function used when sorting to be func. ... Sets the comparison function used when sorting to be func. ... GtkTreeModelSort Creates a new tree model with model as the child model. ...
This resets the default sort function to be in the 'unsorted' state. ... This function should almost never be called. It clears the model of
any cached iterators that have not been reffed with the gtk:tree-model-ref-node function. ... GtkTreeModelFilter 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. ...
The callback function which decides whether the row indicated by the iter argument is visible. ... Sets the visible function used when filtering the filter to be func. ...
The callback function which calculates display values from raw values in the
model. ... With the gtypes 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. ... GtkTreeViewColumn
The sizing method the tree view column uses to determine its width. ... 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 model in the tree view column. ...
Sets the attributes in the list as the attributes of the tree view column. ...
A 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. ... Emits the "clicked" signal on the tree view column. ...
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 size 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. ...
An enumeration used to indicate which grid lines to draw in a tree view. ... 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. ... Callback function 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. ...
Returns the current path and focus column. ... 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). ... 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 the GDK 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 GDK window coordinates for the cell at the row specified by path and the column specified by column. ...
Returns the bounding rectangle in the GDK 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. ...
Returns the window that the tree view renders to. ...
Converts GDK window coordinates to coordinates for the tree view (the full
scrollable area of the tree view). ... Converts GDK window coordinates, see the gtk:tree-view-bin-window
function, to widget relative coordinates. ...
Converts tree view coordinates, coordinates in full scrollable area of the
tree view, to GDK window coordinates. ...
Converts tree view coordinates, coordinates in full scrollable area of the
tree, to widget coordinates. ...
Converts widget coordinates to coordinates for the GDK window, see the gtk:tree-view-bin-window function. ...
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. ...
A callback function used for checking whether a row in the model matches a
search key string entered by the user. ...
Sets the compare callback function for the interactive search capabilities. ... The gtk:tree-view-search-entry function returns the search entry which
is currently in use as interactive search entry for the tree view. ...
Callback function to use when positioning the search dialog. ...
Sets the callback function to use when positioning the search dialog. ... 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 and drop
GTK supports drag and drop in tree views with a high-level and a low-level
API. ... 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 whether a particular row can
be used as the source of a drag and drop operation. ...
GTK supports drag and drop in tree views with a high-level and a low-level
API. ... Asks the gtk:tree-drag-dest object to insert a row before the path dest, deriving the contents of the row from data. ... Sets selection data of target type GTK_TREE_MODEL_ROW. ...
Obtains a tree_model and path from selection data of target type GTK_TREE_MODEL_ROW. ... 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 background slot sets the
background color as a string. ... The accessor for the background-gdk slot gets or sets
the background color of the cell view. ... The accessor for the background-rgba slot gets or
sets the background color of the cell view. ... The accessor for the background-set slot. ... The accessor for the cell-area-context slot gets or
sets 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 tree
model. ...
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 pixbuf. ...
Gets or sets the row of the model that is currently displayed by the cell
view.. ...
Returns the size needed by the cell view to display the model row pointed to by path. ... GtkIconViewAn enumeration for determining where a dropped item goes. ... 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. ... Finds the path at the point (x,y), relative to the GDK window
coordinates. ... Finds the path at the point (x,y), relative to the GDK window
coordinates. ...
Converts widget coordinates to coordinates for the GDK window, as expected by, for example, the gtk:icon-view-path-at-pos function. ... Sets the current keyboard focus to be at path, and selects it. ...
Returns the current cursor path and focus cell. ... A 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 renderer 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 DND. ... 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. ... 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 in the list as the attributes of layout. ...
Clears all existing attributes previously set with the gtk:cell-layout-add-attribute function. ...
A callback function which should set the value of the cell renderer(s) of layout as appropriate. ... Sets the callback function to use for layout. ... 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 currently focused cell for the area. ...
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 type of 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 type of 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. ...
Renders the cells of the cell area according to the layout of the cell area onto widget at the given coordinates. ...
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, which is a value of the gtk:orientation enumeration. ... 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 gtk:cell-area object 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 gtk:cell-area object 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 gtk:cell-area object 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 gtk: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. ... 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. ... Gets the aligned area used by the cell renderer inside area. ...
Obtains the width and height needed to render the cell. ...
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. ... The gtk:cell-renderer-fixed-size function returns width and height with the appropriate size of renderer. ... The gtk:cell-renderer-alignment function returns the appropriate xalign and yalign values of the cell renderer. ... The gtk:cell-renderer-padding function returns the appropriate xpad and ypad of the cell renderer. ... Translates the cell renderer state to gtk:state-flags flags, based
on the cell renderer and widget sensitivity, and the given gtk:cell-renderer-state flags. ...
Checks whether the cell renderer can do something when activated. ...
Retreives the minimum and natural size 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 the widget. ...
Retreives the minimum and natural size of a cell renderer when rendered to widget. ...
Retreives the minimum and natural 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. ... GtkCellEditable The gtk:cell-editable interface must be implemented for widgets to be usable when editing the contents of a gtk:tree-view cell. ...
Begins editing on a cell editable. ... Emits the "editing-done" signal. ... Emits the "remove-widget" signal. ... 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 the Control+a key. ... 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. ...
Creates a new cell renderer combo. ... GtkCellRendererPixbuf The gtk:cell-renderer-pixbuf object can be used to render an image
in a cell. ...
Creates a new cell renderer pixbuf. ... GtkCellRendererProgress The gtk:cell-renderer-progress object renders a numeric value as a
progress bar in a cell. ...
Creates a new cell renderer progress object. ... GtkCellRendererSpin The gtk:cell-renderer-spin object renders text in a cell like the gtk:cell-renderer-text object from which it is derived. ... Creates a new cell renderer spin object. ... 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. ...
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. ... GtkCellRendererToggle The gtk:cell-renderer-toggle object renders a toggle button in a
cell. ...
Creates a new cell renderer toggle. ... GtkCellRendererSpinner The gtk:cell-renderer-spinner object renders a spinning animation in a cell, very similar to the gtk:spinner widget. ...
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. ...
This function is meant primarily for GObjects that inherit from the gtk:list-store class, and should only be used when constructing a new gtk:list-store object. ... 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 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 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. ... Combo BoxGtkComboBox The gtk:combo-box widget allows the user to choose from a list of
valid choices. ... The accessor for the add-tearoffs slot gets or sets
whether the popup menu should have a tearoff menu item. ... 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 cell-area slot gets or sets the
cell area used to layout cell renderers for this combo box. ... The accessor for the column-span-column slot gets or
sets the column with column span information for the combo box. ... The accessor for the entry-text-column slot gets or
sets the column which the combo box is using to get the strings from to
display in the internal entry. ... The accessor for the focus-on-click slot gets or sets
whether the combo box grabs focus when it is clicked with the mouse. ... 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. ... The accessor for the row-span-column slot gets or
sets the column with row span information for the combo box. ... The accessor for the tearoff-title slot gets or sets
the title that may be displayed by the window manager when the popup is
torn-off. ... The accessor for the wrap-width slot gets or sets
the wrap width which is used to determine the number of columns for the
popup menu. ... 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. ... Creates a new empty combo box using area to layout cells. ...
Creates a new empty combo box with an entry. ... Gets or sets iter to point to the current active item, if it exists. ...
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. ...
Gets the accessible object corresponding to the combo box's popup. ...
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 position 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. ... MenusGtkMenuShell
An enumeration representing directional movements within a menu. ... The gtk:menu-shell class is the abstract base class used to derive the gtk:menu and gtk:menu-bar subclasses. ...
Adds a new menu item to the end of the of the item list of the menu shell. ...
Adds a new menu item to the beginning of the menu shell's item list. ...
Adds a new menu item to the menu shell's item list at the position indicated by position. ...
Deactivates the menu shell. ...
Selects the menu item from the menu shell. ...
Select the first visible or selectable child widget of the menu shell. ...
Deselects the currently selected item from the menu shell, if any. ...
Activates the menu item within the menu shell. ... Cancels the selection within the menu shell. ...
Gets the currently selected item. ...
Gets the parent menu shell. ...
Establishes a binding between a menu shell and a menu model. ... GtkMenu
Used to specify the placement of scroll arrows in scrolling menus. ... The gtk:menu widget is a gtk:menu-shell widget that implements a drop down menu consisting of a list of gtk:menu-item
widgets which can be navigated and activated by the user to perform
application functions. ... Creates a new menu. ...
Creates a menu and populates it with menu items and submenus according to model. ... Sets the screen on which the menu will be displayed. ... Moves child to a new position in the list of menu children. ...
Adds a menu item to a (table) menu. ...
Displays the menu and makes it available for selection. ...
Displays the menu and makes it available for selection. ...
Displays the menu and makes it available for selection. ... A user function supplied when calling the gtk:menu-popup function
which controls the positioning of the menu when it is displayed. ...
Displays a menu and makes it available for selection. ...
Displays a menu and makes it available for selection. ... Places the menu on the given monitor. ... Removes the menu from the screen. ... Repositions the menu according to its position function. ...
Attaches the menu to the widget and provides a callback function that will be invoked when the menu calls the gtk:menu-detach function during
its destruction. ...
Detaches the menu from the widget to which it had been attached. ...
Returns a list of the menus which are attached to a widget. ... GtkMenuBar
Determines how widgets should be packed insided menubars and menuitems
contained in menubars. ... The gtk:menu-bar class is a subclass of the gtk:menu-shell class which contains one or more gtk:menu-item widgets. ...
Creates a new menu bar. ...
Creates a new menu bar and populates it with menu items and
submenus according to the menu model. ... GtkMenuItem The gtk:menu-item widget and the derived widgets are the only valid
childs for menus. Their function is to correctly handle highlighting,
alignment, events and submenus. ... Creates a new menu item. ...
Creates a new menu item containing a label. ... Emits the "toggle-size-request" signal on the given menu
item. ... Emits the "toggle-size-allocate" signal on the given
item. ...
Accessor of the reserve indicator of the menu item. ... GtkCheckMenuItem The gtk:check-menu-item widget is a menu item that maintains the state of a boolean value in addition to a gtk:menu-item usual role
in activating application code. ... The accessor for the draw-as-radio slot gets or sets whether object is drawn like a gtk:radio-menu-item
widget. ... The accessor for the inconsistent slot. ... Creates a new check menu item. ... Creates a new check menu item with a label. ...
Creates a new check menu item containing a label. ... GtkRadioMenuItem
The radio menu item is a check menu item that belongs to a group. At each
instant exactly one of the radio menu items from a group is selected. ...
Creates a new radio menu item. ...
Creates a new radio menu item containing a label. ... Creates a new radio menu item adding it to the same group as group. ...
Creates a new radio menu item containing a label. ...
Sets the group of a radio menu item, or changes it. ...
Returns the group to which the radio menu item belongs, as a list of gtk:radio-menu-item widgets. ...
Joins a radio menu item to the group of another radio menu item. ... GtkSeparatorMenuItem The gtk:separator-menu-item widget is a separator used to group
items within a menu. ...
Creates a new separator menu item. ... ToolbarGtkToolShell The gtk:tool-shell interface allows container widgets to provide additional information when embedding gtk:tool-item widgets. ...
Retrieves the current ellipsize mode for the tool shell. ...
Retrieves the icon size for the tool shell. ...
Retrieves the current orientation for the tool shell. ...
Returns the relief style of buttons on the tool shell. ...
Retrieves whether the tool shell has text, icons, or both. ...
Retrieves the current text alignment for the tool shell. ...
Retrieves the current text orientation for the tool shell. ...
Calling this function signals the tool shell that the overflow menu item
for tool items have changed. ...
Retrieves the current text size group for the tool shell. ... GtkToolbarWhether spacers are vertical lines or just blank. ... A toolbar can contain instances of a subclass of gtk:tool-item
widgets. ...
Creates a new toolbar. ...
Returns the position of the tool item on the toolbar, starting from 0. ... Returns the number of tool items on the toolbar. ... Returns the nth tool item on the toolbar, or nil if the toolbar does
not contain an nth tool item. ...
Returns the position corresponding to the indicated point on the toolbar. ...
Highlights the toolbar to give an idea of what it would look like if item was added to the toolbar at the position indicated by index. ... Unsets icon size of the toolbar set with the gtk:toolbar-icon-size
function, so that user preferences will be used to determine the icon size. ...
Returns the relief style of buttons on the toolbar. ... Unsets a toolbar style set with the gtk:toolbar-toolbar-style
function, so that user preferences will be used to determine the toolbar
style. ... GtkToolItem The gtk:tool-item widget is a widget that can appear on a toolbar. ... Creates a new tool item. ...
Accessor of the homogeneous property of the tool item. ...
Accessor of the expand property of the tool item. ...
Sets the text to be displayed as tooltip on the tool item. ...
Sets the markup text to be displayed as tooltip on the tool item. ...
Accessor of the use drag window property of the tool item. ...
Returns the ellipsize mode used for the tool item. ...
Returns the icon size used for the tool item. ...
Returns the orientation used for the tool item. ...
Returns the toolbar style used for the tool item. ...
Returns the relief style of the tool item. ...
Returns the text alignment used for the tool item. ...
Returns the text orientation used for the tool item. ... Returns the gtk:menu-item widget that was last set by the gtk:tool-item-proxy-menu-item function, that is, the gtk:menu-item widget that is going to appear in the overflow menu. ...
Accessor of the proxy menu item of the tool item. ...
Calling this function signals to the toolbar that the overflow menu item
for the tool item has changed. ... Emits the "toolbar-reconfigured" signal on the tool item. ...
Returns the size group used for labels in the tool item. ... GtkToolPalette
Flags used to specify the supported drag targets. ... The gtk:tool-palette widget allows you to add gtk:tool-item
widgets to a palette-like container with different categories and drag and
drop support. ... Creates a new tool palette. ...
Accessor of the index of the tool item group in the tool palette. ...
Unsets the tool palette icon size set with the gtk:tool-palette-icon-size function, so that user preferences will be
used to determine the icon size. ... Unsets a toolbar style set with the gtk:tool-palette-toolbar-style
function, so that user preferences will be used to determine the toolbar
style. ...
Sets the tool palette as drag source and sets a widget as a drag
destination for drags from the tool palette. ... Get the dragged item from selection. ... Gets the target entry for a dragged gtk:tool-item-group widget. ... Gets the target entry for a dragged gtk:tool-item widget. ... Gets the group at position (x,y). ... Gets the item at position (x,y). ...
Sets the tool palette as a drag source. ... GtkToolItemGroup The gtk:tool-item-group widget is used together with a gtk:tool-palette widget to add gtk:tool-item widgets to a
palette like container with different categories and drag and drop support. ... The accessor for the collapsed slot gets or
sets whether the tool item group is collapsed or expanded. ... The accessor for the ellipsize slot gets or
sets the ellipsization mode which should be used by labels in the tool item
group. ... The accessor for the header-relief slot gets or
sets the relief mode of the header button of the tool item group. ... The accessor for the label-widget slot gets or
sets the label widget of the tool item group. ... The accessor for the expand child property. ... The accessor for the fill child property. ... The accessor for the homogeneous child property. ... The accessor for the position child property gets or sets the position of item in the list of children of container starting
with 0. ... Creates a new tool item group with label label. ... Gets the tool item at position (x,y). ...
Gets the number of tool items in the tool item group. ... Gets the tool item at index in the tool item group. ... GtkSeparatorToolItem The gtk:separator-tool-item widget is a gtk:tool-item widget that separates groups of other gtk:tool-item widgets. ...
Create a new separator tool item. ... GtkToolButton The accessor for the icon-name slot gets or sets
the name of the themed icon for the tool button. ... The accessor for the icon-widget slot gets or sets
the widget used as icon on the tool button. ... The accessor for the label-widget slot gets or sets
the widget used as label on the tool button. ... The accessor for the use-underline slot gets or sets whether underscores in the label property are used
as mnemonics on menu items on the overflow menu. ...
Creates a new tool button containing the image and text from a stock item. ... GtkMenuToolButton The gtk:menu-tool-button widget is a gtk:tool-item that
contains a button and a small additional button with an arrow. ... The accessor for the menu slot gets or sets the menu that is popped up when the user clicks on the arrow of button. ...
Creates a new menu tool button. ...
Sets the tooltip text to be used as tooltip for the arrow button which pops
up the menu. ...
Sets the tooltip markup text to be used as tooltip for the arrow button
which pops up the menu. ... GtkToggleToolButtonGtkRadioToolButton The gtk:radio-tool-button widget is a gtk:tool-item that
contains a radio button, that is, a button that is part of a group of toggle
buttons where only one button can be active at a time. ... Creates a new radio tool button, adding it to group. ... Creates a new radio tool button, adding it to group. ... Creates a new radio tool button adding it to the same group as group. ... Creates a new radio tool button adding it to the same group as group. ... Returns the radio button group button belongs to. ... PopoverGtkPopover
Describes constraints to positioning of popovers. ... The gtk:popover widget is a bubble-like context window, primarily
meant to provide context-dependent information or options. ... Creates a new popover to point to relative-to. ... Creates a popover and populates it according to model. ...
Establishes a binding between a popover and a menu model. ...
Pops the popover up. ...
Pops the popover down. ... The gtk:popover-default-widget function gets the widget that should
be set as the default widget while the popover is shown. ... GtkPopoverMenu The gtk:popover-menu class is a subclass of the gtk:popover
class that treats its children like menus and allows switching between them. ... Creates a new popover menu. ...
Opens a submenu of the popover. ... Selectors (Color, File and Font)GtkColorChooser The gtk:color-chooser interface is an interface that is implemented
by widgets for choosing colors. ...
Adds a palette to the color chooser. ... GtkColorButton The gtk:color-button widget is a button which displays the currently
selected color and allows to open a color selection dialog to change the
color. ... Creates a new color button. ... Creates a new color button. ... Creates a new color button with the given RGBA color. ... GtkColorChooserWidget The gtk:color-chooser-widget widget lets the user select a color. ... Creates a new color chooser widget. ... GtkColorChooserDialog The gtk:color-chooser-dialog widget is a dialog for choosing a
color. ... Creates a new color chooser dialog. ... GtkFileFilter These flags indicate what parts of a gtk:file-filter-info instance
are filled or need to be filled. ... The gtk:file-filter-info structure is used to pass information about the tested file to the gtk:file-filter-filter function. ... The gtk:file-filter object can be used to restrict the files being shown in a gtk:file-chooser widget. ...
Creates a new file filter with no rules added to it. ...
Accessor of the human readable name of the file filter. ...
Adds a rule allowing a given MIME type to the file filter. ...
Adds a rule allowing a shell style glob pattern to a file filter. ...
Adds a rule allowing image files in the formats supported by a gdk-pixbuf:pixbuf object. ...
The type of the callback function that is used with custom filters. ...
Adds rule to a filter that allows files based on a custom callback function. ...
Gets the fields that need to be filled in for the structure passed to the gtk:file-filter-filter function. ... Tests whether a file should be displayed according to filter. ... Deserialize a file filter from an a{sv} variant in the format produced by the gtk:file-filter-to-gvariant function. ... Serialize a file filter to a a{sv} variant. ... GtkFileChooser Describes whether a gtk:file-chooser widget is being used to
open existing files or to save to a possibly new file. ... Used as a return value of handlers for the "confirm-overwrite" signal of a gtk:file-chooser widget. ... The gtk:file-chooser interface is an interface that can be
implemented by file selection widgets. ...
Accessor of the current name of a file chooser widget. ...
Accessor of the filename of a file chooser widget. ...
Selects a filename in the file chooser. ...
Unselects a currently selected filename. ...
Selects all files in the current folder of the file chooser. ...
Unselects all files in the current folder of the file chooser. ...
Lists all the selected files and subfolders in the current folder of
the file chooser. ... The gtk:file-chooser-current-folder function gets the current folder
of the file chooser as a local filename. ...
Accessor of the currently selected URI. ... Selects the file by uri. ... Unselects the file referred to by uri. ...
Lists all the selected files and subfolders in the current folder of the
file chooser. ...
Accessor of the URI for the current folder of the file chooser. ...
Gets the filename that should be previewed in a custom preview widget. ...
Gets the URI that should be previewed in a custom preview widget. ...
Adds a 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. ...
Lists the current set of user-selectable filters. ...
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. ...
Queries the list of shortcut folders in the file chooser, as set by the gtk:file-chooser-add-shortcut-folder function. ...
Adds a folder URI to be displayed with the shortcut folders in a file
chooser. ...
Removes a folder URI from a file chooser's list of shortcut folders. ...
Queries the list of shortcut folders in the file chooser, as set by the gtk:file-chooser-add-shortcut-folder-uri function. ... The gtk:file-chooser-current-folder-file function gets the current folder of the file chooser as a g:file object. ... The gtk:file-choose-file function gets the g:file object 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. ... Selects the file referred to by file. ... Unselects the file referred to by file. ... GtkFileChooserButton The gtk:file-chooser-button widget is a widget that lets the user
select a file. ...
Creates a new file selecting file chooser button widget. ... Creates a file chooser button which uses dialog as its file picking
window. ... GtkFileChooserNative The gtk:file-chooser-native widget is an abstraction of a dialog box
suitable for use with "File/Open" or "File/Save as" commands. ... Creates a new gtk:file-chooser-native widget. ... GtkFileChooserDialog The gtk:file-chooser-dialog widget is a dialog box suitable for use
with "File/Open" or "File/Save as" commands. ...
Creates a new file chooser dialog. ... GtkFileChooserWidget The gtk:file-chooser-widget widget is a widget for choosing files. ...
Creates a new file chooser widget. ... 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. ...
Gets the Pango font family representing the selected font family. ...
Gets the Pango font face representing the selected font group details,
that is, 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. ...
Accessor of the Pango font map of the font chooser widget. ... 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. ... Creates a new font picker widget. ... Creates a new font picker widget. ... GtkFontChooserWidget The gtk:font-chooser-widget widget lists the available fonts,
styles and sizes, allowing the user to select a font. ... 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. ... GtkPlacesSidebar
These flags serve two purposes. ... The gtk:places-sidebar widget is a widget that displays a list of
frequently-used places in the file system: the user’s home directory, the
user’s bookmarks, and volumes and drives. ... Creates a new gtk:places-sidebar widget. ...
Applications may want to present some folders in the places sidebar if they
could be immediately useful to users. ...
Removes an application specific shortcut that has been previously been inserted with the gtk:places-sidebar-add-shortcut function. ...
Gets the list of shortcuts that have been added as application specific shortcuts with the gtk:places-sidebar-add-shortcut function. ...
This function queries the bookmarks added by the user to the places sidebar,
and returns one of them. ... Make the gtk:places-sidebar object show drop targets, so it can show
the available drop targets and a "new bookmark" row. ... ScrollingGtkScrollbar The gtk:scrollbar widget is a horizontal or vertical scrollbar, depending on the value of the orientation property. ... 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. ... Creates a new scrolled window. ...
Returns the horizontal scrollbar of the scrolled window. ...
Returns the vertical scrollbar of the scrolled window. ...
Accessor of the policy values of the srolled window. ...
Used to add children without native scrolling capabilities. ...
Accessor of 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. ...
Whether button presses are captured during kinetic scrolling. ... GtkScrollable
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. ...
Returns the size of a non-scrolling border around the outside of the
scrollable. ... 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 enumeration is returned by the gtk:print-operation-run
function. ... The gtk:print-operation class is the high-level, portable printing
API. ... The accessor for the allow-async slot gets or sets whether the gtk:print-operation-run function may return before
the print operation is completed. ... The accessor for the current-page slot gets or
sets the current page. ... 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 in the print
dialog. ... 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 for 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. ... The accessor for the unit slot gets or sets the
transformation for the Cairo context obtained from a 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 callback function used by 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. ... 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 an a{sv} variant 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 from 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 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 of key, interpreted as an integer, or the default
value. ... Gets or sets the value of "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 "printer-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 A gtk:page-setup object stores the page size, orientation and
margins. ... Creates a new page setup object. ... Copies a page setup object. ...
Accessor for the page orientation of a page setup object. ...
Accessor for the paper size of a page setup object. ... Accessor of the top margin of the page setup in units of unit. ... Accessor of the bottom margin of the page setup in units of unit. ... Accessor of the left margin of the page setup in units of unit. ... Accessor of 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. ... Desrialize a page setup from an a{sv} variant in the format produced by the gtk:page-setup-to-gvariant function. ...
Reads the page setup from a file. ... Reads the page setup from the group groupname 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 an a{sv} variant. ... GtkPaperSizeEnumeration for dimensions of paper sizes. ... The gtk:paper-size instance 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. ... Changes the dimensions of a paper size to width x height. ...
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. ... GtkPrinterNo documentation. ... The gtk:printer object represents a 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 the printer details are available. ...
Requests the printer details. ...
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 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. ... 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 that is passed to the gtk:print-job-send
function. ... Sends the print job off to the printer. ... The gtk:print-job-pages function gets the pages setting for the print
job. ... The gtk:print-job-page-ranges function gets the page ranges for the
print job. ... The gtk:print-job-page-set function gets the setting for the print
job. ... The gtk:print-job-num-copies function gets the number of copies of
the print job. ... The gtk:print-job-scale function gets the scale for the print job,
where 1.0 means unscaled. ... The gtk:print-job-n-up function gets the n-up setting for the print
job. ...
Gets or sets the layout setting for the print job. ... The gtk:print-job-rotate function gets whether the job is printed
rotated. ... The gtk:print-job-collate function gets whether the job is printed
collated. ... The gtk:print-job-reverse function gets whether the job is printed
reversed. ... GtkPrintUnixDialog
An enumeration 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 of the print dialog. ... The accessor for the embed-page-setup slot. ... The accessor for the has-selection slot. ... The accessor for the manual-capabilities slot. ... 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. ... 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 the page setup that is used by the print dialog. ... GtkPageSetupUnixDialog The gtk: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. ...
Accessor for the page setup of the page setup dialog. ...
Accesor for the print settings of the page setup dialog. ... Shortcuts OverviewGtkShortcutsWindow The gtk:shortcuts-window widget shows brief information about the
keyboard shortcuts and gestures of an application. ... 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. ... The accessor for the section-name slot. ... GtkShortcutsGroup The gtk:shortcuts-group widget represents a group of related
keyboard shortcuts or gestures. ... The accessor for the accel-size-group slot. ... The accessor for the title-size-group slot. ... 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. ... The accessor for the accelerator slot. ... The accessor for the action-name slot. ... The accessor for the shortcut-type slot. ... The accessor for the subtitle-set slot. ... The accessor for the title-size-group slot. ... 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 lower slot of the gtk:adjustment class gets or sets the minimum value of the
adjustment. ... The accessor for the page-increment slot of the gtk:adjustment class gets or sets the page increment of the
adjustment. ... The accessor for the page-size slot of the gtk:adjustment class gets or sets the page size of the adjustment. ... The accessor for the step-increment slot of the gtk:adjustment class gets or sets the step increment of the
adjustment. ... The accessor for the upper slot of the gtk:adjustment class gets or sets the maximum value of the
adjustment. ... The accessor for the value slot of the gtk:adjustment class gets or sets the value 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. ... Emits a "value-changed" signal from the adjustment. ...
Sets all properties of the adjustment at once. ... Gets the smaller of step increment and page increment. ... GtkSeparator The gtk:separator widget is a horizontal or vertical separator widget, depending on the value of the orientation property of the gtk:orientable interface, used to group the widgets
within a window. ... Creates a new separator widget with the given orientation. ... GtkCalendar
These options can be used to influence the display and behaviour of a gtk:calendar widget. ... The gtk:calendar widget displays a Gregorian calendar, one month at
a time. ...
Creates a new calendar, with the current date being selected. ...
Shifts the calendar to a different month. ...
Selects a day from the current month. ...
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. ...
Accessor of the display options of the calendar. ...
Obtains the selected date from the calendar. ...
This kind of functions provide Pango markup with detail information for the
specified day. ...
Installs a function which provides Pango markup with detail information for
each day. ... GtkDrawingArea The gtk:drawing-area widget is used for creating custom user
interface elements. ... Creates a new drawing area. ... GtkEventBox The accessor for the above-child slot gets or sets
whether the event box window is above or below the windows of its child. ... The accessor for the visible-window slot gets or sets
whether the event box has a visible window. ...
Creates a new event box. ... GtkIMContexSimple The gtk:im-context-simple object is a simple input method context
supporting table-based input methods. ... GtkIMMulticontex 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. ... GtkSizeGroup
The mode of the size group determines the directions in which the size
group 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. This is
typically useful when you want a column of widgets to have the same size, but you cannot use a gtk:grid widget. ... The accessor for the ignore-hidden slot gets or sets
whether unmapped widgets should be ignored when calculating the size. ... Create a new size group. ... Adds a widget to a gtk:size-group object. ...
Removes a widget from a size group. ...
Returns the list of widgets associated with the size group. ... GtkTooltip
Add tips to your widgets. ... Sets the text of the tooltip to be markup, which is marked up
with the Pango text markup language. ... Sets the text of the tooltip to be text. ...
Sets the icon of the tooltip, which is in front of the text, to be pixbuf. ...
Sets the icon of the tooltip, which is in front of the text, to be the stock item indicated by stockid with the size indicated by size. ...
Sets the icon of the tooltip, which is in front of the text, to be the icon indicated by name with the size indicated by size. ...
Sets the icon of the tooltip, which is in front of the text, to be the icon indicated by gicon with the size indicated by size. ...
Replaces the widget packed into the tooltip with a custom widget. ... Triggers a new tooltip query on display, in order to update the
current visible tooltip, or to show/hide the current tooltip. ...
Sets the area of the widget, where the contents of the tooltip apply, to be rectangle in widget coordinates. ... GtkViewport The gtk:viewport widget acts as an adaptor class, implementing
scrollability for child widgets that lack their own scrolling capabilities. ...
Creates a new viewport with the given adjustments. ... Gets the bin window of the viewport. ... Gets the view window of the viewport. ... GtkAccessible
not implemented InterfacesGtkActionable
This 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 of the gtk:actionable inferface gets or sets gets the name of the action
with which this widget should be associated. ... The accessor for the action-target slot of the gtk:actionable inferface gets or sets the target value of an
actionable widget. ...
Sets the action name and associated string target value of an actionable
widget. ... Abstract Base ClassesGtkWidget
Specifies a preference for height-for-width or width-for-height geometry
management. ...
Controls how a widget deals with extra space in a single x or y dimension. ... The gtk:requisition structure represents the desired size of a
widget. ... Allocates a new gtk:requisition instance. ... Copies a gtk:requisition instance. ... The gtk:widget class is the base class all widgets in GTK derive
from. It manages the widget life cycle, states and style. ... The gtk:widget-scale-factor function retrieves the internal scale
factor that maps from window coordinates to the actual device pixels. ...
This is a function for creating a widget and setting its properties in one
go. ...
Destroys a widget. ...
Returns whether the widget is currently being destroyed. ... Should be called by implementations of the remove method on a gtk:container implementation, to dissociate a child from the
container. ...
Flags a widget to be displayed. ...
Shows a widget. ... Reverses the effects of the gtk:widget-show function, causing the
widget to be hidden, so it is invisible to the user. ...
Recursively shows a widget, and any child widgets if the widget is a
container. ...
Causes a widget to be mapped if it is not already. ...
Causes a widget to be unmapped if it is currently mapped. ...
Creates the GDK resources associated with a widget. ...
Causes a widget to be unrealized. ...
Draws the widget to a Cairo Context. ... Equivalent to calling the gtk:widget-queue-draw-area function for the
entire area of a widget. ...
Flags a widget to have its size renegotiated. ... This function works like the gtk:widget-queue-resize function, except
that the widget is not invalidated. ... Flags the widget for a rerun of the size_allocate function. ...
Obtains the frame clock for a widget. ...
Callback type 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. ... This function is only used by gtk:container subclasses, to assign a
size and position to their child widgets. ... This function is only used by gtk:container subclasses, to assign a
size, position and (optionally) baseline to their child widgets. ...
Installs an accelerator for this widget in the accelerator group that
causes the signal to be emitted if the accelerator is activated. ...
Removes an accelerator from the widget, previously installed with the gtk:widget-add-accelerator function. ...
Given an accelerator group and an accelerator path sets up an accelerator
in the accelerator group so whenever the key binding that is defined for
path is pressed, the widget will be activated. ...
Determines whether an accelerator that activates the signal identified by signal can currently be activated. ...
Rarely used function. This function is used to emit the event signals on a
widget, those signals should never be emitted without using this function
to do so. ...
For widgets that can be "activated", buttons, menu items, and so on, this
function activates them. ... Computes the intersection of a widgets area and area, and
returns the intersection as a rectangle if there was an intersection. ... Causes the widget to have the keyboard focus for the gtk:window
widget it is inside. ...
Causes the widget to become the default widget. ...
Accessor of the parent window of the widget. ... Adds the events in the events bitfield to the event mask for the
widget. ...
Accessor of the events mask for the widget corresponding to a specific
device. ... Adds the device events in the events bitfield to the event mask for
the widget. ... The gtk:widget-device-enabled function returns whether the device can
interact with the widget and its children. ...
This function returns the topmost widget in the container hierarchy
the widget is a part of. ... Gets the first ancestor of the widget with type gtype. ... The gtk:widget-visual function gets the visual that will be used to
render the widget. ... 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. ...
Accessor of the text direction of the widget. ... The gtk:widget-default-direction function obtains the current default
reading direction. ...
Sets a shape for the GDK window of this widget. ...
Sets an input shape for the GDK window of the widget. ...
Accessor of the composite name of the widget. ...
Sets the background color to use for a widget. ...
Sets the color to use for a widget. ...
Sets the font to use for a widget. ...
Sets a symbolic color for a widget. ...
Sets the cursor color to use in a widget, overriding the "cursor-color"
and "secondary-cursor-color" style properties. ...
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. ... Convenience function that calls the gtk:widget-queue-draw-region
functionon the region created from the given coordinates. ... Invalidates the rectangular area of widget defined by region by calling the gdk:window-invalidate-region function on the window of the
widget and all its child windows. ...
Sets whether the entire widget is queued for drawing when its size
allocation changes. ... Emits the "mnemonic-activate" signal. ...
Installs a style property on a widget class. ... Finds a style property of a widget class by property name. ...
Returns all style properties of a widget class. ... Computes the intersection of the area of the widget and region,
returning the intersection. ...
Gets the value of a style property of the widget. ...
Returns the accessible object that describes the widget to an assistive
technology. ...
This function is used by custom widget implementations. ... Stops emission of "child-notify" signals on the widget. ... The gtk:widget-child-visible function returns true if the widget
is mapped with the parent. ...
Gets the settings object holding the settings used for this widget. ...
Returns the clipboard object for the given selection to be used with the
widget. ...
Get the display for the toplevel window associated with the widget. ...
Get the root window where the widget is located. ...
Get the screen from the toplevel window associated with the widget. ...
Checks whether there is a screen associated with the widget. ...
Accessor of the size request of the widget. ...
Reverts the effect of a previous call to the gtk:widget-freeze-child-notify function. ...
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. ...
Whether the widget can rely on having its alpha channel drawn correctly. ...
Notifies the user about an input-related error on this widget. ...
This function should be called whenever keyboard navigation within a single
widget hits a boundary. ...
Accessor of the custom window of the current tooltip. ... Triggers a tooltip query on the display where the toplevel of widget
is located. ...
Registers a GDK window with the widget and sets it up so that the widget
recieves events for it. ...
Unregisters a GDK window from the widget that was previously set up with the gtk:widget-register-window function. ...
This function is supposed to be called in "draw" implementations for
widgets that support multiple windows. ...
Transforms the given Cairo context from widget-relative coordinates to
window-relative coordinates. ... Returns the width that has currently been allocated to widget. ... Returns the height that has currently been allocated to widget. ...
Accessor of the allocation of the widget. ...
Returns the baseline that has currently been allocated to the widget. ... The gtk:widget-clip function retrieves the clip area of the widget. ... Accessor of the has window value of the gtk:widget object. ...
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. ...
Accessor of the stage flags of the widget. ...
This function is for use in widget implementations. ...
Determines if the widget should show a visible indication that it has the
global input focus. ...
Determines whether the widget is currently grabbing events, so it is the
only widget receiving input events, keyboard and mouse. ...
Determines whether the widget can be drawn to. ...
Determines whether the widget is a toplevel widget. ... The gtk:widget-realized function determines whether the widget is
realized. ... The gtk:widget-mapped function determines whether the widget is
mapped. ... Returns true if the device has been shadowed by a GTK device grab on
another widget, so it would stop sending events to widget. ...
Returns the modifier mask the windowing system backend of the widget uses
for a particular purpose. ...
Retrieves a list of strings containing the prefixes of the g:action-group instances available to the widget . ... Retrieves the action group that was registered using prefix. ...
Returns the widget path representing the widget. ... Returns the style context associated to the widget. ...
Updates the style context of the widget and all descendents by updating its
widget path. ...
Accessor of the CSS name of the widget class. ...
Retrieves an initial minimum and natural height of the widget. ...
Retrieves an initial minimum and natural width of the widget. ...
Retrieves a minimum and natural height of the widget if it would be given the specified width. ...
Retrieves a minimum and natural width of the widget if it would be given the specified height. ...
Retrieves the minimum and natural height of the widget and the corresponding
baselines if it would be given the specified width, or the default height
if width is -1. ...
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. ...
Mark the widget as needing to recompute its expand flags. ...
Computes whether a container should give this widget extra space when
possible. ...
Creates and initializes child widgets defined in templates. ...
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. ... Fetch an object build from the template XML for gtype in this widget
instance. ... GtkContainer
An enumeration representing the values of the resize-mode property. ...
Base class for widgets which contain other widgets. ...
Adds a child widget to the container. ...
Removes a child widget from the container. ... Adds widget to the container, setting child properties at the same
time. ... Emits the "check-resize" signal on the container. ...
The type of the callback functions used, for example, for iterating over the children of a container, see the gtk:container-foreach function. ...
Invokes a function on each non-internal child of the container. ...
Invokes a function on each child of the container, including children that
are considered "internal", implementation details of the container. ...
Returns a list with the non-internal children of the container. ...
Returns a newly created widget path representing all the widget hierarchy
from the toplevel down to and including child. ...
Accessor of the current focused child widget in the container. ...
Accessor of the vertical focus adjustment of the container. ...
Accessor of the horizontal focus adjustment of the container. ...
Returns the type of the children supported by the container. ...
Gets the values of one or more child properties for a child widget of the
container. ...
Sets one or more child properties for a child widget of the container. ...
Gets or sets the value of a child property for the child widget of the
container. ...
Accessor of the focus chain widgets of the container. ...
Removes a focus chain explicitly set with the gtk:container-focus-chain function. ...
Finds a child property of a container type by name. ... Returns the child properties for a container type. ... GtkBinGtkRange
Determines how GTK handles the sensitivity of stepper arrows at the end of
range widgets. ... The gtk:range class is the common base class for widgets which visualize an adjustment, for example the gtk:scale or gtk:scrollbar widgets. ...
Accessor of the value of the range. ...
Sets the step and page sizes for the range. ...
Accessor of the flippable property of the range. ...
Accessor of the minimum size of the slider of the range. ...
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. ...
Whether the slider of the range has a fixed size. ... GtkIMContext The gtk:im-context object defines the interface for GTK input
methods. ...
Allow an input method to internally handle key press and release events. ... GtkNativeDialogCross-process EmbeddingGtkPlug Together with the gtk:socket widget, the gtk:plug widget
provides the ability to embed widgets from one process into another process
in a fashion that is transparent to the user. ... The accessor for the socket-window slot. ... Gets the window ID of a gtk:plug widget, which can then be used to
embed this window inside another window, for instance with the gtk:socket-add-id function. ... GtkSocket Together with the gtk:plug widget, the gtk:socket widget
provides the ability to embed widgets from one process into another process
in a fashion that is transparent to the user. ... Create a new empty socket widget. ... Gets the window ID of a gtk:socket widget, which can then be used
to create a client embedded inside the socket, for instance with the gtk:plug-new function. ...
Retrieves the window of the plug. ... Recently Used DocumentsGtkRecentInfo The gtk:recent-info structure constains 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 of size size associated to the resource MIME type. ...
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 resource's URI. ...
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 have 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 returns the
full path to the file to be used to store and read the recently used
resources list. ...
Creates a new recent manager object. ...
Gets a unique instance of the default recent manager. ... 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
structure 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. ...
Gets the list of recently used resources. ...
Purges every item from the recently used resources list. ... GtkRecentChooser
These identify the various errors that can occur while calling gtk:recent-chooser functions. ...
Used to specify the sorting method to be applyed to the recently used
resource list. ... The gtk:recent-chooser interface is an interface that can be
implemented by widgets displaying the list of recently used files. ... The callback function to set with the gtk:recent-chooser-set-sort-func
function. ... Sets the comparison function used when sorting to be func. ... Selects all the items inside chooser, if the chooser supports
multiple selection. ... Unselects all the items inside chooser. ... Gets the list of recently used resources in form of gtk:recent-info
instances. ...
Gets the URIs of the recently used resources. ... Gets the gtk:recent-filter objects held by chooser. ... GtkRecentChooserDialog The gtk:recent-chooser-dialog widget is a dialog box suitable for
displaying the recently used documents. ... Creates a new gtk:recent-chooser-dialog widget. ... Creates a new gtk:recent-chooser-dialog widget with a specified
recent manager. ... GtkRecentChooserMenu The gtk:recent-chooser-menu widget is a widget suitable for
displaying recently used files inside a menu. ... Creates a new gtk:recent-chooser-menu widget. ... Creates a new gtk:recent-chooser-menu widget using manager as
the underlying recently used resources manager. ... GtkRecentChooserWidget The gtk:recent-chooser-widget widget is a widget suitable for
selecting recently used files. ... Creates a new gtk:recent-chooser-widget widget. ... Creates a new gtk:recent-chooser-widget widget with a specified
recent manager. ... GtkRecentFilter The gtk:recent-filter-info structure is used to pass information about the tested file to the gtk:recent-filter-filter function. ... These flags indicate what parts of a gtk:recent-filter-info structure
are filled or need to be filled. ... The gtk:recent-filter object can be used to restrict the files being shown in a gtk:recent-chooser widget. ... Creates a new gtk:recentFilter object with no rules added to it. ... The gtk:recent-filter-name function gets the human readable name for
the filter. ...
Adds a rule that allows resources based on their registered MIME type. ...
Adds a rule that allows resources based on a pattern matching their display
name. ...
Adds a rule allowing image files in the formats supported by the gdk-pixbuf:pixbuf object. ...
Adds a rule that allows resources based on the name of the application that
has registered them. ...
Adds a rule that allows resources based on the name of the group to which
they belong. ...
Adds a rule that allows resources based on their age - that is, the number
of days elapsed since they were last modified. ...
The type of function that is used with custom filters, see the gtk:recent-filter-add-custom function. ... Adds a rule to a filter that allows resources based on a custom
callback function. ...
Gets the fields that need to be filled in for the structure passed to the gtk:recent-filter-filter function. ...
Tests whether a file should be displayed according to filter. ... Choosing from installed applicationsGtkAppChooser 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. ... 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 for the given content type at top. ... 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. ... GtkAppChooserDialog The gtk:app-chooser-dialog widget shows a gtk:app-chooser-widget widget inside a gtk: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. ... 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 show recommended
applications for the content type in a separate section. ...
Creates a new application chooser widget for applications that can
handle content of the given type. ... Gestures and event handlingGtkEventController
Describes the stage at which events are fed into a gtk:event-controller object. ... The gtk:event-controller object is a base, low-level implementation
for event controllers. ... The accessor for the propagation-phase slot
gets or sets the propagation phase at which controller handles events. ...
Feeds an event into the controller, so it can be interpreted and the
controller actions triggered. ...
Resets the controller to a clean state. ... 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. ... GtkEventControllerScroll Describes the behavior of a gtk:event-controller-scroll object. ... The gtk:event-controller-scroll object is an event controller meant
to handle scroll events from mice and touchpads. ...
Creates a new event controller that will handle scroll events for the given widget. ... GtkEventControllerMotion The gtk:event-controller-motion object is an event controller meant
for situations where you need to track the position of the pointer. ...
Creates a new event controller that will handle motion events for the given widget. ... GtkGesture The gtk:gesture object is the base object for gesture recognition,
although this object is quite generalized to serve as a base for multi-touch
gestures, it is suitable to implement single-touch and pointer-based gestures, using the special nil value for the gdk:event-sequence instance for these. ... Returns the master 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. ... Sets the state of all sequences that 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 x and y with 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 object is a subclass of the gtk:gesture object, optimized (although not restricted) for dealing
with mouse and single-touch gestures. ... Returns the button number currently interacting with gesture, or 0 if
there is none. ... Returns the event sequence currently interacting with gesture. ... GtkGestureDragReturns a newly created gesture that recognizes drags. ...
If the gesture is active, this function returns the drag start coordinates,
in window-relative coordinates. ...
If the gesture is active, this function returns the coordinates of the
current point, as an offset to the starting drag point. ... GtkGestureLongPress The gtk:gesture-long-press object is a gtk:gesture
implementation able to recognize long presses, triggering the "pressed"
after the timeout is exceeded. ...
Returns a newly created gesture that recognizes long presses. ... GtkGestureMultiPress The gtk:gesture-multi-press object is a gtk:gesture
implementation able to recognize multiple clicks on a nearby zone, which can be listened for through the pressed
signal. ...
Returns a newly created gesture that recognizes single and multiple presses. ...
Accessor of the press area of the gesture. ... GtkGesturePan Describes the panning direction of a gtk:gesture-pan object. ... The gtk:gesture-pan object is a gtk:gesture implementation
able to recognize pan gestures, those are drags that are locked to happen
along one axis. ...
Returns a newly created gesture that recognizes pan gestures. ... GtkGestureSwipe The gtk:gesture-swipe object is a gtk:gesture implementation
able to recognize swipes, after a press/move/.../move/release sequence happens, the "swipe" signal will be emitted,
providing the velocity and directionality of the sequence at the time it was
lifted. ...
If the gesture is recognized, this function returns the recorded velocity,
as per the last event(s) processed. ... GtkGestureRotate The gtk:gesture-rotate object is a gtk:gesture
implementation able to recognize 2-finger rotations, whenever the angle
between both handled sequences changes, the "angle-changed" signal is emitted. ...
Returns a newly created gesture that recognizes 2-touch rotation gestures. ...
If the gesture is active, this function returns the angle difference in
radians since the gesture was first recognized. ... GtkGestureZoom The gtk:gesture-zoom object is a gtk:gesture implementation
able to recognize pinch/zoom gestures, whenever the distance between both tracked sequences changes, the "scale-changed" signal
is emitted to report the scale factor. ...
Returns a newly created gesture that recognizes zoom in/out gestures
(usually known as pinch/zoom). ...
If the gesture is active, this function returns the zooming difference since
the gesture was recognized (hence the starting point is considered 1:1). ... GtkGestureStylusGtkPadController
The type of a pad action. ... The gtk:pad-controller object is an event controller for the pads
found in drawing tablets. ...
This is a convenience function to add a group of action entries on the
pad controller. ... Adds an individual action to controller. ... GTK Core ReferenceMain loop and Events
Library initialization, main event loop, and events. Before using GTK, it needs to be initialized. Initialization connects to the window system display, and parses some standard command line arguments. In the C library the gtk_init() macro initializes GTK. In the Lisp binding to GTK, GTK is initialized, when loading the cl-cffi-gtk3 library. Therefore, no functions are exported, which initialize GTK. Like all GUI toolkits, GTK uses an event-driven programming model. When the user 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. In the C library the main loop is executed with the gtk_main() function. In the Lisp binding this function is implemented as the gtk:main function, but in general it is not used. The gtk_main() function is replaced with the gtk:within-main-loop macro, which does all necessary work to run the main loop. See the example for a typical main function in the Lisp binding. 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 termed 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 window. After a callback finishes, GTK will return to the main loop and await more user input. Example: Typical main function in Lisp for a GTK application.
(defun main ()
(gtk:within-main-loop
(let (;; Create the main window.
(window (gtk:window-new :toplevel)))
;; Set up the GUI elements
...
;; Show the application window.
(gtk:widget-show-all window))))
Returns the Pango language instance for the default language currently in
effect. ...
Gets the direction of the current locale. ...
Returns an option group for the command line arguments recognized by GTK
and GDK. ...
Checks if any events are pending. ... Runs the main loop until the gtk:main-quit function is called. ...
Asks for the current nesting level of the main loop. ...
Makes the innermost invocation of the main loop return when it regains
control. ... The gtk:within-main-loop macro is a wrapper around a GTK program. ...
Makes the innermost invocation of the main loop return when it regains
control. ...
Wait until the GTK program terminates. ...
Runs a single iteration of the main loop. ...
Runs a single iteration of the main loop. ...
Processes a single GDK event. ... Makes widget the current grabbed widget. ...
Queries the current grab of the default window group. ... Removes the grab from the given widget. ...
Adds a grab on the device, so all the events on the device and its
associated pointer or keyboard (if any) are delivered to the widget. ...
Removes a device grab from the given widget. ...
Obtains a copy of the event currently being processed by GTK. ...
If there is a current event and it has a timestamp, return that timestamp. ...
If there is a current event and it has a state field, return that state field, otherwise return nil. ...
If there is a current event and it has a device, return that device, otherwise return nil. ... If event is nil or event was not associated with any widget, returns nil, otherwise returns the widget that received event originally. ...
Sends an event to a widget, propagating the event to parent widgets if the
event remains unhandled. ... Version 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.
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. ...
Provides informations about the installation and the versions of the
loaded libraries. ... Accelerator Groups
Accelerator flags. ... The gtk:accel-group object represents a group of keyboard accelerators, typically attached to a toplevel gtk:window widget with the gtk:window-add-accel-group function. ... The accessor for the is-locked slot of the gtk:accel-group classreturns true if there are one or more locks on the accelerator group, false otherwise. ... The accessor for the modifier-mask slot of the gtk:accel-group class returns the modifier mask for this accelerator
group. ... Creates a new accelerator group. ...
Locks the given accelerator group. ... 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. ... The gtk:accelerator-default-mod-mask function gets the default
accelerator modifier mask. ... Accelerator Maps
Accelerator maps are used to define runtime configurable accelerators. ...
Registers a new accelerator with the global accelerator map. ... Looks up the accelerator entry for path. ... Parses a file previously saved with the gtk:accel-map-save function
for accelerator specifications, and propagates them accordingly. ...
Saves current accelerator specifications, accelerator path, key and modifiers, to path. ... Gets the singleton global gtk:accel-map object. ...
Locks the given accelerator path. ... GtkClipboard The gtk:clipboard object represents a clipboard of data shared
between different processes or between different widgets in the same
process. ...
Returns the clipboard for the given selection. ...
Returns the clipboard for the given selection. ...
Gets the display associated with the clipboard. ...
Returns the default clipboard for use with Cut/Copy/Paste menu items and
keyboard shortcuts. ...
A callback function that will be called to provide the contents of the
selection. ...
Virtually sets the contents of the specified clipboard by providing a list
of supported formats for the clipboard data and a function to call to get
the actual data when it is requested. ...
Clears the contents of the clipboard. ...
Sets the contents of the clipboard to the given UTF-8 string. ...
Sets the contents of the clipboard to the given pixbuf. ...
A callback function to be called when the results of the gtk:clipboard-request-contents function are received, or when the
request fails. ...
Requests the contents of the clipboard as the given target. ...
A callback function to be called when the results of the gtk:clipboard-request-text function are received, or when the request
fails. ...
Requests the contents of the clipboard as text. ...
A callback function to be called when the results of the gtk:clipboard-request-image function are received, or when the
request fails. ...
Requests the contents of the clipboard as image. ...
A callback function to be called when the results of the gtk:clipboard-request-targets function are received, or when the
request fails. ...
Requests the contents of the clipboard as a list of supported targets. ...
A callback function to be called when the results of the gtk:clipboard-request-rich-text function are received, or when the
request fails. ...
Requests the contents of the clipboard as rich text. ...
A callback function to be called when the results of the gtk:clipboard-request-uris function are received, or when the request
fails. ...
Requests the contents of the clipboard as URIs. ...
Requests the contents of the clipboard using the given target. ...
Requests the contents of the clipboard as text and converts the result to
UTF-8 if necessary. ...
Requests the contents of the clipboard as image and converts the result to a gdk-pixbuf:pixbuf object. ...
Requests the contents of the clipboard as rich text. ...
Requests the contents of the clipboard as URIs. ...
Test to see if there is text available to be pasted. ...
Test to see if there is an image available to be pasted. ...
Test to see if there is rich text available to be pasted. ...
Test to see if there is a list of URIs available to be pasted. ... Returns a list of targets that are present on the clipboard, or nil
if there are not any targets available. ...
Checks if a clipboard supports pasting data of a given type. ...
Hints that the clipboard data should be stored somewhere when the application exits or when the gtk:clipboard-store function is called. ...
Stores the current clipboard data somewhere so that it will stay around
after the application has quit. ...
Gets the selection that this clipboard is for. ... Drag and drop handling
GTK has a rich set of functions for doing inter-process communication via
the drag and drop metaphor. GTK can do drag and drop (DND) via multiple
protocols. The currently supported protocols are the Xdnd and Motif
protocols. As well as the functions listed here, applications may need to use some facilities provided for Selections. Also, the drag and drop API makes use of signals in the gtk:widget class. The gtk:dest-defaults flags specifies the various types of action
that will be taken on behalf of the user for a drag destination site. ... The gtk:target-flags flags is used to specify constraints on a
target entry. ...
Gives an indication why a drag operation failed. ...
Sets a widget as a potential drop destination, and adds default behaviors. ...
Sets the widget as a proxy for drops to another window. ...
Clears information about a drop destination set with the gtk:drag-dest-set function. ...
Looks for a match between the supported targets of the drag context and the
target list, returning the first matching target, otherwise returning the :none value. ... The gtk:drag-dest-target-list function returns the list of targets
this widget can accept from drag and drop. ...
Add the text targets supported by the selection to the target list of the
drag destination. ...
Add the image targets supported by the selection to the target list of the
drag destination. ...
Add the URI targets supported by the selection to the target list of the
drag destination. ... The gtk:drag-dest-track-motion function returns whether the widget has been configured to always emit "drag-motion" signals. ...
Informs the drag source that the drop is finished, and that the data of the
drag will no longer be required. ...
Gets the data associated with a drag. ...
Determines the source widget for a drag. ...
Draws a highlight around a widget. ... Removes a highlight set by the gtk:drag-highlight function from a
widget. ...
Initiates a drag on the source side. ...
Initiates a drag on the source side. ...
Cancels an ongoing drag operation on the source side. ...
Changes the icon for a widget to a given widget. ...
Sets the pixbuf as the icon for a given drag. ...
Sets the icon for a given drag from a stock ID. ...
Sets the Cairo surface as the icon for a given drag. ...
Sets the icon for a given drag from a named themed icon. ...
Sets the icon for a given drag from the given icon. ...
Sets the icon for a particular drag to the default icon. ... 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. ...
Sets up a widget so that GTK will start a drag operation when the user
clicks and drags on the widget. ...
Sets the icon that will be used for drags from a particular widget from a
pixbuf. ...
Sets the icon that will be used for drags from a particular source to a
stock icon. ...
Sets the icon that will be used for drags from a particular source to a
themed icon. ...
Sets the icon that will be used for drags from a particular source to icon. ... Undoes the effects of the gtk:drag-source-set function. ... The gtk:drag-source-target-list function gets the list of targets
this widget can provide for drag and drop. ...
Add the text targets supported by the selection to the target list of the
drag source. ...
Add the writable image targets supported by the selection to the target
list of the drag source. ...
Add the URI targets supported by the selection to the target list of the
drag source. ... GtkSettingsStyle for input method preedit. ... Style for input method status. ... The gtk:settings object provide a mechanism to share global settings
between applications. ... Gets the gtk:settings object for the default GDK screen, creating
it if necessary. ... Bindings
not implemented Standard Enumerations
Whenever a container has some form of natural row it may align children in
that row along a common typographical baseline. ...
The values of this enumeration are passed as an argument to the "delete-from-cursor" signal handler of the gtk:entry or gtk:text-view widgets. ... Focus movement types. ...
The values of this enumeration are passed as an argument to the "move-cursor" signal handler. ...
Represents the orientation of widgets which implements the gtk:orientable interface and can be switched between horizontal and
vertical orientation on the fly. ...
Describes which edge of a widget a certain feature is positioned at, for example, the tabs of a gtk:notebook widget or the label of a gtk:scale widget. ... Indicated the relief to be drawn around a gtk:button widget. ...
The scrolling types of this enumeration are a parameter for signal handlers in various widgets such as gtk:spin-button, gtk:scrolled-window, or gtk:combo-box widgets. ... Used to control what selections users are allowed to make. ... Describes a widget state. ... Used to customize the appearance of a gtk:toolbar widget. ... Determines the direction of a sort. ...
The text direction controls the primary direction for widgets containing
text, and also the direction in which the children of a container are
packed. ... Used to specify the style of the expanders drawn by a gtk:tree-view
widget. ...
This type indicates the current state of a widget. ... Selections
The selection mechanism provides the basis for different types of
communication between processes. In particular, drag and drop and the gtk:clipboard implementation work via selections. You will very
seldom or never need to use most of the functions in this section directly. The gtk:clipboard implementation provides a nicer
interface to the same functionality. Some of the datatypes defined in this section are used in the gtk_clipboard implementation and Drag and Drop APIs as well. The gtk:target-list structure represent lists of data types that are supported when sending or receiving data. The gtk:selection-data structure is used to store a chunk of data along with the data type and other associated information. The gtk:target-list structure is used to represent a list of target
entries. ... Creates a new gtk:target-list instance from a list of target
entries. ...
Appends another target entry to a target list. ...
Prepends a list of target entries to a target list. ...
Appends the text targets supported by a selection to the target list. ...
Appends the image targets supported by a selection to the target list. ...
Appends the URI targets supported by a selection to the target list. ...
Appends the rich text targets registered with the gtk:text-buffer-register-serialize-format or gtk:text-buffer-register-deserialize-format functions to the target
list. ...
Removes a target from a target list. ...
Looks up a given target in a target list. ...
This function creates a list of target entries that contains the same targets as the passed tlist argument. ...
Claims ownership of a given selection for a particular widget, or, if the widget argument is nil, release ownership of the selection. ...
Claim ownership of a given selection for a particular widget, or, if the widget argument is nil, release ownership of the selection. ...
Appends a specified target to the list of supported targets for a given
widget and selection. ...
Prepends a table of targets to the list of supported targets for a given
widget and selection. ...
Remove all targets registered for the given selection for the widget. ...
Requests the contents of a selection. ... The gtk:selection-data structure is used to store a chunk of data
along with the data type and other associated information. ... Copies a gtk:selection-data instance. ... Stores new data into a gtk:selection-data instance. ... The gtk:selection-data-text function gets the contents of the
selection data as a UTF-8 string. ... The gtk:selection-data-pixbuf function gets the contents of the selection data as a gdk-pixbuf:pixbuf object. ... The gtk:selection-data-uris function gets the contents of the
selection data as a list of URIs. ...
Gets the contents of the selection as a list of targets. ... Given a gtk:selection-data instance holding a list of targets,
determines if any of the targets can be used to provide a gdk-pixbuf:pixbuf object. ... Given a gtk:selection-data instance holding a list of targets,
determines if any of the targets can be used to provide text. ... Given a gtk:selection-data instance holding a list of targets,
determines if any of the targets can be used to provide a list
or URIs. ... Given a gtk:selection-data instance holding a list of targets,
determines if any of the targets can be used to provide rich text. ...
Retrieves the selection of the selection data. ...
Retrieves the raw data of the selection. ...
The length of the data of the selection. ...
Retrieves the raw data of the selection along with its length. ...
Retrieves the data type of the selection. ...
The display of the selection. ...
Retrieves the format of the selection. ...
The target of the selection. ... Determines if any of the targets in the targets argument can be used to provide a gdk-pixbuf:pixbuf object. ... Determines if any of the targets in the targets argument can be used
to provide text. ... Determines if any of the targets in the targets argument can be used
to provide an URI list. ... Determines if any of the targets in the targets argument can be used
to provide rich text. ...
Removes all handlers and unsets ownership of all selections for a widget. ... Filesystem utilities
This is a convenience function for launching the default application to
show the URI. ... Theming in GTKGtkStyleContext
Describes how a rendered element connects to adjacent elements. ...
Describes a region within a widget. ... Flags that modify the behavior of the gtk:style-context-to-string
function. ...
Describes how the border of a UI element should be rendered. ... The gtk:style-context object stores styling information affecting a widget defined by a gtk:widget-path instance. ...
Creates a standalone style context object. ...
Adds a style provider to the style context, to be used in style
construction. ...
Adds a global style provider to the screen, which will be used in style
construction for all style contexts under the screen. ...
Accessor of the junction sides of a style context. ...
Accessor of the widget path of the style context. ...
Gets a style property from the style context for the given state. ... Accessor of the gdk:frame-clock object of the style context. ...
Accessor of the state used when rendering. ...
Gets the value for a widget style property. ... Queries the location in the CSS where property was defined for the
current style context. ...
Gets the foreground color for a given state. ...
Gets the background color for a given state. ...
Gets the border 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. ...
Returns the Pango font description for a given state. ...
Invalidates style context information, so it will be reconstructed again. ...
Looks up and resolves a color name in the style context color map. ...
Looks up a stock icon in the icon factories associated to the style
context and the default icon factory, returning an icon set if found, otherwise nil. ...
Removes the style provider from the style providers list in the style
context. ...
Removes the style provider from the global style providers list in the
screen. ...
This function recomputes the styles for all widgets under a particular
screen. ...
Sets the background of the GDK window to the background pattern or color
specified in the style context for its current state. ...
Restores the style context state to a previous stage. ...
Saves the style context state. ...
Adds a style class to the context, so posterior calls to the gtk:style-context-property function or any of the gtk:render-*
functions will make use of this new class for styling. ...
Removes a class name from the style context. ... Returns true if the style context currently has defined the given
class name. ...
Returns the list of classes currently defined in the style context. ...
Adds a region to the style context, so posterior calls to the gtk:style-context-property function or any of the gtk:render-*
functions will make use of this new region for styling. ...
Removes a region from the style context. ...
Returns the region flags if the style context has the region defined. ...
Returns the list of regions currently defined in the style context. ...
Accessor of the scale used for image assets for 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. ... Allocates a new gtk:border instance and initializes its elements. ... Copies a gtk:border instance. ...
Renders an arrow pointing to an angle. ... Renders the background of an element. ...
Returns the area that will be affected, that is, drawn to, when calling the gtk:render-background function for the given context and rectangle. ... 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 extension as in a gtk:notebook widget tab in the rectangle 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:radio-button widget. ... Renders an activity area such as in the gtk:spinner widget or the fill line in the gtk:range widget. ...
Draws a text caret on the Cairo context at the specified index of the
Pango layout. ... GtkCssProvider
Returns the provider containing the style settings used as a fallback for
all widgets. ...
Loads a theme from the usual theme paths, for example, "dark", or nil for the default theme. ...
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. ... Returns a newly created CSS provider object. ...
Convertes the provider into a string representation in CSS format. ...
The different types of sections indicate parts of a CSS document as parsed
by the CSS parser of GTK. ...
Defines a part of a CSS document. ...
Returns the line in the CSS document where this section end. ...
Returns the offset in bytes from the start of the current line returned via the gtk:css-section-end-line function. ...
Gets the file that the section was parsed from. ...
Gets the parent section for the given section. ...
Gets the type of information that the section describes. ...
Returns the line in the CSS document where this section starts. ...
Returns the offset in bytes from the start of the current line returned via the gtk:css-section-start-line function. ... GtkStyleProvider
The priority used for 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 via a 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 ~/.gtk-3.0.css
file. ... The gtk:style-provider interface is an interface used to provide style information to a gtk:style-context object. ...
Looks up the value of a widget style property as defined by the provider for the widget represented by path. ... GtkWidgetPath The gtk:widget-path structure is a boxed type that represents a
widget hierarchy from the topmost widget, typically a toplevel, to any
child. ... Appends a widget type to the widget hierarchy represented by path. ...
Appends a widget type with all its siblings to the widget hierarchy represented by path. ... Returns a copy of a widget path. ...
Returns the topmost object type. ... Returns true if any of the parents of the widget represented in path is of gtype type, or any subtype of it. ... Returns true if the widget type represented by this path is gtype, or a subtype of it. ...
Accessor of the widget name. ...
Accessor of the object name. ...
Accessor of the object type. ... Returns the list of siblings for the element at pos. ... Returns the index into the list of siblings for the element at pos as returned by the gtk:widget-path-iter-siblings function. ...
Accessor of the state flags. ... Returns true if the widget at position pos has the class name defined, false otherwise. ...
Returns the region flags corresponding to the widget found at the position pos in the widget hierarchy defined by path. ...
Returns a list of strings with all the class names defined for the widget at position pos in the hierarchy defined in path. ...
Returns a list with all the region names defined for the widget at position pos in the hierarchy defined in path. ...
Returns the number of widget types between the represented widget and its
topmost container. ... Returns an empty widget path. ... Prepends a widget type to the widget hierachy represented by path. ...
Dumps the widget path into a string representation. ... 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. ...
Creates a new icon theme. ...
Gets the icon theme for the default screen. ...
Gets the icon theme associated with the screen. ...
Sets the screen for an icon theme. ... The gtk:icon-theme-search-path function gets the current list of
strings with the search path that are searched for icon themes. ...
Appends a directory to the search path. ...
Prepends a directory to the search path. ...
Adds a resource path that will be looked at when looking for icons, similar
to search paths. ...
Sets the name of the icon theme that the icon theme uses overriding system
configuration. ...
Checks whether an icon theme includes an icon for a particular name. ... Looks up a named icon and returns a gtk:icon-info instance
containing information such as the filename of the icon. ...
Looks up a named icon for a particular window scale and returns a gtk:icon-info instance containing information such as the filename
of the icon. ... Looks up a named icon and returns a gtk:icon-info instance containing
information such as the filename of the icon. ...
Looks up a named icon for a particular window scale and returns a gtk:icon-info instance containing information such as the filename
of the icon. ... Looks up an icon and returns a gtk:icon-info instance containing
information such as the filename of the icon. ... Looks up an icon and returns a gtk:icon-info instance containing
information such as the filename of the icon. ...
Looks up an icon in an icon theme, scales it to the given size and renders
it into a pixbuf. ...
Looks up an icon in an icon theme for a particular window scale, scales it
to the given size and renders it into a pixbuf. ...
Looks up an icon in an icon theme for a particular window scale, scales it
to the given size and renders it into a Cairo surface. ...
Gets the list of contexts available within the current hierarchy of icon
themes. ...
Lists the icons in the current icon theme. ...
Returns an array of integers describing the sizes at which the icon is
available without scaling. ...
Gets the name of an icon that is representative of the current icon theme,
for instance, to use when presenting a list of icon themes to the user. ...
Checks to see if the icon theme has changed. ...
Registers a built-in icon for icon theme lookups. ... GtkIconInfo
Contains information found when looking up an icon in an icon theme. ...
Gets the base size for the icon. ...
Gets the base scale for the icon. ...
Gets the filename for the icon. ...
Gets the built-in image for this icon, if any. ...
Renders an icon previously looked up in an icon theme using the gtk:icon-theme-lookup-icon function. ...
Renders an icon previously looked up in an icon theme using the gtk:icon-theme-lookup-icon function. ...
Loads an icon, modifying it to match the system colours for the foreground,
success, warning and error colors provided. ...
Loads an icon, modifying it to match the system colors for the foreground,
success, warning and error colors provided. ...
Checks if the icon is symbolic or not. ... DeprecatedDeprecated since GTK 3.0Resource Files
Deprecated routines for handling resource files. In GTK 3.0, resource files have been deprecated and replaced by CSS-like style sheets, which are understood by the gtk:css-provider object. In the Lisp binding the implementation was never very complete. The few symbols are not exported. GtkStyle
Deprecated object that holds style information for widgets. In GTK 3.0, the GtkStyle object has been deprecated and replaced by the gtk:style-context object. In the Lisp binding the implementation was never very complete. The few symbols are not exported. Deprecated since GTK 3.2GtkHBox
A deprecated horizontal container box. The GtkHBox widget has been deprecated since GTK 3.2. You can use the gtk:box widget with the value :horizontal for the orientation property instead, which is a very quick and easy change. If you have derived your own classes from the GtkHBox class, you can simply change the inheritance to derive directly from the gtk:box class. No further changes are needed, since the default value of the orientation property is :horizontal. If you want your code to be future-proof, the recommendation is to switch to the gtk:grid widget, since the gtk:box widget is going to be deprecated in favor of the more flexible grid widget eventually. In the Lisp binding the symbols and functions for the GtkHBox widget are not exported. GtkVBox
A deprecated vertical container box. The GtkVBox widget has been deprecated since GTK 3.2. You can use the gtk:box widget instead, which is a very quick and easy change. If you have derived your own classes from the GtkVBox class, you can simply change the inheritance to derive directly from the gtk:box class, and set the orientation property to :vertical in your instance init function. If you want your code to be future-proof, the recommendation is to switch to the gtk:grid widget, since the gtk:box widget is going to be deprecated in favor of the more flexible grid widget eventually. In the Lisp binding the symbols and functions for the GtkVBox widget are not exported. GtkHButtonBox
A deprecated container for arranging buttons horizontally. The GtkHButtonBox widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:button-box widget with the value :horizontal for the orientation property instead. In the Lisp binding the symbols and functions for the GtkHButtonBox widget are not exported. GtkVButtonBox
A deprecated container for arranging buttons vertically. The GtkVButtonBox widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:button-box widget with the value :vertical for the orientation property instead. In the Lisp binding the symbols and functions for the GtkVButtonBox widget are not exported. GtkHPaned
A deprecated container with two panes arranged horizontally. The GtkHPaned widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:paned widget with the value :horizontal for the orientation property instead. In the Lisp binding the symbols and functions for the GtkHPaned widget are not exported. GtkVPaned
A deprecated container with two panes arranged vertically. The GtkVPaned widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:paned widget with the value :vertical for the orientation property instead. In the Lisp binding the symbols and functions for the GtkVPaned widget are not exported. GtkHScale
A deprecated horizontal slider widget for selecting a value from a range. The GtkHScale widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:scale widget with the value :horizontal for the orientation property instead. In the Lisp binding the symbols and functions for the GtkHScale widget are not exported. GtkVScale
A deprecated vertical slider widget for selecting a value from a range. The GtkVScale widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:scale widget with the value :vertical for the orientation property instead. In the Lisp binding the symbols and functions for the GtkVScale widget are not exported. GtkHSeparator
A deprecated horizontal separator widget. The GtkHSeparator widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:separator widget with the value :horizontal for the orientation property instead. In the Lisp binding the symbols and functions for the GtkHSeparator widget are not exported. GtkVSeparator
A deprecated vertical separator widget. The GtkVSeparator widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:separator widget with the value :vertical for the orientation property instead. In the Lisp binding the symbols and functions for the GtkVSeparator widget are not exported. GtkHScrollbar
A deprecated horizontal scrollbar. The GtkHScrollbar widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:scrollbar widget with the value :horizontal for the orientation property instead. In the Lisp binding the symbols and functions for the GtkHScrollbar widget are not exported. GtkVScrollbar
A deprecated vertical scrollbar. The GtkVScrollbar widget has been deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:scrollbar widget with the value :vertical for the orientation property instead. In the Lisp binding the symbols and functions for the GtkVScrollbar widget are not exported. GtkFontSelection
Deprecated widget for selecting fonts. The GtkFontSelection widget is deprecated since GTK 3.2 and should not be used in newly written code. Use the widgets that implement the gtk:font-chooser interface instead. In the Lisp binding the symbols and functions for the GtkFontSelection widget are not exported. GtkFontSelectionDialog
Deprecated dialog box for selecting fonts. The GtkFontSelectionDialog widget is deprecated since GTK 3.2 and should not be used in newly written code. Use the gtk:font-chooser-dialog widget instead. In the Lisp binding the symbols and functions for the GtkFontSelectionDialog widget are not exported. Deprecated since GTK 3.4GtkHandleBox The gtk:handle-box widget allows a portion of a window to be
"torn off". ...
Create a new handle box. ... GtkTable
Denotes the expansion properties that a widget will have in a gtk:table widget when it or its parent is resized. ... The gtk:table widget allows the programmer to arrange widgets in
rows and columns, making it easy to align many widgets next to each other,
horizontally and vertically. ...
Used to create a new table. ...
If you need to change the size of the table after it has been created, this
function allows you to do so. ... Gets the number of rows and columns in the table. ...
Adds a child widget to a table. ...
Changes the space between a given table row and the subsequent row. ...
Alters the amount of space between a given table column and the following
column. ... GtkTearoffMenuItem
A deprecated menu item used to tear off and reattach its menu. The gtk:tearoff-menu-item widget is a special gtk:menu-item
widget which is used to tear off and reattach its menu. ... Creates a new tearoff menu. ... GtkColorSelection The gtk:color-selection widget is used to select a color. ... The accessor for the current-alpha slot of the gtk:color-selection class gets or sets the opacity. ... The accessor fir the current-color slot of the gtk:color-selection class gets or sets the color in the color
selector. ... The accessor for the current-rgba slot of the gtk:color-selection class gets or sets the color in the color
selector. ... The accessor for the has-opacity-control slot of the gtk:color-selection class gets or sets whether the color
selector has an opacity control. ... The accessor for the has-palette slot of the gtk:color-selection class gets or sets whether the color selector
has a color palette. ... Creates a new color selector. ... The gtk:color-selection-previous-alpha function returns the previous
alpha value. ... The gtk:color-selection-previous-color function gets the previous
color value. ... The gtk:color-selection-previous-rgba function gets the previous
color. ...
Gets the current state of the color selector. ... GtkColorSelectionDialog The gtk:color-selection-dialog widget provides a standard dialog
which allows the user to select a color much like the gtk:file-chooser-dialog widget provides a standard dialog for file
selection. ...
Creates a new color selection dialog. ... GtkHSV
Creates a new HSV color selector. ...
Sets the current color in an HSV color selector. ...
Queries the current color in an HSV color selector. ... Sets the size and ring width of an HSV color selector. ... Queries the size and ring width of an HSV color selector. ...
An HSV color selector can be said to be adjusting if multiple rapid changes
are being made to its value, for example, when the user is adjusting the
value with the mouse. ...
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. ... Deprecated since GTK 3.8GtkSymbolicColor
GtkSymbolicColor is deprecated since version 3.8. Symbolic colors are
considered an implementation detail of GTK. In the Lisp binding no
symbols or functions of GtkSymbolicColor are implemented. GtkGradient
GtkGradient is deprecated since version 3.8. It was used internally by
GTK’s CSS engine to represent gradients. As its handling is not conforming
to modern web standards, it is not used anymore. If you want to use
gradients in your own code, please use Cairo directly. In the Lisp binding
no symbols or functions of GtkGradient are implemented. Deprecated since GTK 3.10GtkUIManager These values are used by the gtk:ui-manager-add-ui function to
determine what UI element to create. ... The gtk:ui-manager object constructs a user interface, menus and
toolbars, from one or more UI definitions, which reference actions from one
or more action groups. ... The accessor for the add-tearoffs slot of the gtk:ui-manager class gets or sets whether menus generated by the UI
manager will have tearoff menu items. ... The accessor for the ui slot of the gtk:ui-manager class gets a XML string describing the merged UI. ... Creates a new UI manager object. ...
Inserts an action group into the list of action groups associated with the
UI manager. ...
Removes an action group from the list of action groups associated with the
UI manager. ... Returns the list of action groups associated with the UI manager. ...
Returns the accelerator group associated with the UI manager. ...
Looks up a widget by following a path. ...
Obtains a list of all toplevel widgets of the requested types. ...
Looks up an action by following a path. ...
Parses a resource file containing a UI definition and merges it with the
current contents of manager. ...
Parses a string containing a UI definition and merges it with the current
contents of the UI manager. ...
Parses a file containing a UI definition and merges it with the current
contents of manager. ...
Returns an unused merge ID, suitable for use with the gtk:ui-manager-add-ui function. ...
Adds a UI element to the current contents of manager. ... Unmerges the part of managers content identified by id. ...
Makes sure that all pending updates to the UI have been completed. ... GtkActivatable Activatable widgets can be connected to a gtk:action object and
reflects the state of its action. ... The accessor for the related-action slot of the gtk:activatable class gets or sets the related action. ... The accessor for the use-action-appearance slot of the gtk:activatable class gets or sets whether the activatable
should reset its layout and appearance when setting the related action or
when the action changes appearance. ... GtkActionGroup
Actions are organised into groups. An action group is essentially a map from names to gtk:action objects. ... The accessor for the name slot of the gtk:action-group class returns the name of the action group. ... The accessor for the sensitive slot of the gtk:action-group class gets or sets whether the action group is
enabled. ... The accessor for the visible slot of the gtk:action-group class gets or sets whether the action group is
visible. ...
Creates a new action group. ... Looks up an action in the action group by name. ... Lists the actions in the action group. ...
Adds an action to the action group and sets up the accelerator. ... Removes an action from the action group. ...
This is a convenience function to create a number of actions and add them
to the action group. ...
This is a convenience function to create a number of toggle actions and add
them to the action group. ...
This is a convenience function to create a group of radio actions and add
them to the action group. ... GtkAction
Actions represent operations that the user can be perform, along with some
information how it should be presented in the interface. ... The accessor for the action-group slot of the gtk:action class gets or sets the action group the action is associated with, or nil for internal use. ... The accessor for the always-show-image slot of the gtk:action class gets or sets whether the action menu item proxies will ignore the gtk-menu-images setting and always show
their image, if available. ... The accessor for the hide-if-empty slot of the gtk:action class gets or sets whether empty menu proxies for this
action are hidden. ... The accessor for the icon-name slot of the gtk:action class gets or sets the icon name of the action. ... The accessor for the is-important slot of the gtk:action class gets or sets whether the action is important or
not. ... The accessor for the label slot of the gtk:action
class gets or sets the label text of the action. ... The accessor for the sensitive slot of the gtk:action class gets or sets whether the action itself is
sensitive. ... The accessor for the short-label slot of the gtk:action class gets or sets the short label text of the action. ... The accessor for the stock-id slot of the gtk:action class gets or sets the stock ID of the action. ... The accessor for the tooltip slot of the gtk:action class gets or sets the tooltip for this action. ... The accessor for the visible slot of the gtk:action class gets or sets whether the action itself is visible. ... The accessor for the visible-horizontal slot of the gtk:action class gets or sets whether the action is visible when
horizontal. ... The accessor for the visible-vertical of the gtk:action class gets or sets whether the action is visible when
vertical. ...
Creates a new action. ... Returns whether the action is effectively sensitive. ... Returns whether the action is effectively visible. ...
This function is intended for use by action implementations to create icons
displayed in the proxy widgets. ... Creates a menu item widget that proxies for the given action. ... Creates a toolbar item that proxies for the given action. ... If the action provides a gtk:menu widget as a submenu for the menu
item or the toolbar item it creates, this function returns an instance of
that menu. ... Returns the proxy widgets for the action. ...
Installs the accelerator for the action if the action has an accel path and
group. ... Undoes the effect of one call to the gtk:action-connect-accelerator
function. ... Disable activation signals from the action. ... Reenable activation signals from the action. ... The gtk:action-accel-path function returns the accel path for this action, or nil if none is set. ...
Sets the accelerator group in which the accelerator for this action will be
installed. ... GtkToggleActionGtkRadioActionGtkRecentAction The gtk:recent-action object represents a list of recently used
files, which can be shown by widgets such as a gtk:recent-chooser-dialog widget or a gtk:recent-chooser-menu widget. ...
Creates a new recent action. ...
Creates a new recent action. ... GtkImageMenuItem The gtk:image-menu-item widget is a menu item which has an icon
next to the text label. ...
Creates a new image menu item with an empty label. ...
Creates a new image menu item containing the image and text from a stock
item. ...
Creates a new image menu item containing a label. ...
Creates a new image menu item containing a label. ... GtkMiscStock items
Deprecated prebuilt common menu/toolbar items and corresponding icons. Since GTK 3.10, stock items are deprecated. You should instead set up whatever labels and/or icons you need using normal widget API, rather than relying on GTK providing ready-made combinations of these. In the Lisp binding no symbols and functions are implemented. Themable Stock ImagesBuilt-in stock icon sizes. ... The gtk:icon-source structure is opaque, and has no user visible
fields. ... Accessor of the filename of a gtk:icon-source instance. ... Accessor of the icon name of a gtk:icon-source instance. ...
Creates a new icon source. ... The gtk:icon-set structure is opaque, and has no user visible
fields. ... This function copies source, so you can reuse the same source
immediately without affecting the icon set. ...
Creates a new icon set. ... Creates a new icon set with pixbuf as the default/fallback source
image. ... Renders an icon using the gtk_style_render_icon() function. ... Renders an icon using the gtk:render-icon-pixbuf function. ... The icon factory manages a collection of gtk:icon-set instances. ...
Adds an icon factory to the list of icon factories searched by the gtk_style_lookup_icon_set() function. ...
Looks for an icon in the list of default icon factories. ...
Removes an icon factory from the list of default icon factories. ... Deprecated since GTK 3.14GtkNumerableIcon The gtk:numerable-icon class is a subclass of the g:emblemed-icon class that can show a number or short string as an
emblem. ... Creates a new unthemed numerable icon. ...
Creates a new numerable icon which will themed according to the passed
style context. ... GtkArrowGtkStatusIcon
The "system tray" or notification area is normally used for transient
icons that indicate some special state. ... Creates an empty status icon. ... Creates a status icon displaying pixbuf. ...
Creates a status icon displaying the icon from a file. ...
Creates a status icon displaying a stock icon. ...
Creates a status icon displaying an icon from the current icon theme. ... Makes the status icon display pixbuf. ... Makes the status icon display the icon from the file filename. ... Makes the status icon display the stock icon with the ID stock-id. ... Makes the status icon display the icon named name from the current
icon theme. ...
Sets the name of the tray icon. ...
Returns whether the status icon is embedded in a notification area. ... GtkThemingEngine
Deprecated class for theming renderers. The GtkThemingEngine class has
been deprecated in GTK 3.14 and will be ignored for rendering. The
advancements in CSS theming are good enough to allow themers to achieve
their goals without the need to modify source code. In the Lisp binding no symbols and functions are implemented. GtkAlignmentDeprecated since GTK 3.16GtkStyleProperties
Deprecated store for style property information. GtkStyleProperties has been deprecated in GTK 3.16. The CSS machinery does not use it anymore and all users of this object have been deprecated. No symbols und functions for GtkStyleProperties are implemented in the Lisp binding. Symbols not implemented or exportedThe following symbols in the C library have been deprecated since version 3.16 or longer. These symbols are not implemented in or not exported from the Lisp library.gtk_action_group_new gtk_action_group_get_action gtk_action_group_list_actions gtk_action_group_add_action gtk_action_group_add_action_with_accel gtk_action_group_remove_action gtk_action_group_add_actions gtk_action_group_add_actions_full gtk_action_group_add_toggle_actions gtk_action_group_add_toggle_actions_full gtk_action_group_add_radio_actions gtk_action_group_add_radio_actions_full gtk_action_group_set_translate_func gtk_action_group_set_translation_domain gtk_action_group_translate_string | Exported Symbol Index |