Up: cl-cffi-gtk 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) Ornaments 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
Application class.
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. ...
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. ...
Accessor of the accelerators that are associated with the given action. ...
Returns the list of actions, possibly empty, that the given accelerator
maps to. ... GtkApplicationWindow A gtk-window subclass with gtk-application support. The gtk-application-window class is a gtk-window subclass
that offers some extra functionality for better integration with gtk-application features. ... 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. ...
Accessor of the shortcuts window associated with the application window. ... Interface builderGtkBuilder
Build an interface from an XML UI definition.
Error codes that identify various errors that can occur while parsing the gtk-builder UI definition. ... A gtk-builder object is an auxiliary object that reads textual
descriptions of a user interface and instantiates the described objects. ...
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 is the signature of a callback function used to connect signals. ...
This method is a simpler variation of the gtk-builder-connect-signals-full function. ...
This function can be thought of the interpreted language binding version of the gtk-builder-connect-signals function. ...
Accessor of 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
Toplevel which can contain other widgets. An enumeration for the possible types of a gtk-window widget. ...
Window placement can be influenced using this enumeration. ... A gtk-window widget is a toplevel window which can contain other
widgets. ...
Creates a new window, which is a toplevel window that can contain other
widgets. ...
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. ...
Activates the current focused widget within the window. ...
Activates the default widget for the window, unless the current focused
widget has been configured to receive the default action. ... Accessor of the default size of a gtk-window widget. ... Like the gtk-window-default-size function, but the width and height arguments are interpreted in terms of the base size and increment set with the gtk-window-set-geometry-hints function. ...
This function sets up hints about how a window can be resized by the user. ...
Returns a list of all existing toplevel windows. ...
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. ...
Accessor of the focus widget of the window. ...
Accessor of the default widget of the window. ...
Presents a window to the user. ...
Presents a window to the user in response to a user interaction. ...
Requests that the window is closed, similar to what happens when a window
manager Close button is clicked. ...
Asks to iconify, i.e. minimize, the specified window. ...
Asks to deiconify, i.e. 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. ...
Starts resizing a window. ...
Starts moving a window. ...
Accessor of the modifier mask used to activate mnemonics on the window. ...
Accessor of the icon list of the window. ...
Accessor of the default icon name of the window. ...
Accessor of the icon list 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. ...
Obtains the current size of the window. ...
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. ...
Parses a standard X Window System geometry string. ...
Resizes the window as if the user had done so, obeying geometry constraints. ... Like the gtk-window-resize function, but width and height
are interpreted in terms of the base size and increment set with the gtk-window-set-geometry-hints function. ...
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 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. ...
Sets the icon for the window. ...
Call this function to disable the automatic startup notification. ...
Accessor of the custom titlebar widget of the window. ...
Opens or closes the interactive debugger, which offers access to the widget
hierarchy of the application and to useful debugging tools. ... GtkDialog
Create popup windows. 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,
e.g. to display a message, ask a question, or anything else that does not
require extensive effort on the part of the user. ... 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. ...
Emits the "response" signal with the given response ID. ...
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
A convenient message window.
The type of message being displayed in the message dialog. ...
Prebuilt sets of buttons for the dialog. ... A gtk-message-dialog widget presents a dialog with some message text. ...
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
Display information about an application.
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. ...
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
A widget used to guide users through multi-step operations.
An enumeration for determining the page role inside the gtk-assistant widget. It is used to handle buttons sensitivity and
visibility. ... A 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. ...
Creates a new assistant. ...
Accessor of the current page of 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. ... A 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. ...
Accessor of the page type of a page in the assistant. ...
Accessor of the title for the page in the assistant. ...
Accessor of the completeness status of the page in the assistant. ...
Accessor of the has padding status of the page in the assistant. ...
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. ... GtkInvisibleGtkOffscreenWindow
A toplevel widget to manage offscreen rendering of child widgets. 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 object. ... GtkWindowGroup
Limit the effect of grabs. A 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
A container box. 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. ...
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. ... GtkGrid
Pack widgets in a rows and columns. The gtk-grid widget is a container which arranges its child widgets
in rows and columns, with arbitrary positions and horizontal/vertical 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
Hide and show with animation.
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. ... Creates a new revealer. ... GtkListBox
A list container.
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. ... A 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. ...
Accessor of the adjustment 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. ...
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. ...
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 child is currently selected in its list box
container. ...
Accessor of the header widget of a list box row. ...
Gets the current index of the row in its list box. ... GtkFlowBox
A container that allows reflowing its children. A gtk-flow-box widget positions child widgets in sequence according to
its orientation. ...
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. ... A 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. ...
A 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. ...
A 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. ...
Gets the current index of the child widget in its flow box. ...
Returns whether the child widget is currently selected in its flow box. ...
Marks the child widget as changed, causing any state that depends on this
to be updated. ... GtkStack
A stacking container. The gtk-stack widget is a container which only shows one of its
children at a time. ... 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. ... GtkStackSwitcherGtkStackSidebarGtkActionBar
A full width bar for presenting contextual actions The gtk-action-bar widget is designed to present contextual actions. ... Creates a new action bar. ...
Adds the child widget to the action bar, packed with reference to the start
of the action bar. ...
Adds the child widget to the action bar, packed with reference to the end
of the action bar. ...
Accessor of the center widget of the action bar. ... GtkHeaderBar
A box with a centered child. 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. ...
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
A container which overlays widgets on top of each other. The gtk-overlay widget is a container which contains a single main
widget, on top of which it can place overlay widgets. ...
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
A container for arranging buttons Used to dictate the style that a gtk-button-box widget uses to
layout the buttons it contains. ... A gtk-button-box widget should be used to provide a consistent layout
of buttons throughout your application. ... Accessor of the non-homogeneous child property of the button box. ... Accessor of the secondary child property of the button box. ... Creates a new button box. ...
Accessor of the layout style of the button box. ... GtkPaned
A widget with two adjustable panes. The gtk-paned widget has two panes, arranged either horizontally or
vertically. ... 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
Infinite scrollable area containing child widgets and/or custom drawing. 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. ...
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. ...
Accessor of the width and height of the scrollable area. ...
Retrieve the GDK window of the layout used for drawing operations. ... GtkNotebook
A tabbed notebook container.
The values of this enumeration are used as arguments of the "focus-tab"
signal. ... The gtk-notebook widget is a gtk-container widget whose
children are pages that can be switched between using tab labels along one
edge. ...
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. ...
Accessor of the current page of the notebook. ...
Accessor of the menu label of the notebook. ... Returns the child widget contained in page number num. ... Gets the number of pages in a notebook. ...
Accessor of the tab label of the notebook child. ...
Accessor of the text of the menu label. ...
Accessor of the label text of the tab label widget. ... Accessor of the reorderable child property of the notebook page. ... Accessor of the detachable child property of the notebook. ...
Accessor of the action widget of the notebook. ... GtkExpander
A container which can hide its child. A 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. ... Creates a new expander using label as the text of the label. ... Creates a new expander using label as the text of the label. ... GtkAspectFrameGtkFixed
A container which allows you to position widgets at fixed coordinates. The gtk-fixed widget is a container which can place child widgets at
fixed positions and with fixed sizes, given in pixels. ...
Creates a new fixed widget. ...
Adds a child widget to a fixed widget at the given position. ...
Moves a child widget of a fixed widget to the given position. ... Display WidgetsGtkLabel
A widget that displays a small to medium amount of text. The gtk-label widget displays a small amount of text. ...
Creates a new label with the given text inside it. ...
Accessor of the text in the label. ... 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. ...
Accessor of the line wrap setting of the label. ...
Accessor of the line wrap mode of 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. ... Sets the text of the label from the string text. ...
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
A widget displaying an image. The cairo-surface structure represents a Cairo surface in GTK. ... The gtk-image widget displays an image. ...
Gets the icon name and icon size being displayed by the 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. ... See the gtk-image-new-from-file function for details. ... Creates an image displaying pixbuf. ...
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. ... Resets the image to be empty. ... Creates a new image. ... GtkSpinnerGtkInfoBar
Report important messages to the user. The gtk-info-bar widget can be used to show messages to the user
without showing a dialog. ... 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. ... Emits the "response" signal with the given response ID. ... Returns the action area of the info bar. ... Returns the content area of the info bar. ... GtkProgressBarGtkLevelBar
A bar that can be used as a level indicator. 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. ... 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
Report messages of minor importance to the user. A gtk-statusbar widget is usually placed along the bottom of the main gtk-window widget of the application. It may provide a regular
commentary of the status of the application as is usually the case in a web
browser, for example, or may be used to simply output a message when the
status changes, when an upload is complete in an FTP client, for example. ... 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
A label which displays an accelerator key on the right of the text. 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,
e.g. "Ctrl+Q". ...
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
A widget that emits a signal when clicked on. A widget that emits a signal when clicked on. ...
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. ...
Emits a "clicked" signal to the given button. ... Returns the GDK event window of the button if it is realized, nil
otherwise. ... GtkCheckButton
Create widgets with a discrete toggle button. A 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 choice from multiple check buttons.
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. ...
Retrieves the group assigned to a radio button. ...
Joins a radio button to the group of another radio button widget. ... GtkToggleButtonGtkLinkButton
Create buttons bound to a URL. A 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. ... Creates a new link button with the URI as its text. ... Creates a new link button containing a label. ... GtkMenuButton
A widget that shows a popup when clicked on.
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. ...
Creates a new menu button with downwards pointing arrow as the only child. ... GtkSwitchGtkScaleButtonGtkVolumeButton
A button which pops up a volume control. 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. ...
Creates a volume button, with a range between 0.0 and 1.0, with
a stepping of 0.02. ... GtkLockButtonGtkModelButton
A button that uses a GAction as model. The role specifies the desired appearance of a gtk-model-button
widget. ... Creates a new model button widget. ... Numeric and Text Data EntryGtkEntry
A single line text entry field.
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. ... The gtk-entry widget is a single line text entry widget. ...
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, e.g., by pixbuf, icon name or
gicon. ... 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, e.g., by pixbuf, stock or
gicon. ... Retrieves the g-icon used for the icon, or nil if there is no
icon or if the icon was set by some other method, e.g., by stock, pixbuf,
or icon name. ...
Accessor of the activatable property of the icon in the entry. ...
Accessor of the sensitive property of the icon in the entry. ...
Finds the icon at the given position and return its index. ...
Accessor of the tooltip text on the icon in the entry. ...
Accessor of the tooltip markup on the icon 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. ... GtkEntryBuffer Text buffer for gtk-entry.
Create a new entry buffer. ...
Retrieves the length in bytes of the buffer. ...
Inserts text into the contents of the entry buffer, at the given position. ...
Deletes a sequence of characters from the entry buffer. ... Used when subclassing gtk-entry-buffer. ... Used when subclassing gtk-entry-buffer object. ... GtkEntryCompletion
Completion functionality for GtkEntry. gtk-entry-completion is an auxiliary object to be used in conjunction with gtk-entry to provide the completion functionality. It implements the gtk-cell-layout interface, to allow the user to add extra cells to the gtk-tree-view with completion matches. ... Creates a new entry completion. ...
Creates a new entry completion using the specified area to layout cells in the underlying gtk-tree-view-column 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 entry completion's action item list at position index with the given text. ...
Inserts an action in the entry completion's action item list at position index with the given markup. ... Deletes the action at index from the entry completion's action list. ... GtkScale
A slider widget for selecting a value from a range. A gtk-scale widget is a slider control used to select a numeric value. ... Creates a new scale widget. ... Creates a new scale widget with the given orientation that lets the user input a number between min and max, including min and max, with the increment step. ... 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
Retrieve an integer or floating point number from the user.
The spin button update policy determines whether the spin button displays
values even if they are outside the bounds of its adjustment. See the function gtk-spin-button-update-policy. ... The values of the gtk-spin-type enumeration are used to specify the change to make in the function gtk-spin-button-spin. ... A gtk-spin-button widget is an ideal way to allow the user to set the
value of some attribute. ...
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. ...
Accessor of the step and page increments of the spin button. ...
Accessor of the minimum and maximum value of the spin button. ...
Gets the value of the spin button represented as an integer. ...
Increment or decrement a spin button's value in a specified direction by a
specified amount. ...
Manually force an update of the spin button. ... GtkSearchEntry
An entry which shows a search icon. 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
A toolbar to integrate a search entry with. gtk-search-bar 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. ... GtkEditable
Interface for text-editing widgets. The gtk-editable interface is an interface which should be implemented by text editing widgets, such as gtk-entry and gtk-spin-button. It contains functions for generically manipulating
an editable widget, a large number of action signals used for key bindings,
and several signals that an application can connect to to modify the
behavior of a 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. ...
Accessor of the cursor position in the editable. ...
Accessor of the editable property of the editable. ... Multiline Text EditorConceptual OverviewGTK 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 function gtk-text-buffer-place-cursor, 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 "rn" 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 () (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) (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 buffer with the function gtk-text-buffer-new, then create a widget for that text buffer with the function gtk-text-view-new-with-buffer. Or you can change the buffer the widget displays after the widget is created with the function gtk-text-view-buffer. 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 () (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)) (leave-gtk-main))) (setf (gtk-text-buffer-text buffer) "Hello, this is some text.") ;; Change default font and color throughout the widget (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-style-provider-priority-application+) ;; Change left margin throughout the widget (setf (gtk-text-view-left-margin view) 30) ;; Use a tag to change the color for just one part of the widget (let ((tag (gtk-text-buffer-create-tag buffer "blue_foreground" :foreground "blue")) (start (gtk-text-buffer-iter-at-offset buffer 7)) (end (gtk-text-buffer-iter-at-offset buffer 12))) ;; Apply the tag to a region of the text in the buffer (gtk-text-buffer-apply-tag buffer tag start end)) ;; Add the view to the window and show all (gtk-container-add window view) (gtk-widget-show-all window))))The gtk-demo application that comes with GTK contains more example code for the gtk-text-view widget. GtkTextIter
Text buffer iterator. Flags 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. ...
Creates a copy of an iterator. ...
Accessor of the character offset of the iterator. ...
Accessor of the line number containing the iterator. ...
Accessor of the character offset relative to the start of the current line
of the iterator. ...
Accessor of the byte offset relative to the start of the current line
of the iterator. ...
Accessor of the character offset relative to the start of the current line
of the iterator. ...
Accessor of the byte index relative to the start of the current line
of the iterator. ...
Returns a Unicode character at this iterator, or 0 if the iterator is not
dereferenceable. ...
Returns a string with the text in the given range. ...
Returns a string with the text in the given range. ... Like the function gtk-text-iter-slice, but invisible text is not
included. ... Like the function gtk-text-iter-text, but invisible text is not
included. ...
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, i.e. if the function gtk-text-iter-line-offset 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, e.g. after a period and before the first letter of
the next sentence. ... See the function gtk-text-iter-forward-cursor-position, the pango-log-attr structure or the function pango-default-break
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. ...
A convenience wrapper around the function gtk-text-iter-attributes, which returns the language in effect at
the iterator. ... Returns true if the iterator is the end iterator, i.e. 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 by one character offset. ... Moves count characters if possible. ...
Moves backward by one character offset. ...
Moves count characters backward if possible. ...
Moves the iterator to the start of the next line. ... Moves count lines forward, if possible. ...
Moves the iterator to the start of the previous line. ... Moves count lines backward, if possible. ...
Moves forward to the next word end. ...
Moves backward to the previous word start. ...
Moves the iterator forward by a single cursor position. ... Moves up to count cursor positions. ... Like the function gtk-text-iter-forward-cursor-position, but moves
backward. ... Moves up to count cursor positions. ...
Moves forward to the next sentence end. ... Calls the function gtk-text-iter-forward-sentence-end count times, or until the function gtk-text-iter-forward-sentence-end returns false. ...
Moves backward to the previous sentence start. ... Calls the function gtk-text-iter-backward-sentence-start up to count times, or until it returns false. ...
Moves forward to the next visible word end. ...
Moves backward to the previous visible word start. ...
Moves the iterator forward to the next visible cursor position. ... Moves up to count visible cursor positions. ...
Moves the iterator forward to the previous visible cursor position. ... Moves up to count visible cursor positions. ...
Moves the iterator to the start of the next visible line. ... Moves count visible lines forward, if possible. ...
Moves the iterator to the start of the previous visible line. ... Moves count visible lines backward, if possible. ...
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 function gtk-text-iter-find-char to
search a char in the text buffer. ...
This is a convenience function of the Lisp implementation which combines the functions gtk-text-iter-forward-find-char and gtk-text-iter-backward-find-char into one single function. ... Advances the iterator, calling the function pred on each character. ... Same as the function gtk-text-iter-forward-find-char, but goes
backward from the iterator. ...
This is a convenience function of the Lisp implementation which combines the functions gtk-text-iter-forward-search and gtk-text-iter-backward-search into one single function. ... Searches forward for str. ... Same as the function gtk-text-iter-forward-search, but moves backward. ...
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
A position in the buffer preserved across buffer modifications. A gtk-text-mark object is like a bookmark in a text buffer. ...
Creates a text mark. ...
Accessor for the visibility of a text mark. ... Returns true if the text mark has been removed from its text buffer with the function gtk-text-buffer-delete-mark. ... Gets the text buffer this text mark is located inside, or nil if the
mark is deleted. ... GtkTextBuffer Stores attributed text for display in a gtk-text-view widget.
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. ...
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. ...
This function moves the "insert" and "selection_bound" marks
simultaneously. ...
This function moves the "insert" and "selection_bound" marks
simultaneously. ...
Emits the "apply-tag" signal on the text buffer. ...
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, i.e. 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. ... GtkTextTag A tag that can be applied to text in a gtk-text-buffer object. Describes 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. ...
Creates a new tag. ... Accessor for the priority of a gtk-text-tag object. ...
Emits the "event" signal on the tag object. ... Emits the "tag-changed" signal on the gtk-text-tag-table object
where the tag is included. ... GtkTextTagTable
Collection of tags that can be used together.
A tag table defines a set of tags that can be used together. ...
Creates a new tag table. ...
Adds a tag to the tag table. ...
Remove a tag from the tag table. ...
Look up a named tag. ... The type of callback function passed to the gtk-text-table-foreach
function. ... Calls func on each tag in the tag table. ...
Returns the size of the number of tags in the tag table. ... GtkTextView Widget that displays a gtk-text-buffer object. Used to reference the parts of the gtk-text-view widget. ...
Granularity types that extend the text selection. ... A 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. ...
GTK has a powerful framework for multiline text editing. ...
Creates a new text view. ...
Creates a new text view displaying the text buffer. ...
Scrolls the text view so that the mark is on the screen in the position indicated by the xalign and yalign arguments. ...
Scrolls the text view so that the iterator is on the screen in the position indicated by the xalign and yalign arguments. ...
Scrolls the text view the minimum distance such that the mark is contained
within the visible area of the widget. ...
Moves a the mark within the text buffer so that it is located within the
currently visible text area. ...
Moves the cursor to the currently visible region of the text buffer, if it
is not there already. ...
The currently visible region of the text buffer, in text buffer coordinates. ...
Gets 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. ...
Accessor of the border window size of the text view. ... 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. ... 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. ...
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, i.e. 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 gtk-tree-model, gtk-tree-view, 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 and the gtk-tree-store. gtk-list-store is used to model list widgets, while the gtk-tree-store 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 gtk-tree-store-set or gtk-list-store-set, depending upon which sort of model was created. To do this, a gtk-tree-iter must be acquired. The iterator points to the location where data will be added. Once an iterator has been acquired, gtk-tree-store-set 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 gtk-tree-store-append is the parent iterator. It is used to add a row to a gtk-tree-store 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 is not a difficult matter. It needs a gtk-tree-model 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 2.x, including the gtk-cell-renderer-text, gtk-cell-renderer-pixbuf and the gtk-cell-renderer-toggle. It is relatively easy to write a custom renderer. A gtk-tree-view-column is the object that gtk-tree-view 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 GtkTreeModel section.enum { TITLE_COLUMN, AUTHOR_COLUMN, CHECKED_COLUMN, N_COLUMNS }; GtkTreeModel The tree interface used by the gtk-tree-view widget. Creates a new tree path. ... Creates a tree path initialized to pathstr. ... Creates a new tree path with indices as indices. ... Generates a string representation of the tree path. ... Creates a new 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. ... Creates a new tree path as a copy of path. ... Compares two paths. ... Moves path to point to the next node at the current depth. ...
Moves the tree path to point to the previous node at the current depth,
if it exists. ...
Moves the tree path to point to its parent node, if it has a parent. ... Moves path to point to the first child of the current tree path. ... A gtk-tree-row-reference instance tracks model changes so that it always refers to the same row, a gtk-tree-path instance refers to a
position, not a fixed row. ... Creates a row reference based on path. ... Returns the model that the row reference is monitoring. ... Returns a path that the row reference currently points to, or nil if
the path pointed to is no longer valid. ...
Copies a tree row reference. ... 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. ... These flags indicate various properties of a gtk-tree-model. ... The gtk-tree-model interface defines a generic tree interface for use by the gtk-tree-view widget. ...
Returns a set of flags supported by this interface. ... Returns the number of columns supported by model. ...
Returns the type of the column. ... Returns a valid iterator pointing to path. ... Returns a valid iterator pointing to pathstr, if it exists. ...
Returns the first iterator in the tree, the one at the path "0". ...
Returns a tree path referenced by the given iterator. ... Returns the value at column. ... Returns the iterator to the node following iter at the current level. ...
Returns the iterator to the previous node at the current level. ... Returns the iterator to the first child of parent. ... Returns the number of children that iter has. ... Returns the iterator to the child of parent, using the given index. ... Returns the iterator to the parent of child. ...
Generates a string representation of the iterator. ... Gets the value of one or more cells in the row referenced by iter. ... Type of the callback function passed to the gtk-tree-model-foreach
function to iterate over the rows in a tree model. ... Emits the "row-changed" signal on model. ... Emits the "row-inserted" signal on model. ... Emits the "row-has-child-toggled" signal on model. ... Emits the "row-deleted" signal on model. ... Emits the "rows-reordered" signal on model. ... GtkTreeSelection The selection object for gtk-tree-view. The gtk-tree-selection object is a helper object to manage the selection for a gtk-tree-view widget. ... A callback function used by the gtk-tree-selection-set-select-function
function to filter whether or not a row may be selected. ...
A callback function used by the function gtk-tree-selection-selected-foreach to map all selected rows. ... Sets the selection function. ... Returns the current selection function. ... Returns the tree view associated with selection. ...
Returns the iterator to the currently selected node if the selection mode is set to the values :single or :browse of the gtk-selection-mode enumeration. ...
Calls a function for each selected node. ...
Creates a list of path of all selected rows. ... Returns the number of rows that have been selected in the tree. ... Select the row at path. ... Unselects the row at path. ... Returns true if the row pointed to by path is currently selected. ...
Selects the specified iterator. ...
Unselects the specified iterator. ... Returns true if the row at iter is currently selected. ...
Selects all the nodes. ... Unselects all the nodes. ... GtkTreeViewColumn A visible column in a gtk-tree-view widget.
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 list 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 e.g. with the function gtk-tree-view-column-set-attributes. ...
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 cell, 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
A widget for displaying both trees and lists.
An enumumeration for determining where a dropped row goes in a tree view. ...
Used to indicate which grid lines to draw in a tree view. ... Widget that displays any object that implements the gtk-tree-model
interface. ...
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 view at the given position. ... Function gtk-tree-view-insert-column-with-attributes (view position title renderer &rest attributes)
Convenience function that inserts a new column into the tree view with the given cell renderer and a gtk-tree-cell-data-func callback 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 type for determining whether column can be dropped in a particular spot as determined by prev and next. ...
Sets a user callback function of type gtk-tree-view-column-drop-func for determining where a column may
be dropped when dragged. ...
Scrolls the tree view such that the top-left corner of the visible area is tx, ty, where tx and ty are specified in tree
coordinates. ... Sets the current keyboard focus to be at path, and selects it. ... Sets the current keyboard focus to be at path, and selects it. ...
Recursively expands all nodes in the tree view. ...
Recursively collapses all visible, expanded nodes in the tree view. ... Expands the row at path. ...
Opens the row so its children are visible. ...
Collapses a row (hides its child rows, if they exist). ...
Callback function used for the function gtk-tree-view-map-expanded-rows. ... Calls func on all expanded rows. ... Returns true if the node pointed to by path is expanded in the
tree view. ... Determine whether the point (x, y) in the tree view is blank,
that is no cell content nor an expander arrow is drawn at the location. ...
Returns the bounding rectangle in bin window coordinates for the cell at the row specified by path and the column specified by column. ...
Returns the bounding rectangle in the bin window coordinates for the cell at the row specified by path and the column specified by column. ...
Returns the rectangle with the currently visible region of the tree view
buffer, in tree view coordinates. ...
Returns the window that the tree view renders to. ...
Converts bin window coordinates to coordinates for the tree view (the full
scrollable area of the tree view). ...
Converts bin window coordinates, see the function gtk-tree-view-bin-window, to widget relative coordinates. ...
Converts tree view coordinates, coordinates in full scrollable area of the
tree view, to bin window coordinates. ...
Converts tree view coordinates, coordinates in full scrollable area of the
tree, to widget coordinates. ...
Converts widget coordinates to coordinates for the bin window, see the function gtk-tree-view-bin-window. ...
Converts widget coordinates to coordinates for the tree view, the full
scrollable area of the tree view. ...
Turns the tree view into a drop destination for automatic DND. ...
Turns the tree view into a drag source for automatic DND. ...
Undoes the effect of the function gtk-tree-view-enable-model-drag-source. ...
Undoes the effect of the function gtk-tree-view-enable-model-drag-dest. ...
Sets the row that is highlighted for feedback. ...
Gets information about the row that is highlighted for feedback. ...
Determines the destination row for a given position. ... Creates a cairo-surface-t representation of the row at path. ...
A callback function used for checking whether a row in model matches a
search key string entered by the user. ...
Sets the compare callback function for the interactive search capabilities. ... Accessor of the gtk-entry widget which is currently in use as
interactive search entry for the tree view. ...
No documentation. ...
Sets the callback function to use when positioning the search dialog. ...
Callback function type 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. ... Accessor of the gtk-tree-view-grid-lines value. ...
This function is supposed to be used in a "query-tooltip" signal handler for gtk-tree-view. ... GtkTreeView drag and drop Interfaces for drag-and-drop support in gtk-tree-view widgets.
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 DND 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 A widget displaying a single row of a gtk-tree-model object. A 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. ...
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. ... The function gtk-cell-view-display-row returns a gtk-tree-path
instance referring to the currently displayed row. ...
Returns the size needed by the cell view to display the model row pointed to by path. ... GtkIconView
A widget which displays a list of icons in a grid. An 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 bin window coordinates. ...
Finds the path at the point (x, y), relative to the window coordinates. ...
Converts widget coordinates to coordinates for the bin window, as expected by e.g. the function gtk-icon-view-path-at-pos. ... 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 function gtk-icon-view-selected-foreach to map all selected rows. ...
Calls a function for each selected icon. ... Selects the row at path. ... Unselects the row at path. ... Returns true if the icon pointed to by path is currently
selected. ...
Creates a list of paths of all selected items. ...
Selects all the icons. ... Unselects all the icons. ... Activates the item determined by path. ...
Sets the tip area of tooltip to be the area covered by the item at path. ... Sets the tip area of the tooltip to the area which cell occupies in the item pointed to by path. ...
This function is supposed to be used in a "query-tooltip" signal handler for a gtk-icon-view widget. ...
Gets the row in which the item path is currently displayed. ...
Gets the column in which the item path is currently displayed. ...
Turns the icon view into a drag source for automatic DND. ...
Turns the icon view into a drop destination for automatic DND. ...
Undoes the effect of the function gtk-icon-view-enable-model-drag-source. ...
Undoes the effect of the function gtk-icon-view-enable-model-drag-dest. ...
Sets the item that is highlighted for feedback. ...
Gets information about the item that is highlighted for feedback. ...
Determines the destination item for a given position. ... GtkTreeSortable The interface for sortable models used by gtk-tree-view widgets. 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. ... Emits a "sort-column-changed" signal on sortable. ...
Accessor of the sort column ID and the sort order of the tree sortable.
Returns the current sort column and the order. ... A gtk-tree-iter-compare-func callback function should return a negative integer, zero, or a positive integer if iter1 sorts before iter2, iter1 sorts with iter2, or iter1 sorts after iter2 respectively. ... Sets the comparison function used when sorting to be func. ...
Sets the default comparison callback function used when sorting to be func. ... Returns true if the model has a default sort function. ... GtkTreeModelSort A gtk-tree-model object which makes an underlying tree model
sortable. 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 function gtk-tree-model-ref-node. ... GtkTreeModelFilter A gtk-tree-model object which hides parts of an underlying tree
model. A gtk-tree-model-filter object is a tree model which wraps another
tree model. ... Creates a new gtk-tree-model object, with child as the child model and root as the virtual root. ... A callback function which decides whether the row indicated by iter
is visible. ... Sets the visible function used when filtering the filter to be func. ...
A callback function which calculates display values from raw values in the
model. ... With types parameters, you give a list of column types for this model,
which will be exposed to the parent model/view. ... Sets column of the child model to be the column where filter
should look for visibility information. ...
Returns the child model of the filter. ... Returns an interator to point to the row in filter that corresponds to the row pointed at by child-iter. ... Returns the iterator to point to the row pointed to by filter-iter. ... Converts child-path to a path relative to filter. ...
Emits the signal "row_changed" for each row in the child model, which
causes the filter to re-evaluate whether a row is visible or not. ...
This function clears the filter of any cached iterators that have not been reffed with the function gtk-tree-model-ref-node. ... GtkCellLayout
An interface for packing cells. 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. ... Sets the attributes in the list as the attributes of layout. ... Adds an attribute mapping to the list in layout. ... A callback function which should set the value of layout's cell
renderer(s) as appropriate. ... Sets the callback function to use for layout. ...
Clears all existing attributes previously set with the function gtk-cell-layout-add-attribute. ... GtkCellArea An abstract class for laying out gtk-cell-renderer objects. 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. ...
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 functions 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. ... 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 A cell area that renders gtk-cell-renderer objects into a row or
a column. The gtk-cell-area-box renders cell renderers into a row or a column depending on its gtk-orientation. ... Creates a new cell area box. ...
Adds a renderer to the cell area box, packed with reference to the start of
the box. ...
Adds a renderer to cell area box, packed with reference to the end of
the box. ... GtkcellAreaContext
Stores geometrical information for a series of rows in a gtk-cell-area. 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. ...
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. ... GtkCellRenderer
An object for rendering a single cell. Tells 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-t context. ...
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 function gtk-cell-renderer-fixed-size returns width and height with the appropriate size of cell. ... The function gtk-cell-renderer-padding 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 a cell renderer's natural size when rendered to widget. ...
Retreives a cell renderers's minimum and natural height if it were rendered to widget with the specified width. ...
Retrieves the minimum and natural size of a cell renderer taking into
account the widget's preference for height-for-width management. ...
Retreives a cell renderer's natural size when rendered to widget. ...
Retreives a cell renderers's minimum and natural width 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
Interface for widgets which can are used for editing cells. 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. ... GtkCellRendererAccelGtkCellRendererCombo
Renders a combobox in a cell. gtk-cell-renderer-combo renders text in a cell like gtk-cell-renderer-text from which it is derived. ...
Creates a new cell renderer combo. ... GtkCellRendererPixbufGtkCellRendererProgressGtkCellRendererSpin
Renders a spin button in a cell. gtk-cell-renderer-spin renders text in a cell like gtk-cell-renderer-text from which it is derived. ... Creates a new cell renderer spin object. ... GtkCellRendererText
Renders text in a cell. A 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 y-pad properties set on it. ... GtkCellRendererToggleGtkCellRendererSpinner
Renders a spinning animation in a cell.
Returns a new cell renderer which will show a spinner to indicate activity. ... GtkListStore
A list-like data structure that can be used with the gtk-tree-view widget.
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
A tree-like data structure that can be used with the gtk-tree-view.
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
A widget used to choose from a list of items. A gtk-combo-box widget allows the user to choose from a list of valid
choices. ... 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. ...
Accessor of the active iterator of the combo box. ...
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
A simple, text-only combo box. 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
A base class for menu objects.
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 menu shell's item list. ...
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
A menu widget
Used to specify the placement of scroll arrows in scrolling menus. ... A 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 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. ... 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 A subclass of the gtk-menu-shell class which holds gtk-menu-item widgets.
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 widget used for item in menus. 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 "select" signal on the given menu item. ...
Emits the "deselect" signal on the given menu item. ...
Emits the "activate" signal on the given menu item. ...
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
A menu item with a check box. A gtk-check-menu-item 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. ...
Creates a new check menu item. ...
Creates a new check menu item with a label. ...
Creates a new check menu item containing a label. ...
Emits the "toggled" signal. ... GtkRadioMenuItem
A choice from multiple check menu items
A 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-member. ...
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. ... GtkSeparatorMenuItemToolbarGtkToolShell
Interface for containers containing GtkToolItem widgets. 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. ... GtkToolbar
Create bars of buttons and other widgets. Whether 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 base class of widgets that can be added to gtk-tool-shell
widget. 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, i.e. 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 signal "toolbar-reconfigured" on the tool item. ...
Returns the size group used for labels in the tool item. ... GtkToolPalette
A tool palette with categories.
Flags used to specify the supported drag targets. ... A 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 function gtk-tool-palette-icon-size, so that user preferences will be used to
determine the icon size. ...
Unsets a toolbar style set with the function gtk-tool-palette-toolbar-style, 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. ...
Sets the tool palette as a drag source. ... GtkToolItemGroup
A sub container used in a tool palette. A 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. ... Creates a new tool item group with label label. ...
Gets the number of tool items in the tool item group. ... Gets the tool item at index in the tool item group. ... GtkSeparatorToolItem
A toolbar item that separates groups of other toolbar items. A 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 A gtk-tool-item subclass that displays buttons.
Creates a new tool button containing the image and text from a stock item. ... GtkMenuToolButton A gtk-tool-item containing a button with an additional dropdown
menu. A gtk-menu-tool-button is a gtk-tool-item that contains a
button and a small additional button with an arrow. ...
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. ... GtkToggleToolButton A gtk-tool-item widget containing a toggle button.
Returns a new toggle tool button. ...
Creates a new toggle tool button containing the image and text from a stock
item. ... GtkRadioToolButton
A toolbar item that contains a radio button. 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
Context dependent bubbles.
Describes constraints to positioning of popovers. ... A 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. ...
Accessor of the default widget. ... GtkPopoverMenu
Popovers to use as menus. 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)GtkColorChooserGtkColorButton
A button to launch a color selection dialog. 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. ... GtkColorChooserWidgetGtkColorChooserDialogGtkFileChooser File chooser interface used by gtk-file-chooser-widget and gtk-file-chooser-dialog. 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. ...
Accessor of the current folder of the file chooser. ...
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 function gtk-file-chooser-add-shortcut-folder. ...
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 function gtk-file-chooser-add-shortcut-folder-uri. ...
Accessor of the current folder file of the file chooser. ...
Accessor of the file of the file chooser. ...
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. ... GtkFileChooserButtonGtkFileChooserNative
A native file chooser dialog, suitable for "File/Open" or "File/Save"
commands. GtkFileChooserDialogGtkFileChooserWidgetGtkFileFilter
A filter for selecting a file subset. These flags indicate what parts of a gtk-file-filter-info
structure are filled or need to be filled. ... A gtk-file-filter-info structure is used to pass information about the tested file to the function gtk-file-filter-filter. ... A gtk-file-filter class 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 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 function gtk-file-filter-filter. ... 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 function gtk-file-filter-to-gvariant. ... Serialize a file filter to an a{sv} variant. ... GtkFontChooser
Interface implemented by widgets displaying fonts. 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,
i.e. family, slant, weight, width, etc. ...
The selected font size. ...
The callback function that is used for deciding what fonts get shown in a gtk-font-chooser object. ...
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. ... GtkFontButtonGtkFontChooserWidgetGtkFontChooserDialogGtkPlacesSidebarOrnamentsGtkFrameGtkSeparator
A separator widget. 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. ... ScrollingGtkScrollbar
A Scrollbar. 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
Adds scrollbars to its child widget.
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
An interface for scrollable widgets.
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. ... PrintingGtkPrintOperation
High-level Printing API.
The status gives a rough indication of the completion of a running print
operation. ... The action parameter to the function gtk-print-operation-run
determines what action the print operation should perform. ...
A value of this type is returned by the function gtk-print-operation-run. ...
Error codes that identify various errors that can occur while using the
GTK+ printing support. ... gtk-print-operation is the high-level, portable printing API. ... 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. ... Sets up the gtk-print-operation object to wait for calling of the function gtk-print-operation-draw-page-finish 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 page-setup. ... Ends a preview. ...
Returns whether the given page is included in the set of pages that have
been selected for printing. ...
Renders a page to the preview, using the print context that was passed to
the "preview" handler together with preview. ... GtkPrintContext
Encapsulates context for drawing pages. A gtk-print-context 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 text. ...
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. ...
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. ... GtkPrintSettings
Stores print settings. See the function gtk-print-settings-orientation. ... See the function gtk-print-settings-duplex. ... See the function gtk-print-settings-quality. ...
Used to determine the layout of pages on a sheet when printing multiple
pages per sheet. ... See the function gtk-print-job-page-set. ... A gtk-print-settings object represents the settings of a print dialog
in a system independent way. ... Creates a new gtk-print-settings object. ... Copies a gtk-print-settings object. ... Returns true, if a value is associated with key. ... Looks up the string value associated with key. ... Removes any value associated with key. ... Calls func for each key value pair of the print settings. ...
Accessor of the boolean value of a key in a print setting. ...
Accessor of the double float value of a key in a print setting. ...
Returns the floating point number represented by the value that is associated with key, or default if the value does not represent
a floating point number. ...
Accessor of the length value of a key in a print setting. ...
Accessor of the integer value of a key in a print setting. ... Returns the value of key, interpreted as an integer, or the default
value. ...
Accessor of the printer name of a print setting. ...
Accessor of the "orientation" value of a print setting. ...
Accessor of the "paper-format" of a print setting. ... Accessor of the paper width of a print setting, in units of unit. ... Accessor of the paper height of a print setting, in units of unit. ...
Accessor of "use-color" of a print setting. ...
Accessor of "collate" of a print setting. ...
Accessor of "reverse" of a print setting. ...
Accessor of "duplex" of a print setting. ...
Accessor of "quality" of a print setting. ...
Accessor of "n-copies" of a print setting. ...
Accessor of "number-up" of a print setting. ...
Accessor of "number-up-layout" of a print setting. ...
Accessor of "resolution" of a print setting. ... Gets the value of "resolution-x". ... Gets the value of "resolution-y". ...
Accessor of "printer-lip" of a print setting. ...
Accessor of "scale" of a print setting. ...
Accessor of "print-pages" of a print setting. ...
Accessor of "page-ranges" of a print setting. ...
Accessor of "page-set" of a print setting. ...
Accessor of "default-source" of a print setting. ...
Accessor of "media-type" of a print setting. ...
Accessor of "dither" of a print setting. ...
Accessor of "finishings" of a print setting. ...
Accessor of "output-bin" of a print setting. ... Reads the print settings from filename. ... Reads the print settings from the group group-name in the key file. ... Deserialize print settings from an a{sv} variant in the format produced by the function gtk-print-settings-to-gvariant. ... Reads the print settings from file-name. ... Reads the print settings from the group group-name in the key file. ... This function saves the print settings from settings to file-name. ...
This function adds the print settings from the print settings to the key
file. ... Serialize print settings to an a{sv} variant. ... GtkPageSetup
Stores page setup information. 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 groupname in the key file. ... Desrialize a page setup from an a{sv} variant in the format produced by the function gtk-page-setup-to-gvariant. ...
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. ... GtkPaperSize
Support for named paper sizes. Enumeration for dimenstions 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. ...
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 a{sv} variant in the format produced by the function gtk-paper-size-to-gvariant. ... Serialize a paper size to a a{sv} variant instance. ... GtkPrinter
Represents a printer. No documentation. ... A gtk-printer object represents a printer. ... Creates a new printer. ... Gets the description of the printer. ...
Returns whether the printer is currently active, i.e. 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, i.e. 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
Represents a print job. A 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. ...
Accessor of the page setting for the print job. ...
Accessor of the page ranges for the print job. ... Accessor of the gtk-page-set setting for the print job. ...
Accessor of the number of copies for the print job. ...
Accessor of the scale for the print job. ...
Accessor of the n-up setting for the print job. ...
Accessor of the layout setting for the print job. ...
Accessor of the rotate setting for the print job. ...
Accessor of the collate setting of the print job. ...
Accessor of the reverse setting of the print job. ... GtkPrintUnixDialog
A print dialog.
An enum for specifying which features the print dialog should offer. ... gtk-print-unix-dialog implements a print dialog for platforms which
do not provide a native print dialog, like Unix. ... Creates a new print dialog. ...
Accessor of the print settings of the print unix dialog. ...
Adds a custom tab to the print dialog. ...
Gets the page setup that is used by the print dialog. ... GtkPageSetupUnixDialog
A page setup dialog. 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
Toplevel which shows help for shortcuts A gtk-shortcuts-window widget shows brief information about the
keyboard shortcuts and gestures of an application. ... GtkShortcutsSection Represents an application mode in a gtk-shortcuts-window widget. A gtk-shortcuts-section widget collects all the keyboard shortcuts
and gestures for a major application mode. ... GtkShortcutsGroup Represents a group of shortcuts in a gtk-shortcuts-window widget. The gtk-shortcuts-group widget represents a group of related keyboard
shortcuts or gestures. ... GtkShortcutsShortcut Represents a keyboard shortcut in a gtk-shortcuts-window widget. gtk-shortcut-type specifies the kind of shortcut that is being
described. ... A gtk-shortcuts-shortcut represents a single keyboard shortcut or
gesture with a short text. ... MiscellaneousGtkAdjustment
A representation of an adjustable bounded value. 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. ... Creates a new adjustment. ... Updates the adjustment value to ensure that the range between lower and upper is in the current page. ... Emits a "changed" signal from the gtk-adjustment. ...
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. ... GtkCalendar
Displays a calendar and allows the user to select a date.
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. ... GtkDrawingAreaGtkEventBox
A widget used to catch events for widgets which do not have their own
window.
Creates a new event box. ... GtkIMContexSimple
An input method context supporting table-based input methods. gtk-im-context-simple is a simple input method context supporting
table-based input methods. ... GtkIMMulticontex
An input method context supporting multiple, loadable input methods.
An input method context supporting multiple, loadable input methods. ... GtkSizeGroup
Grouping widgets so they request the same size.
The mode of the size group determines the directions in which the size
group affects the requested sizes of its component widgets. ... gtk-size-group 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. ...
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. 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 stock-id with the size indicated by icon-size. ...
Sets the icon of the tooltip, which is in front of the text, to be the icon indicated by icon-name with the size indicated by icon-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 icon-size. ... Replaces the widget packed into the tooltip with 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
An adapter which makes widgets scrollable. 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
An interface for widgets that can be associated with actions.
This interface provides a convenient way of associating widgets with actions on a gtk-application-window widget or gtk-application instance. ...
Sets the action name and associated string target value of an actionable
widget. ... GtkBuildable Interface for objects that can be built by a gtk-builder UI
description. Interface for objects that can be built by a gtk-builder UI
description. ...
Accessor of the name of the buildable widget. ...
Adds a child widget to the buildable widget. ... Gets the internal child widget called name of the buildable widget. ... Abstract Base ClassesGtkWidget
Base class for all widgets. The cairo-context structure represents a Cairo context in GTK. ...
Kinds of widget-specific help used in the "show-help" signal handler. ...
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. ... A 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 slot access 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, etc., 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. ...
Accessor of the visual 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. ...
Intended to be connected to the "delete-event" signal on a gtk-window widget. ...
Accessor of the text direction of the widget. ...
Accessor of the 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 objects 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
Base class for widgets which contain other widgets.
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. ...
Emits the "check-resize" signal on the container. ...
The type of the callback functions used for e.g. 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 of a container type. ... GtkRange
Base class for widgets which visualize an adjustment
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, e.g. 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. ... GtkIMContextCross-process EmbeddingGtkPlug
Toplevel for embedding into other processes. Together with gtk-socket, gtk-plug provides the ability to
embed widgets from one process into another process in a fashion that is
transparent to the user. ... 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 function gtk-socket-add-id. ... GtkSocket
Container for widgets from other processes. Together with gtk-plug, gtk-socket 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 function gtk-plug-new. ...
Retrieves the window of the plug. ... Recently Used DocumentsGtkRecentManager
Managing recently used files. The gtk-recent-info structure constains all the meta-data associated
with an entry in the recently used files list. ... Error codes for gtk-recent-manager operations. ... The gtk-recent-manager object provides a facility for adding, removing
and looking up recently used files. ...
Creates a new recent manager object. ...
Gets a unique instance of the default recent manager. ... 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. ...
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. ... Checks whether there is a recently used resource registered with uri
inside the recent manager. ...
Gets the list of recently used resources. ...
Purges every item from the recently used resources 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. ...
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 group appears inside the groups registered for the
recently used item info. ... 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. ... Checks whether two gtk-recent-info instances point to the same
resource. ... GtkRecentChooser
Interface implemented by widgets displaying recently used files.
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. ... Accessor of the URI currently selected by chooser. ... 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
Displays recently used files in a dialog. gtk-recent-chooser-dialog is a dialog box suitable for displaying the
recently used documents. ... Creates a new gtk-recent-chooser-dialog. ... Creates a new gtk-recent-chooser-dialog with a specified recent
manager. ... GtkRecentChooserMenu
Displays recently used files in a menu. 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
Displays recently used files. 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
A filter for selecting a subset of recently used files. A 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. ... A 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 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
Interface implemented by widgets for choosing an application. gtk-app-chooser 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. ...
Returns the currently selected application. ... Reloads the list of applications. ... GtkAppChooserButton
A button to launch an application chooser dialog. The gtk-app-chooser-button is a widget that lets the user select an application. It implements the gtk-app-chooser interface. ...
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 function gtk-app-chooser-button-append-custom-item. ... GtkAppChooserDialog
An application chooser dialog. 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
Application chooser widget that can be embedded in other widgets. gtk-app-chooser-widget is a widget for selecting applications. It is the main building block for gtk-app-chooser-dialog. Most
applications only need to use the latter. But you can use this widget as
part of a larger widget if you have special needs. ...
Creates a new application chooser widget for applications that can
handle content of the given type. ... Gestures and event handlingGtkEventController
Self-contained handler of series of events.
Describes the stage at which events are fed into a gtk-event-controller. ... gtk-event-controller is a base, low-level implementation for event
controllers. ...
Feeds an events into the controller, so it can be interpreted and the
controller actions triggered. ...
Resets the controller to a clean state. ... GtkEventControllerKeyGtkEventControllerScroll
Event controller for scroll events. Describes the behavior of a gtk-event-controller-scroll. ... gtk-event-controller-scroll 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. ... GtkEventControllerMotionGtkGesture
Base class for gestures. gtk-gesture 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 gdk-event-sequence value for these). ... Returns true if the gesture is currently active. ... GtkGestureSingle
Base class for mouse/single-touch gestures. gtk-gesture-single is a subclass of gtk-gesture, 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. ... GtkGestureDrag
Drag gesture Returns 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
"Press and Hold" gesture gtk-gesture-long-press 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
Multipress gesture. gtk-gesture-multi-press 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
Pan gesture Describes the panning direction of a gtk-gesture-pan. ... gtk-gesture-pan 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
Swipe gesture gtk-gesture-swipe 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
Rotate gesture. gtk-gesture-rotate 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
Zoom gesture. gtk-gesture-zoom 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). ... GtkGestureStylusGtkPadControllerGTK 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 macro gtk_init() initializes GTK. In the Lisp binding to GTK, GTK is initialized, when loading the cl-cffi-gtk 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 function gtk_main(). In the Lisp binding this function is implemented as the function gtk-main, but in general it is not used. The function gtk_main() is replaced with the macro within-main-loop, 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 function g-signal-connect. 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 () (within-main-loop (let (;; Create the main window. (window (gtk-window-new :toplevel)))
Returns the Pango language structure 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 function gtk-main-quit 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 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. ... Returns the binary age as passed to libtool when building the GTK
library the process is running against. ... Returns the interface age as passed to libtool when building the
GTK library the process is running against. ...
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 Groups of global keyboard accelerators for an entire gtk-window
widget. Accelerator flags used with the gtk-accel-group-connect function. ... A 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. ... 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. ...
Accessor of the default accelerator modifier mask. ... Accelerator Maps
Loadable keyboard accelerator specifications.
Accelerator maps are used to define runtime configurable accelerators. ...
Registers a new accelerator with the global accelerator map. ... Looks up the accelerator entry for accel-path. ... Parses a file previously saved with the function gtk-accel-map-save
for accelerator specifications, and propagates them accordingly. ...
Saves current accelerator specifications, accelerator path, key and modifiers, to filename. ... Gets the singleton global gtk-accel-map object. ...
Locks the given accelerator path. ... GtkClipboard
Storing data on clipboards. The gtk-clipboard object represents a clipboard of data shared between
different processes or between different widgets in the same process. ...
A callback function to be called when the results of the gtk-clipboard-request-contents function are received, or when the
request fails. ...
A callback function to be called when the results of the gtk-clipboard-request-text function are received, or when the request
fails. ...
A callback function to be called when the results of the gtk-clipboard-request-image function are received, or when the request
fails. ...
A callback function to be called when the results of the gtk-clipboard-request-targets function are received, or when the
request fails. ...
A callback function to be called when the results of the gtk-clipboard-request-rich-text function are received, or when the
request fails. ...
A callback function to be called when the results of the gtk-clipboard-request-uris function are received, or when the request
fails. ...
A callback function that will be called to provide the contents of the
selection. ...
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. ...
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. ...
Requests the contents of the clipboard as the given target. ...
Requests the contents of the clipboard as text. ...
Requests the contents of the clipboard as image. ...
Requests the contents of the clipboard as a list of supported targets. ...
Requests the contents of the clipboard as rich text. ...
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 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 (start-x, start-y) and ending at (current-x, current-y) 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. ... GtkSettings
Sharing settings between applications. Style 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
Public enumerated types used throughout GTK.
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. ... 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 can be switched between horizontal and vertical orientation on the fly, like the gtk-toolbar
widget. ...
Describes which edge of a widget a certain feature is positioned at, e.g. 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. ... 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. A 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 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
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 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
Functions for working with GIO
This is a convenience function for launching the default application to
show the URI. ... Theming in GTKGtkStyleContext
Rendering UI elements.
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, i.e. 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
CSS-like styling for widgets.
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 Interface to provide style information to a gtk-style-context
object.
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
Widget path abstraction. 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
Looking up icons by name. 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. ...
Accessor of the icon theme path directories. ...
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. ...
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.4GtkHandleBoxGtkTable
Deprecated widget which pack widgets in regular patterns.
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. A 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
A deprecated widget used to select a color. The gtk-color-selection widget is used to select a color. ... Creates a new color selector. ... The function gtk-color-selection-previous-alpha returns the previous
alpha value. ... The function gtk-color-selection-previous-color gets the previous
color value. ... The function gtk-color-selection-previous-rgba gets the previous
color. ...
Gets the current state of the color selector. ... GtkColorSelectionDialog
Deprecated dialog box for selecting a color. 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
A deprecated "color wheel" widget. The gtk-hsv widget is the "color wheel" part of a complete color
selector widget. ...
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
Deprecated class for constructing menus and toolbars from an XML
description. These values are used by the function gtk-ui-manager-add-ui to
determine what UI element to create. ... A 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. ... 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 function gtk-ui-manager-add-ui. ...
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. ... GtkActionGroup
A deprecated group of actions.
Actions are organised into groups. An action group is essentially a map from names to gtk-action objects. ... GtkAction
A deprecated action which can be triggered by a menu or toolbar item.
Actions represent operations that the user can be perform, along with some
information how it should be presented in the interface. ...
Creates a new action. ... Returns whether the action is effectively sensitive. ... Returns whether the action is effectively visible. ...
Emits the "activate" signal on the specified action, if it is not
insensitive. ...
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 function gtk-action-connect-accelerator. ... Disable activation signals from the action. ... Reenable activation signals from the action. ...
Accessor of the accel path for the action. ...
Sets the accelerator group in which the accelerator for this action will be
installed. ... GtkToggleActionGtkRadioActionGtkRecentAction
A deprecated action which represents a list of recently used files. A 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. ... GtkActivatable
A deprecated interface for activatable widgets. Activatable widgets can be connected to a gtk-action object and
reflects the state of its action. ... GtkImageMenuItem
A deprecated widget for a menu item with an icon. A 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. ... GtkMisc
A deprecated base class for widgets with alignments and padding. Base class for widgets with alignments and padding. ... Sets the alignment of the widget. ... Sets the amount of space to add around the widget. ... Gets the x and y alignment of the widget within its allocation. ... Gets the padding in the x and y directions of the widget. ... Stock 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 Images
Deprecated structures and functions for manipulating stock icons. Built-in stock icon sizes. ... 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. ... A gtk-icon-set structure manages a set of variants of a particular icon, i.e. a gtk-icon-set instance contains variants for different sizes and
widget states. ... 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 function gtk_style_render_icon(). ... Renders an icon using the function gtk-render-icon-pixbuf. ... An icon factory manages a collection of gtk-icon-set instances. ...
Adds an icon factory to the list of icon factories searched by the function gtk_style_lookup_icon_set(). ...
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 A deprecated g-icon implementation that allows numbered emblems. 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
Deprecated class for displaying an icon in the system tray.
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. GtkAlignment
A deprecated widget which controls the alignment and size of its child. The gtk-alignment widget controls the alignment and size of its child
widget. ... Creates a new alignment. ... Sets the alignment values. ...
Gets the padding on the different sides of the child widget. ...
Sets the padding on the different sides of the widget. ... Deprecated 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 |