typedef GdkRectangle GtkAllocation; A GtkAllocation of a widget represents region which has been allocated to the widget by its parent. It is a subregion of its parents allocation. See the section called “Height-for-width Geometry Management” for more information.
GTK_ACCEL_VISIBLE GTK_ACCEL_LOCKED GTK_ACCEL_MASK
Controls how a widget deals with extra space in a single (x or y) dimension. Alignment only matters if the widget receives a "too large" allocation, for example if you packed the widget with the "expand" flag inside a GtkBox, then the widget might get extra space. If you have for example a 16x16 icon inside a 32x32 space, the icon could be scaled and stretched, it could be centered, or it could be positioned to one side of the space. Note that in horizontal context GTK_ALIGN_START and GTK_ALIGN_END are interpreted relative to text direction. GTK_ALIGN_BASELINE support for it is optional for containers and widgets, and it is only supported for vertical alignment. When its not supported by a child or a container it is treated as GTK_ALIGN_FILL. GTK_ALIGN_FILL stretch to fill all space if possible, center if no meaningful way to stretch GTK_ALIGN_START snap to left or top side, leaving space on right or bottom GTK_ALIGN_END snap to right or bottom side, leaving space on left or top GTK_ALIGN_CENTER center natural width of widget inside the allocation GTK_ALIGN_BASELINE align the widget according to the baseline. Since 3.10.
Types of user actions that may be blocked by gtk_application_inhibit(). GTK_APPLICATION_INHIBIT_LOGOUT Inhibit ending the user session by logging out or by shutting down the computer GTK_APPLICATION_INHIBIT_SWITCH Inhibit user switching GTK_APPLICATION_INHIBIT_SUSPEND Inhibit suspending the session or computer GTK_APPLICATION_INHIBIT_IDLE Inhibit the session being marked as idle (and possibly locked) Since 3.4
Used to specify the placement of scroll arrows in scrolling menus. GTK_ARROWS_BOTH Place one arrow on each end of the menu. GTK_ARROWS_START Place both arrows at the top of the menu. GTK_ARROWS_END Place both arrows at the bottom of the menu.
Used to indicate the direction in which a GtkArrow should point. GTK_ARROW_UP Represents an upward pointing arrow. GTK_ARROW_DOWN Represents a downward pointing arrow. GTK_ARROW_LEFT Represents a left pointing arrow. GTK_ARROW_RIGHT Represents a right pointing arrow. GTK_ARROW_NONE No arrow. Since 2.10.
An enum for determining the page role inside the GtkAssistant. It's used to handle buttons sensitivity and visibility. Note that an assistant needs to end its page flow with a page of type GTK_ASSISTANT_PAGE_CONFIRM, GTK_ASSISTANT_PAGE_SUMMARY or GTK_ASSISTANT_PAGE_PROGRESS to be correct. The Cancel button will only be shown if the page isn't "committed". See gtk_assistant_commit() for details. GTK_ASSISTANT_PAGE_CONTENT The page has regular contents. Both the Back and forward buttons will be shown. GTK_ASSISTANT_PAGE_INTRO The page contains an introduction to the assistant task. Only the Forward button will be shown if there is a next page. GTK_ASSISTANT_PAGE_CONFIRM The page lets the user confirm or deny the changes. The Back and Apply buttons will be shown. GTK_ASSISTANT_PAGE_SUMMARY The page informs the user of the changes done. Only the Close button will be shown. GTK_ASSISTANT_PAGE_PROGRESS Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete. Only the back button will be shown. GTK_ASSISTANT_PAGE_CUSTOM Used for when other page types are not appropriate. No buttons will be shown, and the application must add its own buttons through gtk_assistant_add_action_widget().
Denotes the expansion properties that a widget will have when it (or its parent) is resized. GTK_EXPAND the widget should expand to take up any extra space in its container that has been allocated. GTK_SHRINK the widget should shrink as and when possible. GTK_FILL the widget should fill the space allocated to it.
Describes how the border of a UI element should be rendered. GTK_BORDER_STYLE_NONE No visible border GTK_BORDER_STYLE_SOLID A single line segment GTK_BORDER_STYLE_INSET Looks as if the content is sunken into the canvas GTK_BORDER_STYLE_OUTSET Looks as if the content is coming out of the canvas GTK_BORDER_STYLE_HIDDEN Same as GTK_BORDER_STYLE_NONE GTK_BORDER_STYLE_DOTTED A series of round dots GTK_BORDER_STYLE_DASHED A series of square-ended dashes GTK_BORDER_STYLE_DOUBLE Two parallel lines with some space between them GTK_BORDER_STYLE_GROOVE Looks as if it were carved in the canvas GTK_BORDER_STYLE_RIDGE Looks as if it were coming out of the canvas
Error codes that identify various errors that can occur while using GtkBuilder. GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION A type-func attribute didn't name a function that returns a GType. GTK_BUILDER_ERROR_UNHANDLED_TAG The input contained a tag that GtkBuilder can't handle. GTK_BUILDER_ERROR_MISSING_ATTRIBUTE An attribute that is required by GtkBuilder was missing. GTK_BUILDER_ERROR_INVALID_ATTRIBUTE GtkBuilder found an attribute that it doesn't understand. GTK_BUILDER_ERROR_INVALID_TAG GtkBuilder found a tag that it doesn't understand. GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE A required property value was missing. GTK_BUILDER_ERROR_INVALID_VALUE GtkBuilder couldn't parse some attribute value. GTK_BUILDER_ERROR_VERSION_MISMATCH The input file requires a newer version of GTK+. GTK_BUILDER_ERROR_DUPLICATE_ID An object id occurred twice. GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED A specified object type is of the same type or derived from the type of the composite class being extended with builder XML. GTK_BUILDER_ERROR_TEMPLATE_MISMATCH The wrong type was specified in a composite class's template XML
Used to dictate the style that a GtkButtonBox uses to layout the buttons it contains. (See also: GtkVButtonBox and GtkHButtonBox). GTK_BUTTONBOX_SPREAD Buttons are evenly spread across the box. GTK_BUTTONBOX_EDGE Buttons are placed at the edges of the box. GTK_BUTTONBOX_START Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox). GTK_BUTTONBOX_END Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox). GTK_BUTTONBOX_CENTER Buttons are centered in the box. Since 2.12.
Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use GTK_BUTTONS_NONE then call gtk_dialog_add_buttons(). Note Please note that GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG. GTK_BUTTONS_NONE no buttons at all GTK_BUTTONS_OK an OK button GTK_BUTTONS_CLOSE a Close button GTK_BUTTONS_CANCEL a Cancel button GTK_BUTTONS_YES_NO Yes and No buttons GTK_BUTTONS_OK_CANCEL OK and Cancel buttons
These options can be used to influence the display and behaviour of a GtkCalendar. GTK_CALENDAR_SHOW_HEADING Specifies that the month and year should be displayed. GTK_CALENDAR_SHOW_DAY_NAMES Specifies that three letter day descriptions should be present. GTK_CALENDAR_NO_MONTH_CHANGE Prevents the user from switching months with the calendar. GTK_CALENDAR_SHOW_WEEK_NUMBERS Displays each week numbers of the current year, down the left side of the calendar. GTK_CALENDAR_SHOW_DETAILS Just show an indicator, not the full details text when details are provided. See gtk_calendar_set_detail_func().
GTK_CELL_RENDERER_ACCEL_MODE_GTK GTK_CELL_RENDERER_ACCEL_MODE_OTHER
Identifies how the user can interact with a particular cell. GTK_CELL_RENDERER_MODE_INERT The cell is just for display and cannot be interacted with. Note that this doesn't mean that eg. the row being drawn can't be selected -- just that a particular element of it cannot be individually modified. GTK_CELL_RENDERER_MODE_ACTIVATABLE The cell can be clicked. GTK_CELL_RENDERER_MODE_EDITABLE The cell can be edited or otherwise modified.
Tells how a cell is to be rendered. GTK_CELL_RENDERER_SELECTED The cell is currently selected, and probably has a selection colored background to render to. GTK_CELL_RENDERER_PRELIT The mouse is hovering over the cell. GTK_CELL_RENDERER_INSENSITIVE The cell is drawn in an insensitive manner GTK_CELL_RENDERER_SORTED The cell is in a sorted row GTK_CELL_RENDERER_FOCUSED The cell is in the focus row. GTK_CELL_RENDERER_EXPANDABLE The cell is in a row that can be expanded. Since 3.4 GTK_CELL_RENDERER_EXPANDED The cell is in a row that is expanded. Since 3.4
Specifies which corner a child widget should be placed in when packed into a GtkScrolledWindow. This is effectively the opposite of where the scroll bars are placed. GTK_CORNER_TOP_LEFT Place the scrollbars on the right and bottom of the widget (default behaviour). GTK_CORNER_BOTTOM_LEFT Place the scrollbars on the top and right of the widget. GTK_CORNER_TOP_RIGHT Place the scrollbars on the left and bottom of the widget. GTK_CORNER_BOTTOM_RIGHT Place the scrollbars on the top and left of the widget.
GTK_CSS_PROVIDER_ERROR_FAILED GTK_CSS_PROVIDER_ERROR_SYNTAX GTK_CSS_PROVIDER_ERROR_IMPORT GTK_CSS_PROVIDER_ERROR_NAME GTK_CSS_PROVIDER_ERROR_DEPRECATED GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE
The different types of sections indicate parts of a CSS document as parsed by GTK's CSS parser. They are oriented towards the CSS grammar CSS grammer, but may contain extensions. More types might be added in the future as the parser incorporates more features. GTK_CSS_SECTION_DOCUMENT The section describes a complete document. This section time is the only one where gtk_css_section_get_parent() might return NULL. GTK_CSS_SECTION_IMPORT The section defines an import rule. GTK_CSS_SECTION_COLOR_DEFINITION The section defines a color. This is a GTK extension to CSS. GTK_CSS_SECTION_BINDING_SET The section defines a binding set. This is a GTK extension to CSS. GTK_CSS_SECTION_RULESET The section defines a CSS ruleset. GTK_CSS_SECTION_SELECTOR The section defines a CSS selector. GTK_CSS_SECTION_DECLARATION The section defines the declaration of a CSS variable. GTK_CSS_SECTION_VALUE The section defines the value of a CSS declaration. GTK_CSS_SECTION_KEYFRAMES The section defines keyframes. See CSS animations for details. Since 3.6 Since 3.2
GTK_DELETE_CHARS GTK_DELETE_WORD_ENDS GTK_DELETE_WORDS GTK_DELETE_DISPLAY_LINES GTK_DELETE_DISPLAY_LINE_ENDS GTK_DELETE_PARAGRAPH_ENDS GTK_DELETE_PARAGRAPHS GTK_DELETE_WHITESPACE
The GtkDestDefaults enumeration specifies the various types of action that will be taken on behalf of the user for a drag destination site. GTK_DEST_DEFAULT_MOTION If set for a widget, GTK+, during a drag over this widget will check if the drag matches this widget's list of possible targets and actions. GTK+ will then call gdk_drag_status() as appropriate. GTK_DEST_DEFAULT_HIGHLIGHT If set for a widget, GTK+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable. GTK_DEST_DEFAULT_DROP If set for a widget, when a drop occurs, GTK+ will will check if the drag matches this widget's list of possible targets and actions. If so, GTK+ will call gtk_drag_get_data() on behalf of the widget. Whether or not the drop is successful, GTK+ will call gtk_drag_finish(). If the action was a move, then if the drag was successful, then TRUE will be passed for the delete parameter to gtk_drag_finish(). GTK_DEST_DEFAULT_ALL If set, specifies that all default actions should be taken.
Flags used to influence dialog construction. GTK_DIALOG_MODAL Make the constructed dialog modal, see gtk_window_set_modal() GTK_DIALOG_DESTROY_WITH_PARENT Destroy the dialog when its parent is destroyed, see gtk_window_set_destroy_with_parent()
GTK_DIR_TAB_FORWARD GTK_DIR_TAB_BACKWARD GTK_DIR_UP GTK_DIR_DOWN GTK_DIR_LEFT GTK_DIR_RIGHT
Gives an indication why a drag operation failed. The value can by obtained by connecting to the "drag-failed" signal. GTK_DRAG_RESULT_SUCCESS The drag operation was successful. GTK_DRAG_RESULT_NO_TARGET No suitable drag target. GTK_DRAG_RESULT_USER_CANCELLED The user cancelled the drag operation. GTK_DRAG_RESULT_TIMEOUT_EXPIRED The drag operation timed out. GTK_DRAG_RESULT_GRAB_BROKEN The pointer or keyboard grab used for the drag operation was broken. GTK_DRAG_RESULT_ERROR The drag operation failed due to some unspecified error.
Specifies the side of the entry at which an icon is placed. GTK_ENTRY_ICON_PRIMARY At the beginning of the entry (depending on the text direction). GTK_ENTRY_ICON_SECONDARY At the end of the entry (depending on the text direction). Since 2.16
Used to specify the style of the expanders drawn by a GtkTreeView. GTK_EXPANDER_COLLAPSED The style used for a collapsed subtree. GTK_EXPANDER_SEMI_COLLAPSED Intermediate style used during animation. GTK_EXPANDER_SEMI_EXPANDED Intermediate style used during animation. GTK_EXPANDER_EXPANDED The style used for an expanded subtree.
Describes whether a GtkFileChooser is being used to open existing files or to save to a possibly new file. GTK_FILE_CHOOSER_ACTION_OPEN Indicates open mode. The file chooser will only let the user pick an existing file. GTK_FILE_CHOOSER_ACTION_SAVE Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename. GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder. GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER Indicates a mode for creating a new folder. The file chooser will let the user name an existing or new folder.
Used as a return value of handlers for the "confirm-overwrite" signal of a GtkFileChooser. This value determines whether the file chooser will present the stock confirmation dialog, accept the user's choice of a filename, or let the user choose another filename. GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM The file chooser will present its stock dialog to confirm about overwriting an existing file. GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME The file chooser will terminate and accept the user's choice of a file name. GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN The file chooser will continue running, so as to let the user select another file name. Since 2.8
These identify the various errors that can occur while calling GtkFileChooser functions. GTK_FILE_CHOOSER_ERROR_NONEXISTENT Indicates that a file does not exist. GTK_FILE_CHOOSER_ERROR_BAD_FILENAME Indicates a malformed filename. GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS Indicates a duplicate path (e.g. when adding a bookmark). GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).
These flags indicate what parts of a GtkFileFilterInfo struct are filled or need to be filled. GTK_FILE_FILTER_FILENAME the filename of the file being tested GTK_FILE_FILTER_URI the URI for the file being tested GTK_FILE_FILTER_DISPLAY_NAME the string that will be used to display the file in the file chooser GTK_FILE_FILTER_MIME_TYPE the mime type of the file
GTK_IM_PREEDIT_NOTHING GTK_IM_PREEDIT_CALLBACK GTK_IM_PREEDIT_NONE
GTK_IM_STATUS_NOTHING GTK_IM_STATUS_CALLBACK GTK_IM_STATUS_NONE
GTK_ICON_LOOKUP_NO_SVG Never return SVG icons, even if gdk-pixbuf supports them. Cannot be used together with GTK_ICON_LOOKUP_FORCE_SVG. GTK_ICON_LOOKUP_FORCE_SVG Return SVG icons, even if gdk-pixbuf doesn't support them. Cannot be used together with GTK_ICON_LOOKUP_NO_SVG. GTK_ICON_LOOKUP_USE_BUILTIN When passed to gtk_icon_theme_lookup_icon() includes builtin icons as well as files. For a builtin icon, gtk_icon_info_get_filename() GTK_ICON_LOOKUP_GENERIC_FALLBACK GTK_ICON_LOOKUP_FORCE_SIZE
GTK_ICON_SIZE_INVALID GTK_ICON_SIZE_MENU GTK_ICON_SIZE_SMALL_TOOLBAR GTK_ICON_SIZE_LARGE_TOOLBAR GTK_ICON_SIZE_BUTTON GTK_ICON_SIZE_DND GTK_ICON_SIZE_DIALOG
Error codes for GtkIconTheme operations. GTK_ICON_THEME_NOT_FOUND The icon specified does not exist in the theme GTK_ICON_THEME_FAILED An unspecified error occurred.
An enum for determining where a dropped item goes. GTK_ICON_VIEW_NO_DROP no drop possible GTK_ICON_VIEW_DROP_INTO dropped item replaces the item GTK_ICON_VIEW_DROP_LEFT droppped item is inserted to the left GTK_ICON_VIEW_DROP_RIGHT dropped item is inserted to the right GTK_ICON_VIEW_DROP_ABOVE dropped item is inserted above GTK_ICON_VIEW_DROP_BELOW dropped item is inserted below
Describes the image data representation used by a GtkImage. If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the gtk_image_get_storage_type() returns GTK_IMAGE_PIXBUF, then you can call gtk_image_get_pixbuf() but not gtk_image_get_stock(). For empty images, you can request any storage type (call any of the "get" functions), but they will all return NULL values. GTK_IMAGE_EMPTY there is no image displayed by the widget GTK_IMAGE_PIXBUF the widget contains a GdkPixbuf GTK_IMAGE_STOCK the widget contains a stock icon name (see Stock Items(3)) GTK_IMAGE_ICON_SET the widget contains a GtkIconSet GTK_IMAGE_ANIMATION the widget contains a GdkPixbufAnimation GTK_IMAGE_ICON_NAME the widget contains a named icon. This image type was added in GTK+ 2.6 GTK_IMAGE_GICON the widget contains a GIcon. This image type was added in GTK+ 2.14 GTK_IMAGE_SURFACE the widget contains a cairo_surface_t. This image type was added in GTK+ 3.10
Describes hints that might be taken into account by input methods or applications. Note that input methods may already tailor their behaviour according to the GtkInputPurpose of the entry. Some common sense is expected when using these flags - mixing GTK_INPUT_HINT_LOWERCASE with any of the uppercase hints makes no sense. This enumeration may be extended in the future; input methods should ignore unknown values. GTK_INPUT_HINT_NONE No special behaviour suggested GTK_INPUT_HINT_SPELLCHECK Suggest checking for typos GTK_INPUT_HINT_NO_SPELLCHECK Suggest not checking for typos GTK_INPUT_HINT_WORD_COMPLETION Suggest word completion GTK_INPUT_HINT_LOWERCASE Suggest to convert all text to lowercase GTK_INPUT_HINT_UPPERCASE_CHARS Suggest to capitalize all text GTK_INPUT_HINT_UPPERCASE_WORDS Suggest to capitalize the first character of each word GTK_INPUT_HINT_UPPERCASE_SENTENCES Suggest to capitalize the first word of each sentence GTK_INPUT_HINT_INHIBIT_OSK Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys). Since 3.6
Describes primary purpose of the input widget. This information is useful for on-screen keyboards and similar input methods to decide which keys should be presented to the user. Note that the purpose is not meant to impose a totally strict rule about allowed characters, and does not replace input validation. It is fine for an on-screen keyboard to let the user override the character set restriction that is expressed by the purpose. The application is expected to validate the entry contents, even if it specified a purpose. The difference between GTK_INPUT_PURPOSE_DIGITS and GTK_INPUT_PURPOSE_NUMBER is that the former accepts only digits while the latter also some punctuation (like commas or points, plus, minus) and 'e' or 'E' as in 3.14E+000. This enumeration may be extended in the future; input methods should interpret unknown values as 'free form'. GTK_INPUT_PURPOSE_FREE_FORM Allow any character GTK_INPUT_PURPOSE_ALPHA Allow only alphabetic characters GTK_INPUT_PURPOSE_DIGITS Allow only digits GTK_INPUT_PURPOSE_NUMBER Edited field expects numbers GTK_INPUT_PURPOSE_PHONE Edited field expects phone number GTK_INPUT_PURPOSE_URL Edited field expects URL GTK_INPUT_PURPOSE_EMAIL Edited field expects email address GTK_INPUT_PURPOSE_NAME Edited field expects the name of a person GTK_INPUT_PURPOSE_PASSWORD Like GTK_INPUT_PURPOSE_FREE_FORM, but characters are hidden GTK_INPUT_PURPOSE_PIN Like GTK_INPUT_PURPOSE_DIGITS, but characters are hidden Since 3.6
Describes how a rendered element connects to adjacent elements. GTK_JUNCTION_NONE No junctions. GTK_JUNCTION_CORNER_TOPLEFT Element connects on the top-left corner. GTK_JUNCTION_CORNER_TOPRIGHT Element connects on the top-right corner. GTK_JUNCTION_CORNER_BOTTOMLEFT Element connects on the bottom-left corner. GTK_JUNCTION_CORNER_BOTTOMRIGHT Element connects on the bottom-right corner. GTK_JUNCTION_TOP Element connects on the top side. GTK_JUNCTION_BOTTOM Element connects on the bottom side. GTK_JUNCTION_LEFT Element connects on the left side. GTK_JUNCTION_RIGHT Element connects on the right side.
Used for justifying the text inside a GtkLabel widget. (See also GtkAlignment). GTK_JUSTIFY_LEFT The text is placed at the left edge of the label. GTK_JUSTIFY_RIGHT The text is placed at the right edge of the label. GTK_JUSTIFY_CENTER The text is placed in the center of the label. GTK_JUSTIFY_FILL The text is placed is distributed across the label.
Describes how GtkLevelBar contents should be rendered. Note that this enumeration could be extended with additional modes in the future. GTK_LEVEL_BAR_MODE_CONTINUOUS the bar has a continuous mode GTK_LEVEL_BAR_MODE_DISCRETE the bar has a discrete mode Since 3.6
The type of license for an application. This enumeration can be expanded at later date. GTK_LICENSE_UNKNOWN No license specified GTK_LICENSE_CUSTOM A license text is going to be specified by the developer GTK_LICENSE_GPL_2_0 The GNU General Public License, version 2.0 GTK_LICENSE_GPL_3_0 The GNU General Public License, version 3.0 GTK_LICENSE_LGPL_2_1 The GNU Lesser General Public License, version 2.1 GTK_LICENSE_LGPL_3_0 The GNU Lesser General Public License, version 3.0 GTK_LICENSE_BSD The BSD standard license GTK_LICENSE_MIT_X11 The MIT/X11 standard license GTK_LICENSE_ARTISTIC The Artistic License, version 2.0 Since 3.0
An enumeration representing directional movements within a menu. GTK_MENU_DIR_PARENT To the parent menu shell GTK_MENU_DIR_CHILD To the submenu, if any, associated with the item GTK_MENU_DIR_NEXT To the next menu item GTK_MENU_DIR_PREV To the previous menu item Property Details The "take-focus" property "take-focus" gboolean : Read / Write A boolean that determines whether the menu and its submenus grab the keyboard focus. See gtk_menu_shell_set_take_focus() and gtk_menu_shell_get_take_focus(). Default value: TRUE Since 2.8 Signal Details The "activate-current" signal void user_function (GtkMenuShell *menushell, gboolean force_hide, gpointer user_data) : Action An action signal that activates the current menu item within the menu shell. menushell : the object which received the signal force_hide : if TRUE, hide the menu after activating the menu item user_data : user data set when the signal handler was connected.
The type of message being displayed in the dialog. GTK_MESSAGE_INFO Informational message GTK_MESSAGE_WARNING Non-fatal warning message GTK_MESSAGE_QUESTION Question requiring a choice GTK_MESSAGE_ERROR Fatal error message GTK_MESSAGE_OTHER None of the above, doesn't get an icon
GTK_MOVEMENT_LOGICAL_POSITIONS Move forward or back by graphemes GTK_MOVEMENT_VISUAL_POSITIONS Move left or right by graphemes GTK_MOVEMENT_WORDS Move forward or back by words GTK_MOVEMENT_DISPLAY_LINES Move up or down lines (wrapped lines) GTK_MOVEMENT_DISPLAY_LINE_ENDS Move to either end of a line GTK_MOVEMENT_PARAGRAPHS Move up or down paragraphs (newline-ended lines) GTK_MOVEMENT_PARAGRAPH_ENDS Move to either end of a paragraph GTK_MOVEMENT_PAGES Move by pages GTK_MOVEMENT_BUFFER_ENDS Move to ends of the buffer GTK_MOVEMENT_HORIZONTAL_PAGES Move horizontally by pages
The GtkNotebookTab is not documented
Used to determine the layout of pages on a sheet when printing multiple pages per sheet. GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT
Represents the orientation of widgets which can be switched between horizontal and vertical orientation on the fly, like GtkToolbar. GTK_ORIENTATION_HORIZONTAL The widget is in horizontal orientation. GTK_ORIENTATION_VERTICAL The widget is in vertical orientation.
Determines how widgets should be packed inside menubars and menuitems contained in menubars. GTK_PACK_DIRECTION_LTR Widgets are packed left-to-right GTK_PACK_DIRECTION_RTL Widgets are packed right-to-left GTK_PACK_DIRECTION_TTB Widgets are packed top-to-bottom GTK_PACK_DIRECTION_BTT Widgets are packed bottom-to-top
Represents the packing location GtkBox children. (See: GtkVBox, GtkHBox, and GtkButtonBox). GTK_PACK_START The child is packed into the start of the box GTK_PACK_END The child is packed into the end of the box
GTK_PAGE_ORIENTATION_PORTRAIT GTK_PAGE_ORIENTATION_LANDSCAPE GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE
GTK_PAGE_SET_ALL GTK_PAGE_SET_EVEN GTK_PAGE_SET_ODD
GTK_PATH_PRIO_LOWEST GTK_PATH_PRIO_GTK GTK_PATH_PRIO_APPLICATION GTK_PATH_PRIO_THEME GTK_PATH_PRIO_RC GTK_PATH_PRIO_HIGHEST
GTK_PATH_WIDGET GTK_PATH_WIDGET_CLASS GTK_PATH_CLASS
These flags serve two purposes. First, the application can call gtk_places_sidebar_set_open_flags() using these flags as a bitmask. This tells the sidebar that the application is able to open folders selected from the sidebar in various ways, for example, in new tabs or in new windows in addition to the normal mode. Second, when one of these values gets passed back to the application in the "open-location" signal, it means that the application should open the selected location in the normal way, in a new tab, or in a new window. The sidebar takes care of determining the desired way to open the location, based on the modifier keys that the user is pressing at the time the selection is made. If the application never calls gtk_places_sidebar_set_open_flags(), then the sidebar will only use GTK_PLACES_OPEN_NORMAL in the "open-location" signal. This is the default mode of operation. GTK_PLACES_OPEN_NORMAL This is the default mode that GtkPlacesSidebar uses if no other flags are specified. It indicates that the calling application should open the selected location in the normal way, for example, in the folder view beside the sidebar. GTK_PLACES_OPEN_NEW_TAB When passed to gtk_places_sidebar_set_open_flags(), this indicates that the application can open folders selected from the sidebar in new tabs. This value will be passed to the "open-location" signal when the user selects that a location be opened in a new tab instead of in the standard fashion. GTK_PLACES_OPEN_NEW_WINDOW Similar to GTK_PLACES_OPEN_NEW_TAB, but indicates that the application can open folders in new windows.
Determines when a scroll bar will be visible. GTK_POLICY_ALWAYS The scrollbar is always visible. GTK_POLICY_AUTOMATIC The scrollbar will appear and disappear as necessary. For example, when all of a GtkCList can not be seen. GTK_POLICY_NEVER The scrollbar will never appear.
Describes which edge of a widget a certain feature is positioned at, e.g. the tabs of a GtkNotebook, the handle of a GtkHandleBox or the label of a GtkScale. GTK_POS_LEFT The feature is at the left edge. GTK_POS_RIGHT The feature is at the right edge. GTK_POS_TOP The feature is at the top edge. GTK_POS_BOTTOM The feature is at the bottom edge.
An enum for specifying which features the print dialog should offer. If neither GTK_PRINT_CAPABILITY_GENERATE_PDF nor GTK_PRINT_CAPABILITY_GENERATE_PS is specified, GTK+ assumes that all formats are supported. GTK_PRINT_CAPABILITY_PAGE_SET Print dialog will offer printing even/odd pages. GTK_PRINT_CAPABILITY_COPIES Print dialog will allow to print multiple copies. GTK_PRINT_CAPABILITY_COLLATE Print dialog will allow to collate multiple copies. GTK_PRINT_CAPABILITY_REVERSE Print dialog will allow to print pages in reverse order. GTK_PRINT_CAPABILITY_SCALE Print dialog will allow to scale the output. GTK_PRINT_CAPABILITY_GENERATE_PDF The program will send the document to the printer in PDF format GTK_PRINT_CAPABILITY_GENERATE_PS The program will send the document to the printer in Postscript format GTK_PRINT_CAPABILITY_PREVIEW Print dialog will offer a preview GTK_PRINT_CAPABILITY_NUMBER_UP Print dialog will offer printing multiple pages per sheet. Since 2.12 GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT Print dialog will allow to rearrange pages when printing multiple pages per sheet. Since 2.14
GTK_PRINT_DUPLEX_SIMPLEX GTK_PRINT_DUPLEX_HORIZONTAL GTK_PRINT_DUPLEX_VERTICAL
Error codes that identify various errors that can occur while using the GTK+ printing support. GTK_PRINT_ERROR_GENERAL An unspecified error occurred. GTK_PRINT_ERROR_INTERNAL_ERROR An internal error occurred. GTK_PRINT_ERROR_NOMEM A memory allocation failed. GTK_PRINT_ERROR_INVALID_FILE An error occurred while loading a page setup or paper size from a key file.
The action parameter to gtk_print_operation_run() determines what action the print operation should perform. GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG Show the print dialog. GTK_PRINT_OPERATION_ACTION_PRINT Start to print without showing the print dialog, based on the current print settings. GTK_PRINT_OPERATION_ACTION_PREVIEW Show the print preview. GTK_PRINT_OPERATION_ACTION_EXPORT Export to a file. This requires the export-filename property to be set.
A value of this type is returned by gtk_print_operation_run(). GTK_PRINT_OPERATION_RESULT_ERROR An error has occured. GTK_PRINT_OPERATION_RESULT_APPLY The print settings should be stored. GTK_PRINT_OPERATION_RESULT_CANCEL The print operation has been canceled, the print settings should not be stored. GTK_PRINT_OPERATION_RESULT_IN_PROGRESS The print operation is not complete yet. This value will only be returned when running asynchronously.
GTK_PRINT_PAGES_ALL GTK_PRINT_PAGES_CURRENT GTK_PRINT_PAGES_RANGES GTK_PRINT_PAGES_SELECTION
GTK_PRINT_QUALITY_LOW GTK_PRINT_QUALITY_NORMAL GTK_PRINT_QUALITY_HIGH GTK_PRINT_QUALITY_DRAFT
The status gives a rough indication of the completion of a running print operation. GTK_PRINT_STATUS_INITIAL The printing has not started yet; this status is set initially, and while the print dialog is shown. GTK_PRINT_STATUS_PREPARING This status is set while the begin-print signal is emitted and during pagination. GTK_PRINT_STATUS_GENERATING_DATA This status is set while the pages are being rendered. GTK_PRINT_STATUS_SENDING_DATA The print job is being sent off to the printer. GTK_PRINT_STATUS_PENDING The print job has been sent to the printer, but is not printed for some reason, e.g. the printer may be stopped. GTK_PRINT_STATUS_PENDING_ISSUE Some problem has occurred during printing, e.g. a paper jam. GTK_PRINT_STATUS_PRINTING The printer is processing the print job. GTK_PRINT_STATUS_FINISHED The printing has been completed successfully. GTK_PRINT_STATUS_FINISHED_ABORTED The printing has been aborted.
GTK_RC_FG GTK_RC_BG GTK_RC_TEXT GTK_RC_BASE
Warning GtkRcTokenType has been deprecated since version 3.0 and should not be used in newly-written code. Use GtkCssProvider instead. The GtkRcTokenType enumeration represents the tokens in the RC file. It is exposed so that theme engines can reuse these tokens when parsing the theme-engine specific portions of a RC file. GTK_RC_TOKEN_INVALID GTK_RC_TOKEN_INCLUDE GTK_RC_TOKEN_NORMAL GTK_RC_TOKEN_ACTIVE GTK_RC_TOKEN_PRELIGHT GTK_RC_TOKEN_SELECTED GTK_RC_TOKEN_INSENSITIVE GTK_RC_TOKEN_FG GTK_RC_TOKEN_BG GTK_RC_TOKEN_TEXT GTK_RC_TOKEN_BASE GTK_RC_TOKEN_XTHICKNESS GTK_RC_TOKEN_YTHICKNESS GTK_RC_TOKEN_FONT GTK_RC_TOKEN_FONTSET GTK_RC_TOKEN_FONT_NAME GTK_RC_TOKEN_BG_PIXMAP GTK_RC_TOKEN_PIXMAP_PATH GTK_RC_TOKEN_STYLE GTK_RC_TOKEN_BINDING GTK_RC_TOKEN_BIND GTK_RC_TOKEN_WIDGET GTK_RC_TOKEN_WIDGET_CLASS GTK_RC_TOKEN_CLASS GTK_RC_TOKEN_LOWEST GTK_RC_TOKEN_GTK GTK_RC_TOKEN_APPLICATION GTK_RC_TOKEN_THEME GTK_RC_TOKEN_RC GTK_RC_TOKEN_HIGHEST GTK_RC_TOKEN_ENGINE GTK_RC_TOKEN_MODULE_PATH GTK_RC_TOKEN_IM_MODULE_PATH GTK_RC_TOKEN_IM_MODULE_FILE GTK_RC_TOKEN_STOCK GTK_RC_TOKEN_LTR GTK_RC_TOKEN_RTL GTK_RC_TOKEN_COLOR GTK_RC_TOKEN_UNBIND GTK_RC_TOKEN_LAST
These identify the various errors that can occur while calling GtkRecentChooser functions. GTK_RECENT_CHOOSER_ERROR_NOT_FOUND Indicates that a file does not exist GTK_RECENT_CHOOSER_ERROR_INVALID_URI Indicates a malformed URI Since 2.10
These flags indicate what parts of a GtkRecentFilterInfo struct are filled or need to be filled. GTK_RECENT_FILTER_URI the URI of the file being tested GTK_RECENT_FILTER_DISPLAY_NAME the string that will be used to display the file in the recent chooser GTK_RECENT_FILTER_MIME_TYPE the mime type of the file GTK_RECENT_FILTER_APPLICATION the list of applications that have registered the file GTK_RECENT_FILTER_GROUP the groups to which the file belongs to GTK_RECENT_FILTER_AGE the number of days elapsed since the file has been registered
Error codes for GtkRecentManager operations GTK_RECENT_MANAGER_ERROR_NOT_FOUND the URI specified does not exists in the recently used resources list. GTK_RECENT_MANAGER_ERROR_INVALID_URI the URI specified is not valid. GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING the supplied string is not UTF-8 encoded. GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED no application has registered the specified item. GTK_RECENT_MANAGER_ERROR_READ failure while reading the recently used resources file. GTK_RECENT_MANAGER_ERROR_WRITE failure while writing the recently used resources file. GTK_RECENT_MANAGER_ERROR_UNKNOWN unspecified error. Since 2.10
Used to specify the sorting method to be applyed to the recently used resource list. GTK_RECENT_SORT_NONE Do not sort the returned list of recently used resources. GTK_RECENT_SORT_MRU Sort the returned list with the most recently used items first. GTK_RECENT_SORT_LRU Sort the returned list with the least recently used items first. GTK_RECENT_SORT_CUSTOM Sort the returned list using a custom sorting function passed using gtk_recent_chooser_set_sort_func(). Since 2.10
Describes a region within a widget. GTK_REGION_EVEN Region has an even number within a set. GTK_REGION_ODD Region has an odd number within a set. GTK_REGION_FIRST Region is the first one within a set. GTK_REGION_LAST Region is the last one within a set. GTK_REGION_ONLY Region is the only one within a set. GTK_REGION_SORTED Region is part of a sorted area.
Indicated the relief to be drawn around a GtkButton. GTK_RELIEF_NORMAL Draw a normal relief. GTK_RELIEF_HALF A half relief. GTK_RELIEF_NONE No relief.
GTK_RESIZE_PARENT Pass resize request to the parent GTK_RESIZE_QUEUE Queue resizes on this widget GTK_RESIZE_IMMEDIATE Resize immediately. Deprecated.
Predefined values for use as response ids in gtk_dialog_add_button(). All predefined values are negative, GTK+ leaves positive values for application-defined response ids. GTK_RESPONSE_NONE Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed GTK_RESPONSE_REJECT Generic response id, not used by GTK+ dialogs GTK_RESPONSE_ACCEPT Generic response id, not used by GTK+ dialogs GTK_RESPONSE_DELETE_EVENT Returned if the dialog is deleted GTK_RESPONSE_OK Returned by OK buttons in GTK+ dialogs GTK_RESPONSE_CANCEL Returned by Cancel buttons in GTK+ dialogs GTK_RESPONSE_CLOSE Returned by Close buttons in GTK+ dialogs GTK_RESPONSE_YES Returned by Yes buttons in GTK+ dialogs GTK_RESPONSE_NO Returned by No buttons in GTK+ dialogs GTK_RESPONSE_APPLY Returned by Apply buttons in GTK+ dialogs GTK_RESPONSE_HELP Returned by Help buttons in GTK+ dialogs
These enumeration values describe the possible transitions when the child of a GtkRevealer widget is shown or hidden. GTK_REVEALER_TRANSITION_TYPE_NONE No transition GTK_REVEALER_TRANSITION_TYPE_CROSSFADE Fade in GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT Slide in from the left GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT Slide in from the right GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP Slide in from the bottom GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN Slide in from the top
GTK_SCROLL_STEPS GTK_SCROLL_PAGES GTK_SCROLL_ENDS GTK_SCROLL_HORIZONTAL_STEPS GTK_SCROLL_HORIZONTAL_PAGES GTK_SCROLL_HORIZONTAL_ENDS
GTK_SCROLL_NONE GTK_SCROLL_JUMP GTK_SCROLL_STEP_BACKWARD GTK_SCROLL_STEP_FORWARD GTK_SCROLL_PAGE_BACKWARD GTK_SCROLL_PAGE_FORWARD GTK_SCROLL_STEP_UP GTK_SCROLL_STEP_DOWN GTK_SCROLL_PAGE_UP GTK_SCROLL_PAGE_DOWN GTK_SCROLL_STEP_LEFT GTK_SCROLL_STEP_RIGHT GTK_SCROLL_PAGE_LEFT GTK_SCROLL_PAGE_RIGHT GTK_SCROLL_START GTK_SCROLL_END
Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation. GTK_SCROLL_MINIMUM Scrollable adjustments are based on the minimum size GTK_SCROLL_NATURAL Scrollable adjustments are based on the natural size
Used to control what selections users are allowed to make. GTK_SELECTION_NONE No selection is possible. GTK_SELECTION_SINGLE Zero or one element may be selected. GTK_SELECTION_BROWSE Exactly one element is selected. In some circumstances, such as initially or during a search operation, it's possible for no element to be selected with GTK_SELECTION_BROWSE. What is really enforced is that the user can't deselect a currently selected element except by selecting another element. GTK_SELECTION_MULTIPLE Any number of elements may be selected. The Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to. Some widgets may also allow Click-drag to select a range of elements.
Determines how GTK+ handles the sensitivity of stepper arrows at the end of range widgets. GTK_SENSITIVITY_AUTO The arrow is made insensitive if the thumb is at the end GTK_SENSITIVITY_ON The arrow is always sensitive GTK_SENSITIVITY_OFF The arrow is always insensitive
Used to change the appearance of an outline typically provided by a GtkFrame. GTK_SHADOW_NONE No outline. GTK_SHADOW_IN The outline is bevelled inwards. GTK_SHADOW_OUT The outline is bevelled outwards like a button. GTK_SHADOW_ETCHED_IN The outline has a sunken 3d appearance. GTK_SHADOW_ETCHED_OUT The outline has a raised 3d appearance.
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_NONE group has no effect GTK_SIZE_GROUP_HORIZONTAL group affects horizontal requisition GTK_SIZE_GROUP_VERTICAL group affects vertical requisition GTK_SIZE_GROUP_BOTH group affects both horizontal and vertical requisition
Specifies a preference for height-for-width or width-for-height geometry management. GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH Prefer height-for-width geometry management GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT Prefer width-for-height geometry management GTK_SIZE_REQUEST_CONSTANT_SIZE Don't trade height-for-width or width-for-height
Determines the direction of a sort. GTK_SORT_ASCENDING Sorting is in ascending order. GTK_SORT_DESCENDING Sorting is in descending order.
The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment. See gtk_spin_button_set_update_policy(). GTK_UPDATE_ALWAYS When refreshing your GtkSpinButton, the value is always displayed GTK_UPDATE_IF_VALID When refreshing your GtkSpinButton, the value is only displayed if it is valid within the bounds of the spin button's adjustment
The values of the GtkSpinType enumeration are used to specify the change to make in gtk_spin_button_spin(). GTK_SPIN_STEP_FORWARD Increment by the adjustments step increment. GTK_SPIN_STEP_BACKWARD Decrement by the adjustments step increment. GTK_SPIN_PAGE_FORWARD Increment by the adjustments page increment. GTK_SPIN_PAGE_BACKWARD Decrement by the adjustments page increment. GTK_SPIN_HOME Go to the adjustments lower bound. GTK_SPIN_END Go to the adjustments upper bound. GTK_SPIN_USER_DEFINED Change by a specified amount.
These enumeration values describe the possible transitions between pages in a GtkStack widget. GTK_STACK_TRANSITION_TYPE_NONE No transition GTK_STACK_TRANSITION_TYPE_CROSSFADE A cross-fade GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT Slide from left to right GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT Slide from right to left GTK_STACK_TRANSITION_TYPE_SLIDE_UP Slide from bottom up GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN Slide from top down GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT Slide from left or right according to the children order GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN Slide from top down or bottom up according to the order
Describes a widget state. Widget states are used to match the widget against CSS pseudo-classes. Note that GTK extends the regular CSS classes and sometimes uses different names. GTK_STATE_FLAG_NORMAL State during normal operation. GTK_STATE_FLAG_ACTIVE Widget is active. GTK_STATE_FLAG_PRELIGHT Widget has a mouse pointer over it. GTK_STATE_FLAG_SELECTED Widget is selected. GTK_STATE_FLAG_INSENSITIVE Widget is insensitive. GTK_STATE_FLAG_INCONSISTENT Widget is inconsistent. GTK_STATE_FLAG_FOCUSED Widget has the keyboard focus. GTK_STATE_FLAG_BACKDROP Widget is in a background toplevel window. GTK_STATE_FLAG_DIR_LTR Widget is in left-to-right text direction. Since 3.8 GTK_STATE_FLAG_DIR_RTL Widget is in right-to-left text direction. Since 3.8
This type indicates the current state of a widget; the state determines how the widget is drawn. The GtkStateType enumeration is also used to identify different colors in a GtkStyle for drawing, so states can be used for subparts of a widget as well as entire widgets. GTK_STATE_NORMAL State during normal operation. GTK_STATE_ACTIVE State of a currently active widget, such as a depressed button. GTK_STATE_PRELIGHT State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. GTK_STATE_SELECTED State of a selected item, such the selected row in a list. GTK_STATE_INSENSITIVE State indicating that the widget is unresponsive to user actions. GTK_STATE_INCONSISTENT The widget is inconsistent, such as checkbuttons or radiobuttons that aren't either set to TRUE nor FALSE, or buttons requiring the user attention. GTK_STATE_FOCUSED The widget has the keyboard focus.
The GtkTargetFlags enumeration is used to specify constraints on an entry in a GtkTargetTable. GTK_TARGET_SAME_APP If this is set, the target will only be selected for drags within a single application. GTK_TARGET_SAME_WIDGET If this is set, the target will only be selected for drags within a single widget. GTK_TARGET_OTHER_APP If this is set, the target will not be selected for drags within a single application. GTK_TARGET_OTHER_WIDGET If this is set, the target will not be selected for drags withing a single widget.
GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT GTK_TEXT_BUFFER_TARGET_INFO_TEXT
GTK_TEXT_DIR_NONE GTK_TEXT_DIR_LTR GTK_TEXT_DIR_RTL
Flags affecting how a search is done. If neither GTK_TEXT_SEARCH_VISIBLE_ONLY nor GTK_TEXT_SEARCH_TEXT_ONLY are enabled, the match must be exact; the special 0xFFFC character will match embedded pixbufs or child widgets. GTK_TEXT_SEARCH_VISIBLE_ONLY Search only visible data. A search match may have invisible text interspersed. GTK_TEXT_SEARCH_TEXT_ONLY Search only text. A match may have pixbufs or child widgets mixed inside the matched range. GTK_TEXT_SEARCH_CASE_INSENSITIVE The text will be matched regardless of what case it is in.
GTK_TEXT_WINDOW_PRIVATE GTK_TEXT_WINDOW_WIDGET GTK_TEXT_WINDOW_TEXT GTK_TEXT_WINDOW_LEFT GTK_TEXT_WINDOW_RIGHT GTK_TEXT_WINDOW_TOP GTK_TEXT_WINDOW_BOTTOM
Flags used to specify the supported drag targets. GTK_TOOL_PALETTE_DRAG_ITEMS Support drag of items. GTK_TOOL_PALETTE_DRAG_GROUPS Support drag of groups.
GTK_TOOLBAR_SPACE_EMPTY GTK_TOOLBAR_SPACE_LINE
Used to customize the appearance of a GtkToolbar. Note that setting the toolbar style overrides the user's preferences for the default toolbar style. Note that if the button has only a label set and GTK_TOOLBAR_ICONS is used, the label will be visible, and vice versa. GTK_TOOLBAR_ICONS Buttons display only icons in the toolbar. GTK_TOOLBAR_TEXT Buttons display only text labels in the toolbar. GTK_TOOLBAR_BOTH Buttons display text and icons in the toolbar. GTK_TOOLBAR_BOTH_HORIZ Buttons display icons and text alongside each other, rather than vertically stacked
These flags indicate various properties of a GtkTreeModel. They are returned by gtk_tree_model_get_flags(), and must be static for the lifetime of the object. A more complete description of GTK_TREE_MODEL_ITERS_PERSIST can be found in the overview of this section. GTK_TREE_MODEL_ITERS_PERSIST iterators survive all signals emitted by the tree GTK_TREE_MODEL_LIST_ONLY the model is a list only, and never has children
The sizing method the column uses to determine its width. Please note that GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and can make columns appear choppy. GTK_TREE_VIEW_COLUMN_GROW_ONLY Columns only get bigger in reaction to changes in the model GTK_TREE_VIEW_COLUMN_AUTOSIZE Columns resize to be the optimal size everytime the model changes. GTK_TREE_VIEW_COLUMN_FIXED Columns are a fixed numbers of pixels wide.
An enum for determining where a dropped row goes. GTK_TREE_VIEW_DROP_BEFORE dropped row is inserted before GTK_TREE_VIEW_DROP_AFTER dropped row is inserted after GTK_TREE_VIEW_DROP_INTO_OR_BEFORE dropped row becomes a child or is inserted before GTK_TREE_VIEW_DROP_INTO_OR_AFTER dropped row becomes a child or is inserted after
Used to indicate which grid lines to draw in a tree view. GTK_TREE_VIEW_GRID_LINES_NONE No grid lines. GTK_TREE_VIEW_GRID_LINES_HORIZONTAL Horizontal grid lines. GTK_TREE_VIEW_GRID_LINES_VERTICAL Vertical grid lines. GTK_TREE_VIEW_GRID_LINES_BOTH Horizontal and vertical grid lines.
Warning GtkUIManagerItemType is deprecated and should not be used in newly-written code. 3.10 These enumeration values are used by gtk_ui_manager_add_ui() to determine what UI element to create. GTK_UI_MANAGER_AUTO Pick the type of the UI element according to context. GTK_UI_MANAGER_MENUBAR Create a menubar. GTK_UI_MANAGER_MENU Create a menu. GTK_UI_MANAGER_TOOLBAR Create a toolbar. GTK_UI_MANAGER_PLACEHOLDER Insert a placeholder. GTK_UI_MANAGER_POPUP Create a popup menu. GTK_UI_MANAGER_MENUITEM Create a menuitem. GTK_UI_MANAGER_TOOLITEM Create a toolitem. GTK_UI_MANAGER_SEPARATOR Create a separator. GTK_UI_MANAGER_ACCELERATOR Install an accelerator. GTK_UI_MANAGER_POPUP_WITH_ACCELS Same as GTK_UI_MANAGER_POPUP, but the actions' accelerators are shown.
GTK_UNIT_NONE GTK_UNIT_POINTS GTK_UNIT_INCH GTK_UNIT_MM
GTK_WIDGET_HELP_TOOLTIP GTK_WIDGET_HELP_WHATS_THIS
Window placement can be influenced using this enumeration. Note that using GTK_WIN_POS_CENTER_ALWAYS is almost always a bad idea. It won't necessarily work well with all window managers or on all windowing systems. GTK_WIN_POS_NONE No influence is made on placement. GTK_WIN_POS_CENTER Windows should be placed in the center of the screen. GTK_WIN_POS_MOUSE Windows should be placed at the current mouse position. GTK_WIN_POS_CENTER_ALWAYS Keep window centered as it changes size, etc. GTK_WIN_POS_CENTER_ON_PARENT Center the window on its transient parent (see gtk_window_set_transient_for()).
A GtkWindow can be one of these types. Most things you'd consider a "window" should have type GTK_WINDOW_TOPLEVEL; windows with this type are managed by the window manager and have a frame by default (call gtk_window_set_decorated() to toggle the frame). Windows with type GTK_WINDOW_POPUP are ignored by the window manager; window manager keybindings won't work on them, the window manager won't decorate the window with a frame, many GTK+ features that rely on the window manager will not work (e.g. resize grips and maximization/minimization). GTK_WINDOW_POPUP is used to implement widgets such as GtkMenu or tooltips that you normally don't think of as windows per se. Nearly all windows should be GTK_WINDOW_TOPLEVEL. In particular, do not use GTK_WINDOW_POPUP just to turn off the window borders; use gtk_window_set_decorated() for that. GTK_WINDOW_TOPLEVEL A regular window, such as a dialog. GTK_WINDOW_POPUP A special window such as a tooltip.
Describes a type of line wrapping. GTK_WRAP_NONE do not wrap lines; just make the text area wider GTK_WRAP_CHAR wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see pango_get_log_attrs()) GTK_WRAP_WORD wrap text, breaking lines in between words GTK_WRAP_WORD_CHAR wrap text, breaking lines in between words, or if that is not enough, also between graphemes
Main Gtk struct. The GtkAboutDialog struct contains only private fields and should not be directly accessed.
Main Gtk struct. An object representing and maintaining a group of accelerators.
Main Gtk struct. The GtkAccelLabel struct contains private data only, and should be accessed using the functions below.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Warning GtkActionEntry is deprecated and should not be used in newly-written code. 3.10 GtkActionEntry structs are used with gtk_action_group_add_actions() to construct actions. const gchar *name; The name of the action. const gchar *stock_id; The stock id for the action, or the name of an icon from the icon theme. const gchar *label; The label for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain(). If label is NULL, the label of the stock item with id stock_id is used. const gchar *accelerator; The accelerator for the action, in the format understood by gtk_accelerator_parse(). const gchar *tooltip; The tooltip for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain(). GCallback callback; The function to call when the action is activated.
Main Gtk struct.
Main Gtk struct. An opaque pointer type.
The interface vtable for GtkActionable. GTypeInterface g_iface; get_action_name () virtual pointer for gtk_actionable_get_action_name() set_action_name () virtual pointer for gtk_actionable_set_action_name() get_action_target_value () virtual pointer for gtk_actionable_get_action_target_value() set_action_target_value () virtual pointer for gtk_actionable_set_action_target_value
Main Gtk struct.
Warning GtkActivatableIface is deprecated and should not be used in newly-written code. 3.10 GTypeInterface g_iface; update () Called to update the activatable when its related action's properties change. You must check the "use-action-appearance" property only apply action properties that are meant to effect the appearance accordingly. sync_action_properties () Called to update the activatable completely, this is called internally when "related-action" property is set or unset and by the implementor when "use-action-appearance" changes. Note This method can be called with a NULL action at times Since 2.16
Main Gtk struct. The GtkAdjustment struct contains only private fields and should not be directly accessed.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
A GtkBindingArg holds the data associated with an argument for a key binding signal emission as stored in GtkBindingSignal. GType arg_type; implementation detail
Each key binding element of a binding sets binding list is represented by a GtkBindingEntry. guint keyval; key value to match GdkModifierType modifiers; key modifiers to match GtkBindingSet *binding_set; binding set this entry belongs to guint destroyed : 1; implementation detail guint in_emission : 1; implementation detail guint marks_unbound : 1; implementation detail GtkBindingEntry *set_next; linked list of entries maintained by binding set GtkBindingEntry *hash_next; implementation detail GtkBindingSignal *signals; action signals of this entry
Main Gtk struct. A binding set maintains a list of activatable key bindings. A single binding set can match multiple types of widgets. Similar to style contexts, can be matched by any information contained in a widgets GtkWidgetPath. When a binding within a set is matched upon activation, an action signal is emitted on the target widget to carry out the actual activation. gchar *set_name; unique name of this binding set gint priority; unused GSList *widget_path_pspecs; unused GSList *widget_class_pspecs; unused GSList *class_branch_pspecs; unused GtkBindingEntry *entries; the key binding entries in this binding set GtkBindingEntry *current; implementation detail guint parsed : 1; whether this binding set stems from a CSS file and is reset upon theme changes
A GtkBindingSignal stores the necessary information to activate a widget in response to a key press via a signal emission. GtkBindingSignal *next; implementation detail gchar *signal_name; the action signal to be emitted guint n_args; number of arguments specified for the signal GtkBindingArg *args; the arguments specified for the signal
A struct that specifies a border around a rectangular area that can be of different width on each side. gint16 left; The width of the left border gint16 right; The width of the right border gint16 top; The width of the top border gint16 bottom; The width of the bottom border
Main Gtk struct.
Main Gtk struct.
The GtkBuildableIface interface contains method that are necessary to allow GtkBuilder to construct an object from a GtkBuilder UI definition. GTypeInterface g_iface; the parent class set_name () Stores the name attribute given in the GtkBuilder UI definition. GtkWidget stores the name as object data. Implement this method if your object has some notion of "name" and it makes sense to map the XML name attribute to it. get_name () The getter corresponding to set_name. Implement this if you implement set_name. add_child () Adds a child. The type parameter can be used to differentiate the kind of child. GtkContainer implements this to add add a child widget to the container, GtkNotebook uses the type to distinguish between page labels (of type "page-label") and normal children. set_buildable_property () Sets a property of a buildable object. It is normally not necessary to implement this, g_object_set_property() is used by default. GtkWindow implements this to delay showing itself (i.e. setting the "visible" property) until the whole interface is created. construct_child () Constructs a child of a buildable that has been specified as "constructor" in the UI definition. GtkUIManager implements this to reference to a widget created in a <ui> tag which is outside of the normal GtkBuilder UI definition hierarchy. A reference to the constructed object is returned and becomes owned by the caller. custom_tag_start () Implement this if the buildable needs to parse content below <child>. To handle an element, the implementation must fill in the parser structure and user_data and return TRUE. GtkWidget implements this to parse keyboard accelerators specified in <accelerator> elements. GtkContainer implements it to map properties defined via <packing> elements to child properties. Note that user_data must be freed in custom_tag_end or custom_finished. custom_tag_end () Called for the end tag of each custom element that is handled by the buildable (see custom_tag_start). custom_finished () Called for each custom tag handled by the buildable when the builder finishes parsing (see custom_tag_start) parser_finished () Called when a builder finishes the parsing of a UI definition. It is normally not necessary to implement this, unless you need to perform special cleanup actions. GtkWindow sets the "visible" property here. get_internal_child () Returns an internal child of a buildable. GtkDialog implements this to give access to its vbox, making it possible to add children to the vbox in a UI definition. Implement this if the buildable has internal children that may need to be accessed from a UI definition.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
add () adds a GtkCellRenderer to the area. remove () removes a GtkCellRenderer from the area. foreach () calls the GtkCellCallback function on every GtkCellRenderer in the area with the provided user data until the callback returns TRUE. foreach_alloc () Calls the GtkCellAllocCallback function on every GtkCellRenderer in the area with the allocated area for the cell and the provided user data until the callback returns TRUE. event () Handle an event in the area, this is generally used to activate a cell at the event location for button events but can also be used to generically pass events to GtkWidgets drawn onto the area. render () Actually render the area's cells to the specified rectangle, background_area should be correctly distributed to the cells corresponding background areas. apply_attributes () Apply the cell attributes to the cells. This is implemented as a signal and generally GtkCellArea subclasses don't need to implement it since it is handled by the base class. create_context () Creates and returns a class specific GtkCellAreaContext to store cell alignment and allocation details for a said GtkCellArea class. copy_context () Creates a new GtkCellAreaContext in the same state as the passed context with any cell alignment data and allocations intact. get_request_mode () This allows an area to tell its layouting widget whether it prefers to be allocated in GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH or GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode. get_preferred_width () Calculates the minimum and natural width of the areas cells with the current attributes applied while considering the particular layouting details of the said GtkCellArea. While requests are performed over a series of rows, alignments and overall minimum and natural sizes should be stored in the corresponding GtkCellAreaContext. get_preferred_height_for_width () Calculates the minimum and natural height for the area if the passed context would be allocated the given width. When implementing this virtual method it is safe to assume that context has already stored the aligned cell widths for every GtkTreeModel row that context will be allocated for since this information was stored at GtkCellAreaClass.get_preferred_width() time. This virtual method should also store any necessary alignments of cell heights for the case that the context is allocated a height. get_preferred_height () Calculates the minimum and natural height of the areas cells with the current attributes applied. Essentially this is the same as GtkCellAreaClass.get_preferred_width() only for areas that are being requested as GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT. get_preferred_width_for_height () Calculates the minimum and natural width for the area if the passed context would be allocated the given height. The same as GtkCellAreaClass.get_preferred_height_for_width() only for handling requests in the GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode. set_cell_property () This should be implemented to handle changes in child cell properties for a given GtkCellRenderer that were previously installed on the GtkCellAreaClass with gtk_cell_area_class_install_cell_property(). get_cell_property () This should be implemented to report the values of child cell properties for a given child GtkCellRenderer. focus () This virtual method should be implemented to navigate focus from cell to cell inside the GtkCellArea. The GtkCellArea should move focus from cell to cell inside the area and return FALSE if focus logically leaves the area with the following exceptions: When the area contains no activatable cells, the entire area recieves focus. Focus should not be given to cells that are actually "focus siblings" of other sibling cells (see gtk_cell_area_get_focus_from_sibling()). Focus is set by calling gtk_cell_area_set_focus_cell(). is_activatable () Returns whether the GtkCellArea can respond to GtkCellAreaClass.activate(), usually this does not need to be implemented since the base class takes care of this however it can be enhanced if the GtkCellArea subclass can handle activation in other ways than activating its GtkCellRenderers. activate () This is called when the layouting widget rendering the GtkCellArea activates the focus cell (see gtk_cell_area_get_focus_cell()).
Main Gtk struct.
allocate () This tells the context that an allocation width or height (or both) have been decided for a group of rows. The context should store any allocations for internally aligned cells at this point so that they dont need to be recalculated at gtk_cell_area_render() time. reset () Clear any previously stored information about requested and allocated sizes for the context. get_preferred_height_for_width () Returns the aligned height for the given width that context must store while collecting sizes for it's rows. get_preferred_width_for_height () Returns the aligned width for the given height that context must store while collecting sizes for it's rows.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Defines a part of a CSS document. Because sections are nested into one another, you can use gtk_css_section_get_parent() to get the containing region. Since 3.2
Main Gtk struct. The GtkDialog struct contains only private fields and should not be directly accessed.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
A GtkFileFilterInfo struct is used to pass information about the tested file to gtk_file_filter_filter(). GtkFileFilterFlags contains; Flags indicating which of the following fields need are filled const gchar *filename; the filename of the file being tested const gchar *uri; the URI for the file being tested const gchar *display_name; the string that will be used to display the file in the file chooser const gchar *mime_type; the mime type of the file
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
preedit_start () Default handler of the "preedit-start" signal. preedit_end () Default handler of the "preedit-end" signal. preedit_changed () Default handler of the "preedit-changed" signal. commit () Default handler of the "commit" signal. retrieve_surrounding () Default handler of the "retrieve-surrounding" signal. delete_surrounding () Default handler of the "delete-surrounding" signal. set_client_window () Called via gtk_im_context_set_client_window() when the input window where the entered text will appear changes. Override this to keep track of the current input window, for instance for the purpose of positioning a status display of your input method. get_preedit_string () Called via gtk_im_context_get_preedit_string() to retrieve the text currently being preedited for display at the cursor position. Any input method which composes complex characters or any other compositions from multiple sequential key presses should override this method to provide feedback. filter_keypress () Called via gtk_im_context_filter_keypress() on every key press or release event. Every non-trivial input method needs to override this in order to implement the mapping from key events to text. A return value of TRUE indicates to the caller that the event was consumed by the input method. In that case, the "commit" signal should be emitted upon completion of a key sequence to pass the resulting text back to the input widget. Alternatively, FALSE may be returned to indicate that the event wasn't handled by the input method. If a builtin mapping exists for the key, it is used to produce a character. focus_in () Called via gtk_im_context_focus_in() when the input widget has gained focus. May be overridden to keep track of the current focus. focus_out () Called via gtk_im_context_focus_out() when the input widget has lost focus. May be overridden to keep track of the current focus. reset () Called via gtk_im_context_reset() to signal a change such as a change in cursor position. An input method that implements preediting should override this method to clear the preedit state on reset. set_cursor_location () Called via gtk_im_context_set_cursor_location() to inform the input method of the current cursor location relative to the client window. May be overridden to implement the display of popup windows at the cursor position. set_use_preedit () Called via gtk_im_context_set_use_preedit() to control the use of the preedit string. Override this to display feedback by some other means if turned off. set_surrounding () Called via gtk_im_context_set_surrounding() in response to signal "retrieve-surrounding" to update the input method's idea of the context around the cursor. It is not necessary to override this method even with input methods which implement context-dependent behavior. The base implementation is sufficient for gtk_im_context_get_surrounding() to work. get_surrounding () Called via gtk_im_context_get_surrounding() to update the context around the cursor location. It is not necessary to override this method even with input methods which implement context-dependent behavior. The base implementation emits "retrieve-surrounding" and records the context received by the subsequent invocation of get_surrounding.
Bookkeeping information about a loadable input method. const gchar *context_id; The unique identification string of the input method. const gchar *context_name; The human-readable name of the input method. const gchar *domain; Translation domain to be used with dgettext() const gchar *domain_dirname; Name of locale directory for use with bindtextdomain() const gchar *default_locales; A colon-separated list of locales where this input method should be the default. The asterisk "*" sets the default for all locales.
Main Gtk struct.
Main Gtk struct.
Contains information found when looking up an icon in an icon theme.
Main Gtk struct.
Main Gtk struct. Acts as a database of information about an icon theme. Normally, you retrieve the icon theme for a particular screen using gtk_icon_theme_get_for_screen() and it will contain information about current icon theme for that screen, but you can also create a new GtkIconTheme object and set the icon theme name explicitely using gtk_icon_theme_set_custom_theme().
Main Gtk struct.
Main Gtk struct. This struct contain private data only and should be accessed by the functions below.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct. The GtkLinkButton structure contains only private data and should be accessed using the provided API.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct. This should not be accessed directly. Use the accessor functions below.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Warning GtkRadioActionEntry is deprecated and should not be used in newly-written code. 3.10 GtkRadioActionEntry structs are used with gtk_action_group_add_radio_actions() to construct groups of radio actions. const gchar *name; The name of the action. const gchar *stock_id; The stock id for the action, or the name of an icon from the icon theme. const gchar *label; The label for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain(). const gchar *accelerator; The accelerator for the action, in the format understood by gtk_accelerator_parse(). const gchar *tooltip; The tooltip for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain(). gint value; The value to set on the radio action. See gtk_radio_action_get_current_value().
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct. The GtkRcStyle structure is used to represent a set of information about the appearance of a widget. This can later be composited together with other GtkRcStyle structures to form a GtkStyle.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Meta-data to be passed to gtk_recent_manager_add_full() when registering a recently used resource. gchar *display_name; a UTF-8 encoded string, containing the name of the recently used resource to be displayed, or NULL; gchar *description; a UTF-8 encoded string, containing a short description of the resource, or NULL; gchar *mime_type; the MIME type of the resource; gchar *app_name; the name of the application that is registering this recently used resource; gchar *app_exec; command line used to launch this resource; may contain the "%f" and "%u" escape characters which will be expanded to the resource file path and URI respectively when the command line is retrieved; gchar **groups; a vector of strings containing groups names; gboolean is_private; whether this resource should be displayed only by the applications that have registered it or not.
Main Gtk struct.
A GtkRecentFilterInfo struct is used to pass information about the tested file to gtk_recent_filter_filter().
GtkRecentInfo is an opaque data structure whose members can only be accessed using the provided API. GtkRecentInfo constains all the meta-data associated with an entry in the recently used files list. Since 2.10
Main Gtk struct. GtkRecentManager contains only private data and should be accessed using the provided API. Since 2.10
Represents a request of a screen object in a given orientation. These are primarily used in container implementations when allocating a natural size for children calling. See gtk_distribute_natural_allocation(). gpointer data; A client pointer gint minimum_size; The minimum size needed for allocation in a given orientation gint natural_size; The natural size for allocation in a given orientation
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct. The GtkSpinButton struct contains only private data and should not be directly modified.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
GTypeInterface g_iface; get_style () Gets a set of style information that applies to a widget path. get_style_property () Gets the value of a widget style property that applies to a widget path. get_icon_factory () Gets the icon factory that applies to a widget path.
Main Gtk struct. The GtkSwitch structure contains private data and it should only be accessed using the provided API.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct. A GtkTargetEntry structure represents a single type of data than can be supplied for by a widget for a selection or for supplied or received during drag-and-drop. gchar *target; a string representation of the target type guint flags; GtkTargetFlags for DND guint info; an application-assigned integer ID which will get passed as a parameter to e.g the "selection-get" signal. It allows the application to identify the target type without extensive string compares.
A GtkTargetList structure is a reference counted list of GtkTargetPair. It is used to represent the same information as a table of GtkTargetEntry, but in an efficient form. This structure should be treated as opaque.
Main Gtk struct.
Using GtkTextAttributes directly should rarely be necessary. It's primarily useful with gtk_text_iter_get_attributes(). As with most GTK+ structs, the fields in this struct should only be read, never modified directly.
Main Gtk struct.
A GtkTextChildAnchor is a spot in the buffer where child widgets can be "anchored" (inserted inline, as if they were characters). The anchor can have multiple widgets anchored, to allow for multiple views.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Base class for theming engines. GObjectClass parent_class; The parent class. render_line () Renders a line between two points. render_background () Renders the background area of a widget region. render_frame () Renders the frame around a widget area. render_frame_gap () Renders the frame around a widget area with a gap in it. render_extension () Renders a extension to a box, usually a notebook tab. render_check () Renders a checkmark, as in GtkCheckButton. render_option () Renders an option, as in GtkRadioButton. render_arrow () Renders an arrow pointing to a certain direction. render_expander () Renders an element what will expose/expand part of the UI, as in GtkExpander. render_focus () Renders the focus indicator. render_layout () Renders a PangoLayout render_slider () Renders a slider control, as in GtkScale. render_handle () Renders a handle to drag UI elements, as in GtkPaned. render_activity () Renders an area displaying activity, such as in GtkSpinner, or GtkProgressBar. render_icon_pixbuf () Renders an icon as a GdkPixbuf. render_icon () Renders an icon given as a GdkPixbuf. render_icon_surface () Renders an icon given as a cairo_surface_t.
Main Gtk struct.
Warning GtkToggleActionEntry is deprecated and should not be used in newly-written code. 3.10 GtkToggleActionEntry structs are used with gtk_action_group_add_toggle_actions() to construct toggle actions. const gchar *name; The name of the action. const gchar *stock_id; The stock id for the action, or the name of an icon from the icon theme. const gchar *label; The label for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain(). const gchar *accelerator; The accelerator for the action, in the format understood by gtk_accelerator_parse(). const gchar *tooltip; The tooltip for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain(). GCallback callback; The function to call when the action is activated. gboolean is_active; The initial state of the toggle action.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct. The GtkToolItem struct contains only private data. It should only be accessed through the functions described below.
Main Gtk struct. This should not be accessed directly. Use the accessor functions below.
Main Gtk struct. This should not be accessed directly. Use the accessor functions below.
Main Gtk struct. Dummy structure for accessing instances of GtkToolShellIface.
Virtual function table for the GtkToolShell interface. get_icon_size () mandatory implementation of gtk_tool_shell_get_icon_size(). get_orientation () mandatory implementation of gtk_tool_shell_get_orientation(). get_style () mandatory implementation of gtk_tool_shell_get_style(). get_relief_style () optional implementation of gtk_tool_shell_get_relief_style(). rebuild_menu () optional implementation of gtk_tool_shell_rebuild_menu(). get_text_orientation () optional implementation of gtk_tool_shell_get_text_orientation(). get_text_alignment () optional implementation of gtk_tool_shell_get_text_alignment(). get_ellipsize_mode () optional implementation of gtk_tool_shell_get_ellipsize_mode(). get_text_size_group () optional implementation of gtk_tool_shell_get_text_size_group().
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
A GtkTreeRowReference tracks model changes so that it always refers to the same row (a GtkTreePath refers to a position, not a fixed row). Create a new GtkTreeRowReference with gtk_tree_row_reference_new().
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct. The GtkVScale struct contains private data only, and should be accessed using the functions below.
Main Gtk struct. The GtkVScrollbar struct contains private data and should be accessed using the functions below.
Main Gtk struct. The GtkVSeparator struct contains private data only, and should be accessed using the functions below.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.
Main Gtk struct.