gtkmm  3.91.0
Classes | Enumerations
Widgets

Classes

class  Gtk::AccelLabel
 A label which displays an accelerator key on the right of the text. More...
 
class  Gtk::ActionBar
 A full width bar for presenting contextual actions. More...
 
class  Gtk::AppChooserButton
 A button to launch an application chooser dialog. More...
 
class  Gtk::AppChooserWidget
 An application chooser widget that can be embedded in other widgets. More...
 
class  Gtk::AspectFrame
 A frame that constrains its child to a particular aspect ratio. More...
 
class  Gtk::Bin
 A container with just one child. More...
 
class  Gtk::Button
 A widget that creates a signal when clicked on. More...
 
class  Gtk::Calendar
 Display a calendar and/or allow the user to select a date. More...
 
class  Gtk::CellView
 A widget displaying a single row of a TreeModel. More...
 
class  Gtk::CheckButton
 Create widgets with a discrete toggle button. More...
 
class  Gtk::CheckMenuItem
 A menu item that maintains the state of a boolean value in addition to a Gtk::MenuItem's usual role in activating application code. More...
 
class  Gtk::ColorButton
 A button to launch a color selection dialog. More...
 
class  Gtk::ComboBox
 A widget used to choose from a list of items. More...
 
class  Gtk::ComboBoxText
 This is a simple variant of ComboBox that hides the model-view complexity for simple text-only use cases. More...
 
class  Gtk::Container
 Abstract container class. More...
 
class  Gtk::DrawingArea
 A widget for custom user interface elements. More...
 
class  Gtk::Entry
 A single line text entry field. More...
 
class  Gtk::EventBox
 Event capturing box. More...
 
class  Gtk::Expander
 A container which can hide its child. More...
 
class  Gtk::FileChooserButton
 A button to launch a file chooser dialog. More...
 
class  Gtk::FileChooserWidget
 File chooser widget that can be embedded in other widgets. More...
 
class  Gtk::Fixed
 A container which allows you to position widgets at fixed coordinates. More...
 
class  Gtk::FlowBox
 A container that allows reflowing its children. More...
 
class  Gtk::FlowBoxChild
 See the description of FlowBox. More...
 
class  Gtk::FontButton
 A button to launch a font selection dialog. More...
 
class  Gtk::FontChooserWidget
 A dialog box for selecting fonts. More...
 
class  Gtk::Frame
 A Gtk::Bin with a decorative frame and optional label. More...
 
class  Gtk::GLArea
 A widget used for drawing with OpenGL. More...
 
class  Gtk::Grid
 A container which arranges its child widgets in rows and columns. More...
 
class  Gtk::IconView
 The IconView provides an alternative view of a list model. More...
 
class  Gtk::Image
 A widget displaying an image. More...
 
class  Gtk::InfoBar
 This widget that can be used to show messages to the user without showing a dialog. More...
 
class  Gtk::Invisible
 This widget is used internally in GTK+, and is probably not useful for application developers. More...
 
class  Gtk::Label
 A widget that displays a small to medium amount of text. More...
 
class  Gtk::Layout
 Infinite scrollable area containing child widgets and/or custom drawing. More...
 
class  Gtk::LevelBar
 A bar that can be used as a level indicator. More...
 
class  Gtk::LinkButton
 Create buttons bound to a URL. More...
 
class  Gtk::ListBox
 A ListBox is a vertical container that contains ListBoxRow children. More...
 
class  Gtk::ListBoxRow
 See the description of ListBox. More...
 
class  Gtk::LockButton
 A widget to unlock or lock privileged operations. More...
 
class  Gtk::Menu
 A drop-down menu consisting of Gtk::MenuItem objects which can be navigated and activated by the user to perform application functions. More...
 
class  Gtk::MenuBar
 A standard menu bar which usually holds Gtk::Menu submenu items. More...
 
class  Gtk::MenuButton
 A widget that shows a menu when clicked on. More...
 
class  Gtk::MenuItem
 Child item for menus. More...
 
class  Gtk::MenuShell
 The abstract base class for Gtk::Menu and Gtk::MenuBar. More...
 
class  Gtk::MenuToolButton
 A Gtk::ToolItem containing a toggle button. More...
 
class  Gtk::ModelButton
 A button that uses a Gio::Action as model. More...
 
class  Gtk::Notebook
 Container which shows one of its children at a time, in tabbed windows. More...
 
class  Gtk::Paned
 A widget with two adjustable panes. More...
 
class  Gtk::PlacesSidebar
 Sidebar that displays frequently-used places in the file system. More...
 
class  Gtk::Popover
 Context dependent bubbles. More...
 
class  Gtk::PopoverMenu
 A Popover to use as a menu. More...
 
class  Gtk::ProgressBar
 A widget which indicates progress visually. More...
 
class  Gtk::RadioButton
 A choice from multiple check buttons. More...
 
class  Gtk::RadioMenuItem
 A CheckMenuItem that belongs to a group. More...
 
class  Gtk::RadioToolButton
 A toolbar item that contains a radio button. More...
 
class  Gtk::Range
 Base class for widgets which visualize an adjustment. More...
 
class  Gtk::Revealer
 Hide and show with animation. More...
 
class  Gtk::Scale
 A slider widget for selecting a value from a range. More...
 
class  Gtk::ScaleButton
 A button which pops up a scale widget. More...
 
class  Gtk::Scrollbar
 A Scrollbar. More...
 
class  Gtk::ScrolledWindow
 Adds scrollbars to its child widget. More...
 
class  Gtk::SearchBar
 A toolbar to integrate a search entry with. More...
 
class  Gtk::SearchEntry
 This is a subclass of Gtk::Entry that has been tailored for use as a search entry. More...
 
class  Gtk::SeparatorMenuItem
 A separator used to group items within a menu. More...
 
class  Gtk::SeparatorToolItem
 A toolbar item that separates groups of other toolbar items. More...
 
class  Gtk::ShortcutLabel
 Displays a keyboard shortcut. More...
 
class  Gtk::ShortcutsGroup
 Represents a group of shortcuts in a ShortcutsWindow. More...
 
class  Gtk::ShortcutsSection
 Represents an application mode in a ShortcutsWindow. More...
 
class  Gtk::ShortcutsShortcut
 Represents a keyboard shortcut in a ShortcutsWindow. More...
 
class  Gtk::ShortcutsWindow
 Toplevel which shows help for shortcuts. More...
 
class  Gtk::SpinButton
 numeric Entry with up/down buttons Slightly misnamed, this should be called a SpinEntry. More...
 
class  Gtk::Spinner
 A widget that displays a spinner animation. More...
 
class  Gtk::Stack
 A container that shows only one child at a time. More...
 
class  Gtk::StackSidebar
 Sidebar widget that shows the pages of a Stack. More...
 
class  Gtk::StackSwitcher
 A controller for a Gtk::Stack. More...
 
class  Gtk::Statusbar
 Text status indicator This widget is used to display status information. More...
 
class  Gtk::Switch
 A "light switch"-style toggle. More...
 
class  Gtk::TextView
 Multi-line text editing widget. More...
 
class  Gtk::ToggleButton
 A Gtk::ToggleButton will remain 'pressed-in' when clicked. More...
 
class  Gtk::ToggleToolButton
 A Gtk::ToolItem containing a toggle button. More...
 
class  Gtk::Toolbar
 Bars of buttons and other widgets. More...
 
class  Gtk::ToolButton
 A Gtk::ToolItem subclass that displays buttons. More...
 
class  Gtk::ToolItem
 The base class of widgets that can be added to ToolShell. More...
 
class  Gtk::ToolItemGroup
 A ToolItemGroup is used together with ToolPalette to add ToolItems to a palette-like container with different categories and drag and drop support. More...
 
class  Gtk::ToolPalette
 A ToolPalette allows you to add ToolItems to a palette-like container with various categories and drag and drop support. More...
 
class  Gtk::TreeView
 The TreeView widget displays the model (Gtk::TreeModel) data and allows the user to interact with it. More...
 
class  Gtk::Viewport
 An adapter which makes widgets scrollable. More...
 
class  Gtk::VolumeButton
 A button which pops up a volume control. More...
 
class  Gtk::Window
 Toplevel Window. More...
 
class  Gtk::ListViewText::TextModelColumns
 
class  Gtk::ListViewText
 A simple listbox which presents some lines of information in columns and lets the user select some of them. More...
 
class  Gtk::WidgetCustomDraw
 Widget with signal_draw(). More...
 
class  Gtk::WidgetCustomSnapshot
 Widget with snapshot_vfunc(). More...
 

Enumerations

enum  Gtk::Calendar::DisplayOptions {
  Gtk::Calendar::DisplayOptions::SHOW_HEADING = 1 << 0,
  Gtk::Calendar::DisplayOptions::SHOW_DAY_NAMES = 1 << 1,
  Gtk::Calendar::DisplayOptions::NO_MONTH_CHANGE = 1 << 2,
  Gtk::Calendar::DisplayOptions::SHOW_WEEK_NUMBERS = 1 << 3,
  Gtk::Calendar::DisplayOptions::SHOW_DETAILS = 1 << 5
}
 These options can be used to influence the display and behaviour of a Gtk::Calendar. More...
 
enum  Gtk::Entry::IconPosition {
  Gtk::Entry::IconPosition::PRIMARY,
  Gtk::Entry::IconPosition::SECONDARY
}
 Specifies the side of the entry at which an icon is placed. More...
 
enum  Gtk::Image::Type {
  Gtk::Image::Type::EMPTY,
  Gtk::Image::Type::PIXBUF,
  Gtk::Image::Type::ANIMATION,
  Gtk::Image::Type::ICON_NAME,
  Gtk::Image::Type::GICON,
  Gtk::Image::Type::SURFACE
}
 Describes the image data representation used by a Gtk::Image. More...
 
enum  Gtk::LevelBar::Mode {
  Gtk::LevelBar::Mode::CONTINUOUS,
  Gtk::LevelBar::Mode::DISCRETE
}
 Describes how Gtk::LevelBar contents should be rendered. More...
 
enum  Gtk::Popover::Constraint {
  Gtk::Popover::Constraint::NONE,
  Gtk::Popover::Constraint::WINDOW
}
 Describes constraints to positioning of popovers. More...
 
enum  Gtk::SpinButton::UpdatePolicy {
  Gtk::SpinButton::UpdatePolicy::ALWAYS,
  Gtk::SpinButton::UpdatePolicy::IF_VALID
}
 The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment. More...
 
enum  { Gtk::SpinButton::INPUT_ERROR = -1 }
 Constant to return from a signal handler for the input signal in case of conversion failure. More...
 

Detailed Description

Enumeration Type Documentation

anonymous enum

Constant to return from a signal handler for the input signal in case of conversion failure.

Enumerator
INPUT_ERROR 

Describes constraints to positioning of popovers.

More values may be added to this enumeration in the future.

Since gtkmm 3.20:
Enumerator
NONE 

Don't constrain the popover position beyond what is imposed by the implementation.

WINDOW 

Constrain the popover to the boundaries of the window that it is attached to.

These options can be used to influence the display and behaviour of a Gtk::Calendar.

Bitwise operators:
Calendar::DisplayOptions operator|(Calendar::DisplayOptions, Calendar::DisplayOptions)
Calendar::DisplayOptions operator&(Calendar::DisplayOptions, Calendar::DisplayOptions)
Calendar::DisplayOptions operator^(Calendar::DisplayOptions, Calendar::DisplayOptions)
Calendar::DisplayOptions operator~(Calendar::DisplayOptions)
Calendar::DisplayOptions& operator|=(Calendar::DisplayOptions&, Calendar::DisplayOptions)
Calendar::DisplayOptions& operator&=(Calendar::DisplayOptions&, Calendar::DisplayOptions)
Calendar::DisplayOptions& operator^=(Calendar::DisplayOptions&, Calendar::DisplayOptions)
Enumerator
SHOW_HEADING 

Specifies that the month and year should be displayed.

SHOW_DAY_NAMES 

Specifies that three letter day descriptions should be present.

NO_MONTH_CHANGE 

Prevents the user from switching months with the calendar.

SHOW_WEEK_NUMBERS 

Displays each week numbers of the current year, down the left side of the calendar.

SHOW_DETAILS 

Just show an indicator, not the full details text when details are provided.

See Gtk::Calendar::set_detail_func().

Specifies the side of the entry at which an icon is placed.

Since gtkmm 2.16:
Enumerator
PRIMARY 

At the beginning of the entry (depending on the text direction).

SECONDARY 

At the end of the entry (depending on the text direction).

enum Gtk::LevelBar::Mode
strong

Describes how Gtk::LevelBar contents should be rendered.

Note that this enumeration could be extended with additional modes in the future.

Since gtkmm 3.6:
Enumerator
CONTINUOUS 

The bar has a continuous mode.

DISCRETE 

The bar has a discrete mode.

enum Gtk::Image::Type
strong

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::Type::PIXBUF, then you can call Gtk::Image::get_pixbuf(). For empty images, you can request any storage type (call any of the "get" functions), but they will all return nullptr values.

Enumerator
EMPTY 

There is no image displayed by the widget.

PIXBUF 

The widget contains a Gdk::Pixbuf.

ANIMATION 

The widget contains a Gdk::PixbufAnimation.

ICON_NAME 

The widget contains a named icon.

This image type was added in GTK+ 2.6.

GICON 

The widget contains a Gio::Icon.

This image type was added in GTK+ 2.14.

SURFACE 

The widget contains a #cairo_surface_t.

This image type was added in GTK+ 3.10.

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
ALWAYS 

When refreshing your Gtk::SpinButton, the value is always displayed.

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.