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) |
| 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) |
| 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) |
| 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) |
| 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) |
Detailed Description
Enumeration Type Documentation
| enum Gtk::AccelFlags |
- 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 | |
| ACCEL_LOCKED | |
| ACCEL_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.
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 |
Used to indicate the direction in which a Gtk::Arrow should point.
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.
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)
| Enumerator | |
|---|---|
| EXPAND |
the widget should expand to take up any extra space in its container that has been allocated. The widget should expand to take up any extra space in its container that has been allocated. |
| SHRINK |
the widget should shrink as and when possible. The widget should shrink as and when possible. |
| FILL |
the widget should fill the space allocated to it. The widget should fill the space allocated to it. Used to dictate the style that a Gtk::ButtonBox uses to layout the buttons it contains. (See also: Gtk::VButtonBox and Gtk::HButtonBox). |
| enum Gtk::BuiltinIconSize |
| 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(). <note> Please note that Gtk::BUTTONS_OK, Gtk::BUTTONS_YES_NO and Gtk::BUTTONS_OK_CANCEL are discouraged by the GNOME HIG. </note>
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)
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::DeleteType |
| 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::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.
| enum Gtk::ExpanderStyle |
Used to specify the style of the expanders drawn by a Gtk::TreeView.
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 return SVG icons, even if gdk-pixbuf supports them. Cannot be used together with Gtk::ICON_LOOKUP_FORCE_SVG. |
| 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. |
| 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() returns |
| ICON_LOOKUP_GENERIC_FALLBACK |
Try to shorten icon name at '-' characters before looking at inherited themes. For more general fallback, see Gtk::IconTheme::choose_icon(). |
| ICON_LOOKUP_FORCE_SIZE |
Always return the icon scaled to the requested size. |
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 0 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 icon name (see <xref linkend="gtk3-Stock-Items">) |
| 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 |
| enum Gtk::IMPreeditStyle |
| enum Gtk::IMStatusStyle |
| 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::MessageType |
| 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 which can be switched between horizontal and vertical orientation on the fly, like Gtk::Toolbar.
| Enumerator | |
|---|---|
| ORIENTATION_HORIZONTAL |
The widget is in horizontal orientation. |
| ORIENTATION_VERTICAL |
The widget 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 |
| enum Gtk::PageSet |
| enum Gtk::PathType |
| enum Gtk::PolicyType |
| 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 |
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 |
| enum Gtk::PrintQuality |
| enum Gtk::PrintStatus |
The status gives a rough indication of the completion of a running print operation.
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. |
| 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.
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 |
| 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.
| 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().
| 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. |
| enum Gtk::StateType |
This type indicates the current state of a widget; the state determines how the widget is drawn.
The Gtk::StateType enumeration is also used to identify different colors in a Gtk::Style for drawing, so states can be used for subparts of a widget as well as entire widgets.
| enum Gtk::TargetFlags |
The Gtk::TargetFlags enumeration is used to specify constraints on an entry in a Gtk::TargetTable.
- 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 |
- 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)
| Enumerator | |
|---|---|
| TEXT_SEARCH_VISIBLE_ONLY | |
| TEXT_SEARCH_TEXT_ONLY | |
| TEXT_SEARCH_CASE_INSENSITIVE | |
| enum Gtk::TextWindowType |
| 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.
- 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 |
| 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()). |
| enum Gtk::WindowType |
A Gtk::Window 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 Gtk::Menu 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.
| Enumerator | |
|---|---|
| WINDOW_TOPLEVEL |
A regular window, such as a dialog. |
| WINDOW_POPUP |
A special window such as a tooltip. |
| enum Gtk::WrapMode |
Describes a type of line wrapping.
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 |
