gtkmm: gtkmm Enums and Flags
Functions | |
ApplicationInhibitFlags | Gtk::operator| (ApplicationInhibitFlags lhs, ApplicationInhibitFlags rhs) |
ApplicationInhibitFlags | Gtk::operator& (ApplicationInhibitFlags lhs, ApplicationInhibitFlags rhs) |
ApplicationInhibitFlags | Gtk::operator^ (ApplicationInhibitFlags lhs, ApplicationInhibitFlags rhs) |
ApplicationInhibitFlags | Gtk::operator~ (ApplicationInhibitFlags flags) |
ApplicationInhibitFlags& | Gtk::operator|= (ApplicationInhibitFlags& lhs, ApplicationInhibitFlags rhs) |
ApplicationInhibitFlags& | Gtk::operator&= (ApplicationInhibitFlags& lhs, ApplicationInhibitFlags rhs) |
ApplicationInhibitFlags& | Gtk::operator^= (ApplicationInhibitFlags& lhs, ApplicationInhibitFlags rhs) |
CalendarDisplayOptions | Gtk::operator| (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs) |
CalendarDisplayOptions | Gtk::operator& (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs) |
CalendarDisplayOptions | Gtk::operator^ (CalendarDisplayOptions lhs, CalendarDisplayOptions rhs) |
CalendarDisplayOptions | Gtk::operator~ (CalendarDisplayOptions flags) |
CalendarDisplayOptions& | Gtk::operator|= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs) |
CalendarDisplayOptions& | Gtk::operator&= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs) |
CalendarDisplayOptions& | Gtk::operator^= (CalendarDisplayOptions& lhs, CalendarDisplayOptions rhs) |
CellRendererState | Gtk::operator| (CellRendererState lhs, CellRendererState rhs) |
CellRendererState | Gtk::operator& (CellRendererState lhs, CellRendererState rhs) |
CellRendererState | Gtk::operator^ (CellRendererState lhs, CellRendererState rhs) |
CellRendererState | Gtk::operator~ (CellRendererState flags) |
CellRendererState& | Gtk::operator|= (CellRendererState& lhs, CellRendererState rhs) |
CellRendererState& | Gtk::operator&= (CellRendererState& lhs, CellRendererState rhs) |
CellRendererState& | Gtk::operator^= (CellRendererState& lhs, CellRendererState rhs) |
DialogFlags | Gtk::operator| (DialogFlags lhs, DialogFlags rhs) |
DialogFlags | Gtk::operator& (DialogFlags lhs, DialogFlags rhs) |
DialogFlags | Gtk::operator^ (DialogFlags lhs, DialogFlags rhs) |
DialogFlags | Gtk::operator~ (DialogFlags flags) |
DialogFlags& | Gtk::operator|= (DialogFlags& lhs, DialogFlags rhs) |
DialogFlags& | Gtk::operator&= (DialogFlags& lhs, DialogFlags rhs) |
DialogFlags& | Gtk::operator^= (DialogFlags& lhs, DialogFlags rhs) |
AccelFlags | Gtk::operator| (AccelFlags lhs, AccelFlags rhs) |
AccelFlags | Gtk::operator& (AccelFlags lhs, AccelFlags rhs) |
AccelFlags | Gtk::operator^ (AccelFlags lhs, AccelFlags rhs) |
AccelFlags | Gtk::operator~ (AccelFlags flags) |
AccelFlags& | Gtk::operator|= (AccelFlags& lhs, AccelFlags rhs) |
AccelFlags& | Gtk::operator&= (AccelFlags& lhs, AccelFlags rhs) |
AccelFlags& | Gtk::operator^= (AccelFlags& lhs, AccelFlags rhs) |
AttachOptions | Gtk::operator| (AttachOptions lhs, AttachOptions rhs) |
AttachOptions | Gtk::operator& (AttachOptions lhs, AttachOptions rhs) |
AttachOptions | Gtk::operator^ (AttachOptions lhs, AttachOptions rhs) |
AttachOptions | Gtk::operator~ (AttachOptions flags) |
AttachOptions& | Gtk::operator|= (AttachOptions& lhs, AttachOptions rhs) |
AttachOptions& | Gtk::operator&= (AttachOptions& lhs, AttachOptions rhs) |
AttachOptions& | Gtk::operator^= (AttachOptions& lhs, AttachOptions rhs) |
PlacesOpenFlags | Gtk::operator| (PlacesOpenFlags lhs, PlacesOpenFlags rhs) |
PlacesOpenFlags | Gtk::operator& (PlacesOpenFlags lhs, PlacesOpenFlags rhs) |
PlacesOpenFlags | Gtk::operator^ (PlacesOpenFlags lhs, PlacesOpenFlags rhs) |
PlacesOpenFlags | Gtk::operator~ (PlacesOpenFlags flags) |
PlacesOpenFlags& | Gtk::operator|= (PlacesOpenFlags& lhs, PlacesOpenFlags rhs) |
PlacesOpenFlags& | Gtk::operator&= (PlacesOpenFlags& lhs, PlacesOpenFlags rhs) |
PlacesOpenFlags& | Gtk::operator^= (PlacesOpenFlags& lhs, PlacesOpenFlags rhs) |
TargetFlags | Gtk::operator| (TargetFlags lhs, TargetFlags rhs) |
TargetFlags | Gtk::operator& (TargetFlags lhs, TargetFlags rhs) |
TargetFlags | Gtk::operator^ (TargetFlags lhs, TargetFlags rhs) |
TargetFlags | Gtk::operator~ (TargetFlags flags) |
TargetFlags& | Gtk::operator|= (TargetFlags& lhs, TargetFlags rhs) |
TargetFlags& | Gtk::operator&= (TargetFlags& lhs, TargetFlags rhs) |
TargetFlags& | Gtk::operator^= (TargetFlags& lhs, TargetFlags rhs) |
RegionFlags | Gtk::operator| (RegionFlags lhs, RegionFlags rhs) |
RegionFlags | Gtk::operator& (RegionFlags lhs, RegionFlags rhs) |
RegionFlags | Gtk::operator^ (RegionFlags lhs, RegionFlags rhs) |
RegionFlags | Gtk::operator~ (RegionFlags flags) |
RegionFlags& | Gtk::operator|= (RegionFlags& lhs, RegionFlags rhs) |
RegionFlags& | Gtk::operator&= (RegionFlags& lhs, RegionFlags rhs) |
RegionFlags& | Gtk::operator^= (RegionFlags& lhs, RegionFlags rhs) |
JunctionSides | Gtk::operator| (JunctionSides lhs, JunctionSides rhs) |
JunctionSides | Gtk::operator& (JunctionSides lhs, JunctionSides rhs) |
JunctionSides | Gtk::operator^ (JunctionSides lhs, JunctionSides rhs) |
JunctionSides | Gtk::operator~ (JunctionSides flags) |
JunctionSides& | Gtk::operator|= (JunctionSides& lhs, JunctionSides rhs) |
JunctionSides& | Gtk::operator&= (JunctionSides& lhs, JunctionSides rhs) |
JunctionSides& | Gtk::operator^= (JunctionSides& lhs, JunctionSides rhs) |
StateFlags | Gtk::operator| (StateFlags lhs, StateFlags rhs) |
StateFlags | Gtk::operator& (StateFlags lhs, StateFlags rhs) |
StateFlags | Gtk::operator^ (StateFlags lhs, StateFlags rhs) |
StateFlags | Gtk::operator~ (StateFlags flags) |
StateFlags& | Gtk::operator|= (StateFlags& lhs, StateFlags rhs) |
StateFlags& | Gtk::operator&= (StateFlags& lhs, StateFlags rhs) |
StateFlags& | Gtk::operator^= (StateFlags& lhs, StateFlags rhs) |
InputHints | Gtk::operator| (InputHints lhs, InputHints rhs) |
InputHints | Gtk::operator& (InputHints lhs, InputHints rhs) |
InputHints | Gtk::operator^ (InputHints lhs, InputHints rhs) |
InputHints | Gtk::operator~ (InputHints flags) |
InputHints& | Gtk::operator|= (InputHints& lhs, InputHints rhs) |
InputHints& | Gtk::operator&= (InputHints& lhs, InputHints rhs) |
InputHints& | Gtk::operator^= (InputHints& lhs, InputHints rhs) |
FileFilterFlags | Gtk::operator| (FileFilterFlags lhs, FileFilterFlags rhs) |
FileFilterFlags | Gtk::operator& (FileFilterFlags lhs, FileFilterFlags rhs) |
FileFilterFlags | Gtk::operator^ (FileFilterFlags lhs, FileFilterFlags rhs) |
FileFilterFlags | Gtk::operator~ (FileFilterFlags flags) |
FileFilterFlags& | Gtk::operator|= (FileFilterFlags& lhs, FileFilterFlags rhs) |
FileFilterFlags& | Gtk::operator&= (FileFilterFlags& lhs, FileFilterFlags rhs) |
FileFilterFlags& | Gtk::operator^= (FileFilterFlags& lhs, FileFilterFlags rhs) |
IconLookupFlags | Gtk::operator| (IconLookupFlags lhs, IconLookupFlags rhs) |
IconLookupFlags | Gtk::operator& (IconLookupFlags lhs, IconLookupFlags rhs) |
IconLookupFlags | Gtk::operator^ (IconLookupFlags lhs, IconLookupFlags rhs) |
IconLookupFlags | Gtk::operator~ (IconLookupFlags flags) |
IconLookupFlags& | Gtk::operator|= (IconLookupFlags& lhs, IconLookupFlags rhs) |
IconLookupFlags& | Gtk::operator&= (IconLookupFlags& lhs, IconLookupFlags rhs) |
IconLookupFlags& | Gtk::operator^= (IconLookupFlags& lhs, IconLookupFlags rhs) |
RecentFilterFlags | Gtk::operator| (RecentFilterFlags lhs, RecentFilterFlags rhs) |
RecentFilterFlags | Gtk::operator& (RecentFilterFlags lhs, RecentFilterFlags rhs) |
RecentFilterFlags | Gtk::operator^ (RecentFilterFlags lhs, RecentFilterFlags rhs) |
RecentFilterFlags | Gtk::operator~ (RecentFilterFlags flags) |
RecentFilterFlags& | Gtk::operator|= (RecentFilterFlags& lhs, RecentFilterFlags rhs) |
RecentFilterFlags& | Gtk::operator&= (RecentFilterFlags& lhs, RecentFilterFlags rhs) |
RecentFilterFlags& | Gtk::operator^= (RecentFilterFlags& lhs, RecentFilterFlags rhs) |
TextSearchFlags | Gtk::operator| (TextSearchFlags lhs, TextSearchFlags rhs) |
TextSearchFlags | Gtk::operator& (TextSearchFlags lhs, TextSearchFlags rhs) |
TextSearchFlags | Gtk::operator^ (TextSearchFlags lhs, TextSearchFlags rhs) |
TextSearchFlags | Gtk::operator~ (TextSearchFlags flags) |
TextSearchFlags& | Gtk::operator|= (TextSearchFlags& lhs, TextSearchFlags rhs) |
TextSearchFlags& | Gtk::operator&= (TextSearchFlags& lhs, TextSearchFlags rhs) |
TextSearchFlags& | Gtk::operator^= (TextSearchFlags& lhs, TextSearchFlags rhs) |
ToolPaletteDragTargets | Gtk::operator| (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs) |
ToolPaletteDragTargets | Gtk::operator& (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs) |
ToolPaletteDragTargets | Gtk::operator^ (ToolPaletteDragTargets lhs, ToolPaletteDragTargets rhs) |
ToolPaletteDragTargets | Gtk::operator~ (ToolPaletteDragTargets flags) |
ToolPaletteDragTargets& | Gtk::operator|= (ToolPaletteDragTargets& lhs, ToolPaletteDragTargets rhs) |
ToolPaletteDragTargets& | Gtk::operator&= (ToolPaletteDragTargets& lhs, ToolPaletteDragTargets rhs) |
ToolPaletteDragTargets& | Gtk::operator^= (ToolPaletteDragTargets& lhs, ToolPaletteDragTargets rhs) |
TreeModelFlags | Gtk::operator| (TreeModelFlags lhs, TreeModelFlags rhs) |
TreeModelFlags | Gtk::operator& (TreeModelFlags lhs, TreeModelFlags rhs) |
TreeModelFlags | Gtk::operator^ (TreeModelFlags lhs, TreeModelFlags rhs) |
TreeModelFlags | Gtk::operator~ (TreeModelFlags flags) |
TreeModelFlags& | Gtk::operator|= (TreeModelFlags& lhs, TreeModelFlags rhs) |
TreeModelFlags& | Gtk::operator&= (TreeModelFlags& lhs, TreeModelFlags rhs) |
TreeModelFlags& | Gtk::operator^= (TreeModelFlags& lhs, TreeModelFlags rhs) |
DestDefaults | Gtk::operator| (DestDefaults lhs, DestDefaults rhs) |
DestDefaults | Gtk::operator& (DestDefaults lhs, DestDefaults rhs) |
DestDefaults | Gtk::operator^ (DestDefaults lhs, DestDefaults rhs) |
DestDefaults | Gtk::operator~ (DestDefaults flags) |
DestDefaults& | Gtk::operator|= (DestDefaults& lhs, DestDefaults rhs) |
DestDefaults& | Gtk::operator&= (DestDefaults& lhs, DestDefaults rhs) |
DestDefaults& | Gtk::operator^= (DestDefaults& lhs, DestDefaults rhs) |
PrintCapabilities | Gtk::operator| (PrintCapabilities lhs, PrintCapabilities rhs) |
PrintCapabilities | Gtk::operator& (PrintCapabilities lhs, PrintCapabilities rhs) |
PrintCapabilities | Gtk::operator^ (PrintCapabilities lhs, PrintCapabilities rhs) |
PrintCapabilities | Gtk::operator~ (PrintCapabilities flags) |
PrintCapabilities& | Gtk::operator|= (PrintCapabilities& lhs, PrintCapabilities rhs) |
PrintCapabilities& | Gtk::operator&= (PrintCapabilities& lhs, PrintCapabilities rhs) |
PrintCapabilities& | Gtk::operator^= (PrintCapabilities& lhs, PrintCapabilities rhs) |
UIManagerItemType | Gtk::operator| (UIManagerItemType lhs, UIManagerItemType rhs) |
UIManagerItemType | Gtk::operator& (UIManagerItemType lhs, UIManagerItemType rhs) |
UIManagerItemType | Gtk::operator^ (UIManagerItemType lhs, UIManagerItemType rhs) |
UIManagerItemType | Gtk::operator~ (UIManagerItemType flags) |
UIManagerItemType& | Gtk::operator|= (UIManagerItemType& lhs, UIManagerItemType rhs) |
UIManagerItemType& | Gtk::operator&= (UIManagerItemType& lhs, UIManagerItemType rhs) |
UIManagerItemType& | Gtk::operator^= (UIManagerItemType& lhs, UIManagerItemType rhs) |
Detailed Description
Enumeration Type Documentation
enum Gtk::AccelFlags |
Accelerator flags used with Gtk::AccelGroup::connect().
- Bitwise operators:
AccelFlags operator|(AccelFlags, AccelFlags)
AccelFlags operator&(AccelFlags, AccelFlags)
AccelFlags operator^(AccelFlags, AccelFlags)
AccelFlags operator~(AccelFlags)
AccelFlags& operator|=(AccelFlags&, AccelFlags)
AccelFlags& operator&=(AccelFlags&, AccelFlags)
AccelFlags& operator^=(AccelFlags&, AccelFlags)
Enumerator | |
---|---|
ACCEL_VISIBLE |
Accelerator is visible. |
ACCEL_LOCKED |
Accelerator not removable. |
ACCEL_MASK |
Mask. |
enum Gtk::Align |
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 Gtk::Widget::property_expand() flag inside a Gtk::Box, 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.
Types of user actions that may be blocked by Gtk::Application::inhibit().
- Bitwise operators:
ApplicationInhibitFlags operator|(ApplicationInhibitFlags, ApplicationInhibitFlags)
ApplicationInhibitFlags operator&(ApplicationInhibitFlags, ApplicationInhibitFlags)
ApplicationInhibitFlags operator^(ApplicationInhibitFlags, ApplicationInhibitFlags)
ApplicationInhibitFlags operator~(ApplicationInhibitFlags)
ApplicationInhibitFlags& operator|=(ApplicationInhibitFlags&, ApplicationInhibitFlags)
ApplicationInhibitFlags& operator&=(ApplicationInhibitFlags&, ApplicationInhibitFlags)
ApplicationInhibitFlags& operator^=(ApplicationInhibitFlags&, ApplicationInhibitFlags)
enum Gtk::ArrowType |
An enum for determining the page role inside the Gtk::Assistant.
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.
Enumerator | |
---|---|
ASSISTANT_PAGE_CONTENT |
The page has regular contents. Both the Back and forward buttons will be shown. |
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. |
ASSISTANT_PAGE_CONFIRM |
The page lets the user confirm or deny the changes. The Back and Apply buttons will be shown. |
ASSISTANT_PAGE_SUMMARY |
The page informs the user of the changes done. Only the Close button will be shown. |
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. |
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(). |
enum Gtk::AttachOptions |
Denotes the expansion properties that a widget will have when it (or its parent) is resized.
- Bitwise operators:
AttachOptions operator|(AttachOptions, AttachOptions)
AttachOptions operator&(AttachOptions, AttachOptions)
AttachOptions operator^(AttachOptions, AttachOptions)
AttachOptions operator~(AttachOptions)
AttachOptions& operator|=(AttachOptions&, AttachOptions)
AttachOptions& operator&=(AttachOptions&, AttachOptions)
AttachOptions& operator^=(AttachOptions&, AttachOptions)
Whenever a container has some form of natural row it may align children in that row along a common typographical baseline.
If the amount of verical space in the row is taller than the total requested height of the baseline-aligned children then it can use a Gtk::BaselinePosition to select where to put the baseline inside the extra availible space.
Enumerator | |
---|---|
BASELINE_POSITION_TOP |
Align the baseline at the top. |
BASELINE_POSITION_CENTER |
Center the baseline. |
BASELINE_POSITION_BOTTOM |
Align the baseline at the bottom. |
enum Gtk::BuiltinIconSize |
Built-in stock icon sizes.
enum Gtk::ButtonBoxStyle |
Used to dictate the style that a Gtk::ButtonBox uses to layout the buttons it contains.
Enumerator | |
---|---|
BUTTONBOX_SPREAD |
Buttons are evenly spread across the box. |
BUTTONBOX_EDGE |
Buttons are placed at the edges of the box. |
BUTTONBOX_START |
Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox). |
BUTTONBOX_END |
Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox). |
BUTTONBOX_CENTER |
Buttons are centered in the box. |
BUTTONBOX_EXPAND |
Buttons expand to fill the box. This entails giving buttons a "linked" appearance, making button sizes homogeneous, and setting spacing to 0 (same as calling Gtk::Box::set_homogeneous() and Gtk::Box::set_spacing() manually). |
enum Gtk::ButtonRole |
The role specifies the desired appearance of a Gtk::ModelButton.
Enumerator | |
---|---|
BUTTON_ROLE_NORMAL |
A plain button. |
BUTTON_ROLE_CHECK |
A check button. |
BUTTON_ROLE_RADIO |
A radio button. |
enum Gtk::ButtonsType |
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().
Please note that Gtk::BUTTONS_OK, Gtk::BUTTONS_YES_NO and Gtk::BUTTONS_OK_CANCEL are discouraged by the GNOME Human Interface Guidelines.
These options can be used to influence the display and behaviour of a Gtk::Calendar.
- Bitwise operators:
CalendarDisplayOptions operator|(CalendarDisplayOptions, CalendarDisplayOptions)
CalendarDisplayOptions operator&(CalendarDisplayOptions, CalendarDisplayOptions)
CalendarDisplayOptions operator^(CalendarDisplayOptions, CalendarDisplayOptions)
CalendarDisplayOptions operator~(CalendarDisplayOptions)
CalendarDisplayOptions& operator|=(CalendarDisplayOptions&, CalendarDisplayOptions)
CalendarDisplayOptions& operator&=(CalendarDisplayOptions&, CalendarDisplayOptions)
CalendarDisplayOptions& operator^=(CalendarDisplayOptions&, CalendarDisplayOptions)
Determines if the edited accelerators are GTK+ accelerators.
If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus.
Enumerator | |
---|---|
CELL_RENDERER_ACCEL_MODE_GTK |
GTK+ accelerators mode. |
CELL_RENDERER_ACCEL_MODE_OTHER |
Other accelerator mode. |
Identifies how the user can interact with a particular cell.
Tells how a cell is to be rendered.
- Bitwise operators:
CellRendererState operator|(CellRendererState, CellRendererState)
CellRendererState operator&(CellRendererState, CellRendererState)
CellRendererState operator^(CellRendererState, CellRendererState)
CellRendererState operator~(CellRendererState)
CellRendererState& operator|=(CellRendererState&, CellRendererState)
CellRendererState& operator&=(CellRendererState&, CellRendererState)
CellRendererState& operator^=(CellRendererState&, CellRendererState)
enum Gtk::CornerType |
Specifies which corner a child widget should be placed in when packed into a Gtk::ScrolledWindow.
This is effectively the opposite of where the scroll bars are placed.
enum Gtk::CssSectionType |
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, but may contain extensions.
More types might be added in the future as the parser incorporates more features.
Enumerator | |
---|---|
CSS_SECTION_DOCUMENT |
The section describes a complete document. This section time is the only one where Gtk::CssSection::get_parent() might return |
CSS_SECTION_IMPORT |
The section defines an import rule. |
CSS_SECTION_COLOR_DEFINITION |
The section defines a color. This is a GTK extension to CSS. |
CSS_SECTION_BINDING_SET |
The section defines a binding set. This is a GTK extension to CSS. |
CSS_SECTION_RULESET |
The section defines a CSS ruleset. |
CSS_SECTION_SELECTOR |
The section defines a CSS selector. |
CSS_SECTION_DECLARATION |
The section defines the declaration of a CSS variable. |
CSS_SECTION_VALUE |
The section defines the value of a CSS declaration. |
CSS_SECTION_KEYFRAMES |
The section defines keyframes. See CSS Animations for details. |
enum Gtk::DeleteType |
See also: Gtk::Entry::signal_delete_from_cursor().
enum Gtk::DestDefaults |
The Gtk::DestDefaults enumeration specifies the various types of action that will be taken on behalf of the user for a drag destination site.
- Bitwise operators:
DestDefaults operator|(DestDefaults, DestDefaults)
DestDefaults operator&(DestDefaults, DestDefaults)
DestDefaults operator^(DestDefaults, DestDefaults)
DestDefaults operator~(DestDefaults)
DestDefaults& operator|=(DestDefaults&, DestDefaults)
DestDefaults& operator&=(DestDefaults&, DestDefaults)
DestDefaults& operator^=(DestDefaults&, DestDefaults)
enum Gtk::DialogFlags |
Flags used to influence dialog construction.
- Bitwise operators:
DialogFlags operator|(DialogFlags, DialogFlags)
DialogFlags operator&(DialogFlags, DialogFlags)
DialogFlags operator^(DialogFlags, DialogFlags)
DialogFlags operator~(DialogFlags)
DialogFlags& operator|=(DialogFlags&, DialogFlags)
DialogFlags& operator&=(DialogFlags&, DialogFlags)
DialogFlags& operator^=(DialogFlags&, DialogFlags)
Enumerator | |
---|---|
DIALOG_MODAL |
Make the constructed dialog modal, see Gtk::Window::set_modal(). |
DIALOG_DESTROY_WITH_PARENT |
Destroy the dialog when its parent is destroyed, see Gtk::Window::set_destroy_with_parent(). |
DIALOG_USE_HEADER_BAR |
Create dialog with actions in header bar instead of action area. |
enum Gtk::DirectionType |
enum Gtk::DragResult |
Gives an indication why a drag operation failed.
The value can by obtained by connecting to the Gtk::Widget::signal_drag_failed() signal.
Describes the state of a Gdk::EventSequence in a Gtk::Gesture.
Enumerator | |
---|---|
EVENT_SEQUENCE_NONE |
The sequence is handled, but not grabbed. |
EVENT_SEQUENCE_CLAIMED |
The sequence is handled and grabbed. |
EVENT_SEQUENCE_DENIED |
The sequence is denied. |
enum Gtk::ExpanderStyle |
Used to specify the style of the expanders drawn by a Gtk::TreeView.
Enumerator | |
---|---|
EXPANDER_COLLAPSED |
|
EXPANDER_SEMI_COLLAPSED |
Intermediate style used during animation. |
EXPANDER_SEMI_EXPANDED |
Intermediate style used during animation. |
EXPANDER_EXPANDED |
The style used for an expanded subtree. |
Describes whether a Gtk::FileChooser is being used to open existing files or to save to a possibly new file.
Used as a return value of handlers for the Gtk::FileChooser::signal_confirm_overwrite() signal of a Gtk::FileChooser.
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.
enum Gtk::FileFilterFlags |
These flags indicate what parts of a Gtk::FileFilterInfo struct are filled or need to be filled.
- Bitwise operators:
FileFilterFlags operator|(FileFilterFlags, FileFilterFlags)
FileFilterFlags operator&(FileFilterFlags, FileFilterFlags)
FileFilterFlags operator^(FileFilterFlags, FileFilterFlags)
FileFilterFlags operator~(FileFilterFlags)
FileFilterFlags& operator|=(FileFilterFlags&, FileFilterFlags)
FileFilterFlags& operator&=(FileFilterFlags&, FileFilterFlags)
FileFilterFlags& operator^=(FileFilterFlags&, FileFilterFlags)
enum Gtk::IconLookupFlags |
Used to specify options for Gtk::IconTheme::lookup_icon()
- Bitwise operators:
IconLookupFlags operator|(IconLookupFlags, IconLookupFlags)
IconLookupFlags operator&(IconLookupFlags, IconLookupFlags)
IconLookupFlags operator^(IconLookupFlags, IconLookupFlags)
IconLookupFlags operator~(IconLookupFlags)
IconLookupFlags& operator|=(IconLookupFlags&, IconLookupFlags)
IconLookupFlags& operator&=(IconLookupFlags&, IconLookupFlags)
IconLookupFlags& operator^=(IconLookupFlags&, IconLookupFlags)
Enumerator | |
---|---|
ICON_LOOKUP_NO_SVG |
Never get SVG icons, even if gdk-pixbuf supports them. Cannot be used together with Gtk::ICON_LOOKUP_FORCE_SVG. |
ICON_LOOKUP_FORCE_SVG |
Get SVG icons, even if gdk-pixbuf doesn’t support them. Cannot be used together with Gtk::ICON_LOOKUP_NO_SVG. |
ICON_LOOKUP_USE_BUILTIN |
When passed to Gtk::IconTheme::lookup_icon() includes builtin icons as well as files. For a builtin icon, Gtk::IconInfo::get_filename() is |
ICON_LOOKUP_GENERIC_FALLBACK |
Try to shorten icon name at '-' characters before looking at inherited themes. This flag is only supported in functions that take a single icon name. For more general fallback, see Gtk::IconTheme::choose_icon(). |
ICON_LOOKUP_FORCE_SIZE |
Always get the icon scaled to the requested size. |
ICON_LOOKUP_FORCE_REGULAR |
Try to always load regular icons, even when symbolic icon names are given. |
ICON_LOOKUP_FORCE_SYMBOLIC |
Try to always load symbolic icons, even when regular icon names are given. |
ICON_LOOKUP_DIR_LTR |
Try to load a variant of the icon for left-to-right text direction. |
ICON_LOOKUP_DIR_RTL |
Try to load a variant of the icon for right-to-left text direction. |
An enum for determining where a dropped item goes.
enum Gtk::ImageType |
Describes the image data representation used by a Gtk::Image.
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 nullptr
values.
Enumerator | |
---|---|
IMAGE_EMPTY |
There is no image displayed by the widget. |
IMAGE_PIXBUF |
The widget contains a Gdk::Pixbuf. |
IMAGE_STOCK |
The widget contains a [stock item name][gtkstock]. |
IMAGE_ICON_SET |
The widget contains a Gtk::IconSet. |
IMAGE_ANIMATION |
The widget contains a Gdk::PixbufAnimation. |
IMAGE_ICON_NAME |
The widget contains a named icon. This image type was added in GTK+ 2.6. |
IMAGE_GICON |
The widget contains a Icon. This image type was added in GTK+ 2.14. |
IMAGE_SURFACE |
The widget contains a #cairo_surface_t. This image type was added in GTK+ 3.10. |
enum Gtk::IMPreeditStyle |
Style for input method preedit.
See also Gtk::Settings::property_gtk_im_preedit_style()
Deprecated: 3.10
Enumerator | |
---|---|
IM_PREEDIT_NOTHING |
Deprecated. |
IM_PREEDIT_CALLBACK |
Deprecated. |
IM_PREEDIT_NONE |
Deprecated. |
enum Gtk::IMStatusStyle |
Style for input method status.
See also Gtk::Settings::property_gtk_im_status_style()
Deprecated: 3.10
Enumerator | |
---|---|
IM_STATUS_NOTHING |
Deprecated. |
IM_STATUS_CALLBACK |
Deprecated. |
IM_STATUS_NONE |
Deprecated. |
enum Gtk::InputHints |
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 Gtk::InputPurpose 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.
- Bitwise operators:
InputHints operator|(InputHints, InputHints)
InputHints operator&(InputHints, InputHints)
InputHints operator^(InputHints, InputHints)
InputHints operator~(InputHints)
InputHints& operator|=(InputHints&, InputHints)
InputHints& operator&=(InputHints&, InputHints)
InputHints& operator^=(InputHints&, InputHints)
enum Gtk::InputPurpose |
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”.
enum Gtk::JunctionSides |
Describes how a rendered element connects to adjacent elements.
- Bitwise operators:
JunctionSides operator|(JunctionSides, JunctionSides)
JunctionSides operator&(JunctionSides, JunctionSides)
JunctionSides operator^(JunctionSides, JunctionSides)
JunctionSides operator~(JunctionSides)
JunctionSides& operator|=(JunctionSides&, JunctionSides)
JunctionSides& operator&=(JunctionSides&, JunctionSides)
JunctionSides& operator^=(JunctionSides&, JunctionSides)
enum Gtk::Justification |
Used for justifying the text inside a Gtk::Label widget.
(See also Gtk::Alignment).
enum Gtk::LevelBarMode |
Describes how Gtk::LevelBar contents should be rendered.
Note that this enumeration could be extended with additional modes in the future.
Enumerator | |
---|---|
LEVEL_BAR_MODE_CONTINUOUS |
The bar has a continuous mode. |
LEVEL_BAR_MODE_DISCRETE |
The bar has a discrete mode. |
enum Gtk::License |
The type of license for an application.
This enumeration can be expanded at later date.
enum Gtk::MovementStep |
enum Gtk::NotebookTab |
enum Gtk::NumberUpLayout |
Used to determine the layout of pages on a sheet when printing multiple pages per sheet.
enum Gtk::Orientation |
Represents the orientation of widgets and other objects which can be switched between horizontal and vertical orientation on the fly, like Gtk::Toolbar or Gtk::GesturePan.
Enumerator | |
---|---|
ORIENTATION_HORIZONTAL |
The element is in horizontal orientation. |
ORIENTATION_VERTICAL |
The element is in vertical orientation. |
enum Gtk::PackDirection |
Determines how widgets should be packed inside menubars and menuitems contained in menubars.
enum Gtk::PackOptions |
Packing options for adding child widgets to a Box with pack_start() and pack_end().
enum Gtk::PackType |
Represents the packing location Gtk::Box children.
(See: Gtk::VBox, Gtk::HBox, and Gtk::ButtonBox).
Enumerator | |
---|---|
PACK_START |
The child is packed into the start of the box. |
PACK_END |
The child is packed into the end of the box. |
enum Gtk::PageOrientation |
See also Gtk::PrintSettings::set_orientation().
enum Gtk::PageSet |
See also Gtk::PrintJob::set_page_set().
Enumerator | |
---|---|
PAGE_SET_ALL |
All pages. |
PAGE_SET_EVEN |
Even pages. |
PAGE_SET_ODD |
Odd pages. |
enum Gtk::PanDirection |
Describes the panning direction of a Gtk::GesturePan.
Enumerator | |
---|---|
PAN_DIRECTION_LEFT |
Panned towards the left. |
PAN_DIRECTION_RIGHT |
Panned towards the right. |
PAN_DIRECTION_UP |
Panned upwards. |
PAN_DIRECTION_DOWN |
Panned downwards. |
enum Gtk::PathType |
Widget path types.
See also gtk_binding_set_add_path().
Deprecated: 3.0
Enumerator | |
---|---|
PATH_WIDGET |
Deprecated. |
PATH_WIDGET_CLASS |
Deprecated. |
PATH_CLASS |
Deprecated. |
enum Gtk::PlacesOpenFlags |
These flags serve two purposes.
First, the application can call Gtk::PlacesSidebar::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 Gtk::PlacesSidebar::signal_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::PlacesSidebar::set_open_flags(), then the sidebar will only use Gtk::PLACES_OPEN_NORMAL in the Gtk::PlacesSidebar::signal_open_location() signal. This is the default mode of operation.
- Bitwise operators:
PlacesOpenFlags operator|(PlacesOpenFlags, PlacesOpenFlags)
PlacesOpenFlags operator&(PlacesOpenFlags, PlacesOpenFlags)
PlacesOpenFlags operator^(PlacesOpenFlags, PlacesOpenFlags)
PlacesOpenFlags operator~(PlacesOpenFlags)
PlacesOpenFlags& operator|=(PlacesOpenFlags&, PlacesOpenFlags)
PlacesOpenFlags& operator&=(PlacesOpenFlags&, PlacesOpenFlags)
PlacesOpenFlags& operator^=(PlacesOpenFlags&, PlacesOpenFlags)
Enumerator | |
---|---|
PLACES_OPEN_NORMAL |
This is the default mode that Gtk::PlacesSidebar 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. |
PLACES_OPEN_NEW_TAB |
When passed to Gtk::PlacesSidebar::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 Gtk::PlacesSidebar::signal_open_location() signal when the user selects that a location be opened in a new tab instead of in the standard fashion. |
PLACES_OPEN_NEW_WINDOW |
Similar to GTK_PLACES_OPEN_NEW_TAB, but indicates that the application can open folders in new windows. |
enum Gtk::PolicyType |
Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars.
Enumerator | |
---|---|
POLICY_ALWAYS |
The scrollbar is always visible. The view size is independent of the content. |
POLICY_AUTOMATIC |
The scrollbar will appear and disappear as necessary. For example, when all of a Gtk::TreeView can not be seen. |
POLICY_NEVER |
The scrollbar should never appear. In this mode the content determines the size. |
POLICY_EXTERNAL |
Don't show a scrollbar, but don't force the size to follow the content. This can be used e.g. to make multiple scrolled windows share a scrollbar. |
Describes constraints to positioning of popovers.
More values may be added to this enumeration in the future.
enum Gtk::PositionType |
Describes which edge of a widget a certain feature is positioned at, e.g.
the tabs of a Gtk::Notebook, the handle of a Gtk::HandleBox or the label of a Gtk::Scale.
Enumerator | |
---|---|
POS_LEFT |
The feature is at the left edge. |
POS_RIGHT |
The feature is at the right edge. |
POS_TOP |
The feature is at the top edge. |
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.
- Bitwise operators:
PrintCapabilities operator|(PrintCapabilities, PrintCapabilities)
PrintCapabilities operator&(PrintCapabilities, PrintCapabilities)
PrintCapabilities operator^(PrintCapabilities, PrintCapabilities)
PrintCapabilities operator~(PrintCapabilities)
PrintCapabilities& operator|=(PrintCapabilities&, PrintCapabilities)
PrintCapabilities& operator&=(PrintCapabilities&, PrintCapabilities)
PrintCapabilities& operator^=(PrintCapabilities&, PrintCapabilities)
enum Gtk::PrintDuplex |
See also Gtk::PrintSettings::set_duplex().
Enumerator | |
---|---|
PRINT_DUPLEX_SIMPLEX |
No duplex. |
PRINT_DUPLEX_HORIZONTAL |
Horizontal duplex. |
PRINT_DUPLEX_VERTICAL |
Vertical duplex. |
The action parameter to Gtk::PrintOperation::run() determines what action the print operation should perform.
A value of this type is returned by Gtk::PrintOperation::run().
enum Gtk::PrintPages |
See also Gtk::PrintJob::set_pages()
Enumerator | |
---|---|
PRINT_PAGES_ALL |
All pages. |
PRINT_PAGES_CURRENT |
Current page. |
PRINT_PAGES_RANGES |
Range of pages. |
PRINT_PAGES_SELECTION |
Selected pages. |
enum Gtk::PrintQuality |
See also Gtk::PrintSettings::set_quality().
Enumerator | |
---|---|
PRINT_QUALITY_LOW |
Low quality. |
PRINT_QUALITY_NORMAL |
Normal quality. |
PRINT_QUALITY_HIGH |
High quality. |
PRINT_QUALITY_DRAFT |
Draft quality. |
enum Gtk::PrintStatus |
The status gives a rough indication of the completion of a running print operation.
Describes the stage at which events are fed into a Gtk::EventController.
Enumerator | |
---|---|
PHASE_NONE |
Events are not delivered automatically. Those can be manually fed through Gtk::EventController::handle_event(). This should only be used when full control about when, or whether the controller handles the event is needed. |
PHASE_CAPTURE |
Events are delivered in the capture phase. The capture phase happens before the bubble phase, runs from the toplevel down to the event widget. This option should only be used on containers that might possibly handle events before their children do. |
PHASE_BUBBLE |
Events are delivered in the bubble phase. The bubble phase happens after the capture phase, and before the default handlers are run. This phase runs from the event widget, up to the toplevel. |
PHASE_TARGET |
Events are delivered in the default widget event handlers, note that widget implementations must chain up on button, motion, touch and grab broken handlers for controllers in this phase to be run. |
These flags indicate what parts of a Gtk::RecentFilterInfo struct are filled or need to be filled.
- Bitwise operators:
RecentFilterFlags operator|(RecentFilterFlags, RecentFilterFlags)
RecentFilterFlags operator&(RecentFilterFlags, RecentFilterFlags)
RecentFilterFlags operator^(RecentFilterFlags, RecentFilterFlags)
RecentFilterFlags operator~(RecentFilterFlags)
RecentFilterFlags& operator|=(RecentFilterFlags&, RecentFilterFlags)
RecentFilterFlags& operator&=(RecentFilterFlags&, RecentFilterFlags)
RecentFilterFlags& operator^=(RecentFilterFlags&, RecentFilterFlags)
enum Gtk::RecentSortType |
Used to specify the sorting method to be applyed to the recently used resource list.
Enumerator | |
---|---|
RECENT_SORT_NONE |
Do not sort the returned list of recently used resources. |
RECENT_SORT_MRU |
Sort the returned list with the most recently used items first. |
RECENT_SORT_LRU |
Sort the returned list with the least recently used items first. |
RECENT_SORT_CUSTOM |
Sort the returned list using a custom sorting function passed using Gtk::RecentChooser::set_sort_func(). |
enum Gtk::RegionFlags |
Describes a region within a widget.
- Bitwise operators:
RegionFlags operator|(RegionFlags, RegionFlags)
RegionFlags operator&(RegionFlags, RegionFlags)
RegionFlags operator^(RegionFlags, RegionFlags)
RegionFlags operator~(RegionFlags)
RegionFlags& operator|=(RegionFlags&, RegionFlags)
RegionFlags& operator&=(RegionFlags&, RegionFlags)
RegionFlags& operator^=(RegionFlags&, RegionFlags)
enum Gtk::ReliefStyle |
Indicated the relief to be drawn around a Gtk::Button.
Enumerator | |
---|---|
RELIEF_NORMAL |
Draw a normal relief. |
RELIEF_HALF |
A half relief. Deprecated in 3.14, does the same as GTK_RELIEF_NORMAL. |
RELIEF_NONE |
No relief. |
enum Gtk::ResizeMode |
enum Gtk::ResponseType |
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.
These enumeration values describe the possible transitions when the child of a Gtk::Revealer widget is shown or hidden.
Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation.
Enumerator | |
---|---|
SCROLL_MINIMUM |
Scrollable adjustments are based on the minimum size. |
SCROLL_NATURAL |
Scrollable adjustments are based on the natural size. |
enum Gtk::ScrollType |
Scrolling types.
enum Gtk::SelectionMode |
Used to control what selections users are allowed to make.
Enumerator | |
---|---|
SELECTION_NONE |
No selection is possible. |
SELECTION_SINGLE |
Zero or one element may be selected. |
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. |
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. |
enum Gtk::SensitivityType |
enum Gtk::ShadowType |
Used to change the appearance of an outline typically provided by a Gtk::Frame.
Note that many themes do not differentiate the appearance of the various shadow types: Either their is no visible shadow ( GTK_SHADOW_NONE), or there is (any other value).
enum Gtk::ShortcutType |
GtkShortcutType specifies the kind of shortcut that is being described.
More values may be added to this enumeration over time.
Enumerator | |
---|---|
SHORTCUT_ACCELERATOR |
The shortcut is a keyboard accelerator. The Gtk::ShortcutsShortcut::property_accelerator() property will be used. |
SHORTCUT_GESTURE_PINCH |
The shortcut is a pinch gesture. GTK+ provides and icon and subtitle. |
SHORTCUT_GESTURE_STRETCH |
The shortcut is a stretch gesture. GTK+ provides and icon and subtitle. |
SHORTCUT_GESTURE_ROTATE_CLOCKWISE |
The shortcut is a clockwise rotation gesture. GTK+ provides and icon and subtitle. |
SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE |
The shortcut is a counterclockwise rotation gesture. GTK+ provides and icon and subtitle. |
SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT |
The shortcut is a two-finger swipe gesture. GTK+ provides and icon and subtitle. |
SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT |
The shortcut is a two-finger swipe gesture. GTK+ provides and icon and subtitle. |
SHORTCUT_GESTURE |
The shortcut is a gesture. The Gtk::ShortcutsShortcut::property_icon() property will be used. |
enum Gtk::SizeGroupMode |
The mode of the size group determines the directions in which the size group affects the requested sizes of its component widgets.
enum Gtk::SizeRequestMode |
Specifies a preference for height-for-width or width-for-height geometry management.
enum Gtk::SortType |
The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment.
See Gtk::SpinButton::set_update_policy().
Enumerator | |
---|---|
UPDATE_ALWAYS |
When refreshing your Gtk::SpinButton, the value is always displayed. |
UPDATE_IF_VALID |
When refreshing your Gtk::SpinButton, the value is only displayed if it is valid within the bounds of the spin button's adjustment. |
enum Gtk::SpinType |
The values of the GtkSpinType enumeration are used to specify the change to make in Gtk::SpinButton::spin().
These enumeration values describe the possible transitions between pages in a Gtk::Stack widget.
New values may be added to this enumeration over time.
enum Gtk::StateFlags |
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.
- Bitwise operators:
StateFlags operator|(StateFlags, StateFlags)
StateFlags operator&(StateFlags, StateFlags)
StateFlags operator^(StateFlags, StateFlags)
StateFlags operator~(StateFlags)
StateFlags& operator|=(StateFlags&, StateFlags)
StateFlags& operator&=(StateFlags&, StateFlags)
StateFlags& operator^=(StateFlags&, StateFlags)
Enumerator | |
---|---|
STATE_FLAG_NORMAL |
State during normal operation. |
STATE_FLAG_ACTIVE |
Widget is active. |
STATE_FLAG_PRELIGHT |
Widget has a mouse pointer over it. |
STATE_FLAG_SELECTED |
Widget is selected. |
STATE_FLAG_INSENSITIVE |
Widget is insensitive. |
STATE_FLAG_INCONSISTENT |
Widget is inconsistent. |
STATE_FLAG_FOCUSED |
Widget has the keyboard focus. |
STATE_FLAG_BACKDROP |
Widget is in a background toplevel window. |
STATE_FLAG_DIR_LTR |
Widget is in left-to-right text direction. |
STATE_FLAG_DIR_RTL |
Widget is in right-to-left text direction. |
STATE_FLAG_LINK |
Widget is a link. |
STATE_FLAG_VISITED |
The location the widget points to has already been visited. |
STATE_FLAG_CHECKED |
Widget is checked. |
STATE_FLAG_DROP_ACTIVE |
Widget is highlighted as a drop target for DND. |
enum Gtk::TargetFlags |
The Gtk::TargetFlags enumeration is used to specify constraints on a Gtk::TargetEntry.
- Bitwise operators:
TargetFlags operator|(TargetFlags, TargetFlags)
TargetFlags operator&(TargetFlags, TargetFlags)
TargetFlags operator^(TargetFlags, TargetFlags)
TargetFlags operator~(TargetFlags)
TargetFlags& operator|=(TargetFlags&, TargetFlags)
TargetFlags& operator&=(TargetFlags&, TargetFlags)
TargetFlags& operator^=(TargetFlags&, TargetFlags)
enum Gtk::TextDirection |
enum Gtk::TextSearchFlags |
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.
- Bitwise operators:
TextSearchFlags operator|(TextSearchFlags, TextSearchFlags)
TextSearchFlags operator&(TextSearchFlags, TextSearchFlags)
TextSearchFlags operator^(TextSearchFlags, TextSearchFlags)
TextSearchFlags operator~(TextSearchFlags)
TextSearchFlags& operator|=(TextSearchFlags&, TextSearchFlags)
TextSearchFlags& operator&=(TextSearchFlags&, TextSearchFlags)
TextSearchFlags& operator^=(TextSearchFlags&, TextSearchFlags)
enum Gtk::TextWindowType |
Used to reference the parts of Gtk::TextView.
Enumerator | |
---|---|
TEXT_WINDOW_PRIVATE | |
TEXT_WINDOW_WIDGET |
Window that floats over scrolling areas. |
TEXT_WINDOW_TEXT |
Scrollable text window. |
TEXT_WINDOW_LEFT |
Left side border window. |
TEXT_WINDOW_RIGHT |
Right side border window. |
TEXT_WINDOW_TOP |
Top border window. |
TEXT_WINDOW_BOTTOM |
Bottom border window. |
enum Gtk::ToolbarStyle |
Used to customize the appearance of a Gtk::Toolbar.
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.
Flags used to specify the supported drag targets.
- Bitwise operators:
ToolPaletteDragTargets operator|(ToolPaletteDragTargets, ToolPaletteDragTargets)
ToolPaletteDragTargets operator&(ToolPaletteDragTargets, ToolPaletteDragTargets)
ToolPaletteDragTargets operator^(ToolPaletteDragTargets, ToolPaletteDragTargets)
ToolPaletteDragTargets operator~(ToolPaletteDragTargets)
ToolPaletteDragTargets& operator|=(ToolPaletteDragTargets&, ToolPaletteDragTargets)
ToolPaletteDragTargets& operator&=(ToolPaletteDragTargets&, ToolPaletteDragTargets)
ToolPaletteDragTargets& operator^=(ToolPaletteDragTargets&, ToolPaletteDragTargets)
Enumerator | |
---|---|
TOOL_PALETTE_DRAG_ITEMS |
Support drag of items. |
TOOL_PALETTE_DRAG_GROUPS |
Support drag of groups. |
enum Gtk::TreeModelFlags |
These flags indicate various properties of a Gtk::TreeModel.
They are returned by Gtk::TreeModel::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.
- Bitwise operators:
TreeModelFlags operator|(TreeModelFlags, TreeModelFlags)
TreeModelFlags operator&(TreeModelFlags, TreeModelFlags)
TreeModelFlags operator^(TreeModelFlags, TreeModelFlags)
TreeModelFlags operator~(TreeModelFlags)
TreeModelFlags& operator|=(TreeModelFlags&, TreeModelFlags)
TreeModelFlags& operator&=(TreeModelFlags&, TreeModelFlags)
TreeModelFlags& operator^=(TreeModelFlags&, TreeModelFlags)
Enumerator | |
---|---|
TREE_MODEL_ITERS_PERSIST |
Iterators survive all signals emitted by the tree. |
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.
An enum for determining where a dropped row goes.
These enumeration values are used by gtk_ui_manager_add_ui() to determine what UI element to create.
Deprecated: 3.10
- Deprecated:
- Because Gtk::UIManager is deprecated.
- Bitwise operators:
UIManagerItemType operator|(UIManagerItemType, UIManagerItemType)
UIManagerItemType operator&(UIManagerItemType, UIManagerItemType)
UIManagerItemType operator^(UIManagerItemType, UIManagerItemType)
UIManagerItemType operator~(UIManagerItemType)
UIManagerItemType& operator|=(UIManagerItemType&, UIManagerItemType)
UIManagerItemType& operator&=(UIManagerItemType&, UIManagerItemType)
UIManagerItemType& operator^=(UIManagerItemType&, UIManagerItemType)
Enumerator | |
---|---|
UI_MANAGER_AUTO |
Pick the type of the UI element according to context. |
UI_MANAGER_MENUBAR |
Create a menubar. |
UI_MANAGER_MENU |
Create a menu. |
UI_MANAGER_TOOLBAR |
Create a toolbar. |
UI_MANAGER_PLACEHOLDER |
Insert a placeholder. |
UI_MANAGER_POPUP |
Create a popup menu. |
UI_MANAGER_MENUITEM |
Create a menuitem. |
UI_MANAGER_TOOLITEM |
Create a toolitem. |
UI_MANAGER_SEPARATOR |
Create a separator. |
UI_MANAGER_ACCELERATOR |
Install an accelerator. |
UI_MANAGER_POPUP_WITH_ACCELS |
Same as Gtk::UI_MANAGER_POPUP, but the actions’ accelerators are shown. |
enum Gtk::Unit |
See also Gtk::PrintSettings::set_paper_width().
Enumerator | |
---|---|
UNIT_NONE |
No units. |
UNIT_POINTS |
Dimensions in points. |
UNIT_INCH |
Dimensions in inches. |
UNIT_MM |
Dimensions in millimeters. |
enum Gtk::WidgetHelpType |
enum Gtk::WindowPosition |
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.
Enumerator | |
---|---|
WIN_POS_NONE |
No influence is made on placement. |
WIN_POS_CENTER |
Windows should be placed in the center of the screen. |
WIN_POS_MOUSE |
Windows should be placed at the current mouse position. |
WIN_POS_CENTER_ALWAYS |
Keep window centered as it changes size, etc. |
WIN_POS_CENTER_ON_PARENT |
Center the window on its transient parent (see Gtk::Window::set_transient_for()). |
Function Documentation
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |