gtkmm: New API in gtkmm 2.4

gtkmm 3.13.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

New API in gtkmm 2.4

Member Gdk::Cursor::create (const Glib::RefPtr< Display >& display, const Glib::RefPtr< Pixbuf >& pixbuf, int x, int y)
  Parameters

    display | The Gdk::Display for which the cursor will be created.
    pixbuf | The Gdk::Pixbuf containing the cursor image.
    x | The horizontal offset of the “hotspot” of the cursor.
    y | The vertical offset of the “hotspot” of the cursor.

  Returns
    A new Gdk::Cursor.
Member Gdk::Display::flush ()
Member Gdk::Display::get_default_cursor_size () const
  Returns
    The default cursor size.
Member Gdk::Display::get_default_group ()
  Returns
    The default group leader window for display.
Member Gdk::Display::get_default_group () const
  Returns
    The default group leader window for display.
Member Gdk::Display::get_maximal_cursor_size (guint& width, guint& height)
  Parameters

    width | The return location for the maximal cursor width.
    height | The return location for the maximal cursor height.

Member Gdk::Display::set_double_click_distance (guint distance)
Member Gdk::Display::supports_cursor_alpha () const
  Returns
    Whether cursors can have alpha channels.
Member Gdk::Display::supports_cursor_color () const
  Returns
    Whether cursors can have multiple colors.
Member Gdk::Window::get_group ()
  Returns
    The group leader window for window.
Member Gdk::Window::get_group () const
  Returns
    The group leader window for window.
Member Gdk::Window::set_accept_focus (bool accept_focus=true)
  Parameters

    accept_focus | `true` if the window should receive input focus.

Member Gdk::Window::set_keep_above (bool setting=true)
  Parameters

    setting | Whether to keep window above other windows.

Member Gdk::Window::set_keep_below (bool setting=true)
  Parameters

    setting | Whether to keep window below other windows.

Member Gtk::AccelMap::lock_path (const std::string& accel_path)
Member Gtk::AccelMap::unlock_path (const std::string& accel_path)
Member Gtk::Action::activate ()
Member Gtk::Action::connect_accelerator ()
Member Gtk::Action::create_icon (IconSize icon_size)
Member Gtk::Action::create_menu_item ()
Member Gtk::Action::create_tool_item ()
Member Gtk::Action::disconnect_accelerator ()
Member Gtk::Action::get_name () const
Member Gtk::Action::get_proxies ()
Member Gtk::Action::get_proxies () const
Member Gtk::Action::get_sensitive () const
Member Gtk::Action::get_visible () const
Member Gtk::Action::is_sensitive () const
Member Gtk::Action::is_visible () const
Member Gtk::Action::set_accel_group (const Glib::RefPtr< AccelGroup >& accel_group)
Member Gtk::Action::set_accel_path (const Glib::ustring& accel_path)
Member Gtk::Action::signal_activate ()
Member Gtk::ActionGroup::get_action (const Glib::ustring& action_name)
Member Gtk::ActionGroup::get_action (const Glib::ustring& action_name) const
Member Gtk::ActionGroup::get_actions ()
Member Gtk::ActionGroup::get_actions () const
Member Gtk::ActionGroup::get_name () const
Member Gtk::ActionGroup::get_sensitive () const
Member Gtk::ActionGroup::get_visible () const
Member Gtk::ActionGroup::remove (const Glib::RefPtr< Action >& action)
Member Gtk::ActionGroup::set_sensitive (bool sensitive=true)
Member Gtk::ActionGroup::set_visible (bool visible=true)
Member Gtk::ActionGroup::signal_connect_proxy ()
Member Gtk::ActionGroup::signal_disconnect_proxy ()
Member Gtk::ActionGroup::signal_post_activate ()
Member Gtk::ActionGroup::signal_pre_activate ()
Member Gtk::Alignment::get_padding (guint& padding_top, guint& padding_bottom, guint& padding_left, guint& padding_right)
  Parameters

    padding_top | Location to store the padding for the top of the widget, or `0`.
    padding_bottom | Location to store the padding for the bottom of the widget, or `0`.
    padding_left | Location to store the padding for the left of the widget, or `0`.
    padding_right | Location to store the padding for the right of the widget, or `0`.

Member Gtk::Alignment::set_padding (guint padding_top, guint padding_bottom, guint padding_left, guint padding_right)
  Parameters

    padding_top | The padding at the top of the widget.
    padding_bottom | The padding at the bottom of the widget.
    padding_left | The padding at the left of the widget.
    padding_right | The padding at the right of the widget.

Member Gtk::Button::get_alignment (float& xalign, float& yalign)
  Parameters

    xalign | Return location for horizontal alignment.
    yalign | Return location for vertical alignment.

Member Gtk::Button::get_focus_on_click () const
  Returns
    `true` if the button grabs focus when it is clicked with the mouse.
Member Gtk::Button::set_alignment (float xalign, float yalign)
  Parameters

    xalign | The horizontal position of the child, 0.0 is left aligned, 1.0 is right aligned.
    yalign | The vertical position of the child, 0.0 is top aligned, 1.0 is bottom aligned.

Member Gtk::Button::set_focus_on_click (bool focus_on_click=true)
  Parameters

    focus_on_click | Whether the button grabs focus when clicked with the mouse.

Member Gtk::ButtonBox::get_child_secondary (const Gtk::Widget& child) const
  Parameters

    child | A child of widget.

  Returns
    Whether child should appear in a secondary group of children.
Member Gtk::Calendar::get_display_options () const
  Returns
    The display options.
Member Gtk::Calendar::set_display_options (CalendarDisplayOptions flags)
  Parameters

    flags | The display options to set.

Member Gtk::CellLayout::add_attribute (CellRenderer& cell, const Glib::ustring& attribute, int column)
  Parameters

    cell | A Gtk::CellRenderer.
    attribute | An attribute on the renderer.
    column | The column position on the model to get the attribute from.

Member Gtk::CellLayout::clear ()
Member Gtk::CellLayout::clear_attributes (CellRenderer& cell)
  Parameters

    cell | A Gtk::CellRenderer to clear the attribute mapping on.

Member Gtk::CellLayout::pack_end (CellRenderer& cell, bool expand=true)
  Parameters

    cell | A Gtk::CellRenderer.
    expand | `true` if cell is to be given extra space allocated to cell_layout.

Member Gtk::CellLayout::pack_start (CellRenderer& cell, bool expand=true)
  Parameters

    cell | A Gtk::CellRenderer.
    expand | `true` if cell is to be given extra space allocated to cell_layout.

Member Gtk::CellLayout::reorder (CellRenderer& cell, int position)
  Parameters

    cell | A Gtk::CellRenderer to reorder.
    position | New position to insert cell at.

Member Gtk::CellRenderer::signal_editing_canceled ()
Member Gtk::CheckMenuItem::get_draw_as_radio () const
  Returns
    Whether check_menu_item looks like a Gtk::RadioMenuItem.
Member Gtk::CheckMenuItem::set_draw_as_radio (bool draw_as_radio=true)
  Parameters

    draw_as_radio | Whether check_menu_item is drawn like a Gtk::RadioMenuItem.

Member Gtk::Clipboard::request_targets (const SlotTargetsReceived& slot)
Member Gtk::Clipboard::wait_for_targets () const
Member Gtk::ColorButton::ColorButton ()
Member Gtk::ColorButton::ColorButton (const Gdk::Color& color)
Member Gtk::ColorButton::get_alpha () const
Member Gtk::ColorButton::get_color () const
Member Gtk::ColorButton::get_title () const
  Returns
    The title.
Member Gtk::ColorButton::get_use_alpha () const
Member Gtk::ColorButton::set_alpha (guint16 alpha)
Member Gtk::ColorButton::set_color (const Gdk::Color& color)
Member Gtk::ColorButton::set_title (const Glib::ustring& title)
  Parameters

    title | String containing new window title.

Member Gtk::ColorButton::set_use_alpha (bool use_alpha=true)
Member Gtk::ColorButton::signal_color_set ()
Member Gtk::ComboBox::get_active_row_number () const
  Returns
    An integer which is the index of the currently active item, or -1 if there’s no active item.
Member Gtk::ComboBox::get_model ()
  Returns
    A Gtk::TreeModel which was passed during construction.
Member Gtk::ComboBox::get_model () const
  Returns
    A Gtk::TreeModel which was passed during construction.
Member Gtk::ComboBox::popdown ()
Member Gtk::ComboBox::popup ()
Member Gtk::ComboBox::set_active (int index)
  Parameters

    index | An index in the model passed during construction, or -1 to have no active item.

Member Gtk::ComboBox::set_active (const TreeModel::iterator& iter)
  Parameters

    iter | The Gtk::TreeIter, or `0`.

Member Gtk::ComboBox::set_column_span_column (int column_span)
  Parameters

    column_span | A column in the model passed during construction.

Member Gtk::ComboBox::set_model (const Glib::RefPtr< TreeModel >& model)
  Parameters

    model | A Gtk::TreeModel.

Member Gtk::ComboBox::set_row_span_column (int row_span)
  Parameters

    row_span | A column in the model passed during construction.

Member Gtk::ComboBox::set_wrap_width (int width)
  Parameters

    width | Preferred number of columns.

Member Gtk::ComboBox::signal_changed ()
Member Gtk::Entry::get_alignment () const
  Returns
    The alignment.
Member Gtk::Entry::get_completion ()
  Returns
    The auxiliary completion object currently in use by entry.
Member Gtk::Entry::get_completion () const
  Returns
    The auxiliary completion object currently in use by entry.
Member Gtk::Entry::set_alignment (float xalign)
  Parameters

    xalign | The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

Member Gtk::Entry::set_alignment (Align xalign)
  Parameters

    xalign | The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

Member Gtk::Entry::set_completion (const Glib::RefPtr< EntryCompletion >& completion)
  Parameters

    completion | The Gtk::EntryCompletion or `0`.

Member Gtk::EntryCompletion::complete ()
Member Gtk::EntryCompletion::delete_action (int index=0)
  Parameters

    index | The index of the item to delete.

Member Gtk::EntryCompletion::get_entry ()
  Returns
    The entry completion has been attached to.
Member Gtk::EntryCompletion::get_entry () const
  Returns
    The entry completion has been attached to.
Member Gtk::EntryCompletion::get_minimum_key_length () const
  Returns
    The currently used minimum key length.
Member Gtk::EntryCompletion::get_model ()
  Returns
    A Gtk::TreeModel, or `0` if none is currently being used.
Member Gtk::EntryCompletion::get_model () const
  Returns
    A Gtk::TreeModel, or `0` if none is currently being used.
Member Gtk::EntryCompletion::set_minimum_key_length (int length)
  Parameters

    length | The minimum length of the key in order to start completing.

Member Gtk::EntryCompletion::set_model (const Glib::RefPtr< TreeModel >& model)
  Parameters

    model | The Gtk::TreeModel.

Member Gtk::EntryCompletion::set_text_column (const TreeModelColumnBase& column)
  Parameters

    column | The column in the model of completion to get strings from.

Member Gtk::EntryCompletion::set_text_column (int column)
  Parameters

    column | The column in the model of completion to get strings from.

Member Gtk::EntryCompletion::signal_action_activated ()
  Parameters

    index | The index of the activated action.

Member Gtk::EventBox::get_above_child () const
  Returns
    `true` if the event box window is above the window of its child.
Member Gtk::EventBox::get_visible_window () const
  Returns
    `true` if the event box window is visible.
Member Gtk::EventBox::set_above_child (bool above_child=true)
  Parameters

    above_child | `true` if the event box window is above its child.

Member Gtk::EventBox::set_visible_window (bool visible_window=true)
  Parameters

    visible_window | `true` to make the event box have a visible window.

Member Gtk::Expander::Expander ()
Member Gtk::Expander::Expander (const Glib::ustring& label, bool mnemonic=false)
Member Gtk::Expander::get_expanded () const
  Returns
    The current state of the expander.
Member Gtk::Expander::get_label () const
  Returns
    The text of the label widget. This string is owned by the widget and must not be modified or freed.
Member Gtk::Expander::get_label_widget ()
  Returns
    The label widget, or `0` if there is none.
Member Gtk::Expander::get_label_widget () const
  Returns
    The label widget, or `0` if there is none.
Member Gtk::Expander::get_spacing () const
  Returns
    Spacing between the expander and child.
Member Gtk::Expander::get_use_markup () const
  Returns
    `true` if the label’s text will be parsed for markup.
Member Gtk::Expander::get_use_underline () const
  Returns
    `true` if an embedded underline in the expander label indicates the mnemonic accelerator keys.
Member Gtk::Expander::set_expanded (bool expanded=true)
  Parameters

    expanded | Whether the child widget is revealed.

Member Gtk::Expander::set_label (const Glib::ustring& label)
  Parameters

    label | A string.

Member Gtk::Expander::set_label_widget (Widget& label_widget)
  Parameters

    label_widget | The new label widget.

Member Gtk::Expander::set_spacing (int spacing)
  Parameters

    spacing | Distance between the expander and child in pixels.

Member Gtk::Expander::set_use_markup (bool use_markup=true)
  Parameters

    use_markup | `true` if the label’s text should be parsed for markup.

Member Gtk::Expander::set_use_underline (bool use_underline=true)
  Parameters

    use_underline | `true` if underlines in the text indicate mnemonics.

Member Gtk::FileChooser::add_filter (const Glib::RefPtr< FileFilter >& filter)
  Parameters

    filter | A Gtk::FileFilter.

Member Gtk::FileChooser::add_shortcut_folder (const std::string& folder)
  Parameters

    folder | Filename of the folder to add.

  Returns
    `true` if the folder could be added successfully, `false` otherwise. In the latter case, the error will be set as appropriate.
Member Gtk::FileChooser::add_shortcut_folder_uri (const Glib::ustring& uri)
  Parameters

    uri | URI of the folder to add.

  Returns
    `true` if the folder could be added successfully, `false` otherwise. In the latter case, the error will be set as appropriate.
Member Gtk::FileChooser::get_action () const
  Returns
    The action that the file selector is performing.
Member Gtk::FileChooser::get_current_folder () const
  Returns
    The full path of the current folder, possibly empty if the current path cannot be represented as a local filename. This function may also return and empty string if the file chooser was unable to load the last folder that was requested from it; for example, as would be for calling set_current_folder() on a nonexistent folder.
Member Gtk::FileChooser::get_current_folder_uri () const
  Returns
    The URI for the current folder.
Member Gtk::FileChooser::get_extra_widget ()
  Returns
    The current extra widget, or `0`.
Member Gtk::FileChooser::get_extra_widget () const
  Returns
    The current extra widget, or `0`.
Member Gtk::FileChooser::get_filename () const
  Returns
    The currently selected filename, or an empty string if no file is selected, or the selected file can't be represented with a local filename.
Member Gtk::FileChooser::get_filenames () const
  Returns
    A list containing the filenames of all selected files and subfolders in the current folder.
Member Gtk::FileChooser::get_filter ()
  Returns
    The current filter, or `0`.
Member Gtk::FileChooser::get_filter () const
  Returns
    The current filter, or `0`.
Member Gtk::FileChooser::get_local_only () const
  Returns
    `true` if only local files can be selected.
Member Gtk::FileChooser::get_preview_filename () const
  Returns
    The filename to preview, or an empty string if no file is selected, or if the selected file cannot be represented as a local filename.
Member Gtk::FileChooser::get_preview_uri () const
  Returns
    The URI for the file to preview, or an empty string if no file is selected.
Member Gtk::FileChooser::get_preview_widget ()
  Returns
    The current preview widget, or `0`.
Member Gtk::FileChooser::get_preview_widget () const
  Returns
    The current preview widget, or `0`.
Member Gtk::FileChooser::get_preview_widget_active () const
  Returns
    `true` if the preview widget is active for the current filename.
Member Gtk::FileChooser::get_select_multiple () const
  Returns
    `true` if multiple files can be selected.
Member Gtk::FileChooser::get_uri () const
  Returns
    The currently selected URI, or an empty string if no file is selected.
Member Gtk::FileChooser::get_uris () const
  Returns
    A list containing the URIs of all selected files and subfolders in the current folder.
Member Gtk::FileChooser::list_filters ()
  Returns
    A list containing the current set of user selectable filters.
Member Gtk::FileChooser::list_filters () const
  Returns
    A list containing the current set of user selectable filters.
Member Gtk::FileChooser::list_shortcut_folder_uris () const
  Returns
    A list of folder URIs.
Member Gtk::FileChooser::list_shortcut_folders () const
  Returns
    A list of folder filenames, if there are any shortcut folders.
Member Gtk::FileChooser::remove_filter (const Glib::RefPtr< FileFilter >& filter)
  Parameters

    filter | A Gtk::FileFilter.

Member Gtk::FileChooser::remove_shortcut_folder (const std::string& folder)
  Parameters

    folder | Filename of the folder to remove.

  Returns
    `true` if the operation succeeds, `false` otherwise. In the latter case, the error will be set as appropriate.
Member Gtk::FileChooser::remove_shortcut_folder_uri (const Glib::ustring& uri)
  Parameters

    uri | URI of the folder to remove.

  Returns
    `true` if the operation succeeds, `false` otherwise. In the latter case, the error will be set as appropriate.
Member Gtk::FileChooser::select_all ()
Member Gtk::FileChooser::select_filename (const std::string& filename)
  Parameters

    filename | The filename to select.

  Returns
    Not useful.
Member Gtk::FileChooser::select_uri (const Glib::ustring& uri)
  Parameters

    uri | The URI to select.

  Returns
    Not useful.
Member Gtk::FileChooser::set_action (FileChooserAction action)
  Parameters

    action | The action that the file selector is performing.

Member Gtk::FileChooser::set_current_folder (const std::string& filename)
  Parameters

    filename | The full path of the new current folder.

  Returns
    Not useful.
Member Gtk::FileChooser::set_current_folder_uri (const Glib::ustring& uri)
  Parameters

    uri | The URI for the new current folder.

  Returns
    `true` if the folder could be changed successfully, `false` otherwise.
Member Gtk::FileChooser::set_current_name (const Glib::ustring& name)
  Parameters

    name | The filename to use, as a UTF-8 string.

Member Gtk::FileChooser::set_extra_widget (Gtk::Widget& extra_widget)
  Parameters

    extra_widget | Widget for extra options.

Member Gtk::FileChooser::set_filename (const std::string& filename)
  Parameters

    filename | The filename to set as current.

  Returns
    Not useful.
Member Gtk::FileChooser::set_filter (const Glib::RefPtr< FileFilter >& filter)
  Parameters

    filter | A Gtk::FileFilter.

Member Gtk::FileChooser::set_local_only (bool local_only=true)
  Parameters

    local_only | `true` if only local files can be selected.

Member Gtk::FileChooser::set_preview_widget (Gtk::Widget& preview_widget)
  Parameters

    preview_widget | Widget for displaying preview.

Member Gtk::FileChooser::set_preview_widget_active (bool active=true)
  Parameters

    active | Whether to display the user-specified preview widget.

Member Gtk::FileChooser::set_select_multiple (bool select_multiple=true)
  Parameters

    select_multiple | `true` if multiple files can be selected.

Member Gtk::FileChooser::set_uri (const Glib::ustring& uri)
  Parameters

    uri | The URI to set as current.

  Returns
    Not useful.
Member Gtk::FileChooser::set_use_preview_label (bool use_label=true)
  Parameters

    use_label | Whether to display a stock label with the name of the previewed file.

Member Gtk::FileChooser::unselect_all ()
Member Gtk::FileChooser::unselect_filename (const std::string& filename)
  Parameters

    filename | The filename to unselect.

Member Gtk::FileChooser::unselect_uri (const Glib::ustring& uri)
  Parameters

    uri | The URI to unselect.

Member Gtk::FileChooserWidget::FileChooserWidget (FileChooserAction action)
Member Gtk::FileFilter::add_mime_type (const Glib::ustring& mime_type)
  Parameters

    mime_type | Name of a MIME type.

Member Gtk::FileFilter::add_pattern (const Glib::ustring& pattern)
  Parameters

    pattern | A shell style glob.

Member Gtk::FileFilter::get_name () const
  Returns
    The human-readable name of the filter, or `0`. This value is owned by GTK+ and must not be modified or freed.
Member Gtk::FileFilter::get_needed () const
  Returns
    Bitfield of flags indicating needed fields when calling filter().
Member Gtk::FileFilter::set_name (const Glib::ustring& name)
  Parameters

    name | The human-readable-name for the filter, or `0` to remove any existing name.

Member Gtk::FontButton::get_font_name () const
  Returns
    An internal copy of the font name which must not be freed.
Member Gtk::FontButton::get_show_size () const
  Returns
    Whether the font size will be shown in the label.
Member Gtk::FontButton::get_show_style () const
  Returns
    Whether the font style will be shown in the label.
Member Gtk::FontButton::get_title () const
  Returns
    An internal copy of the title string which must not be freed.
Member Gtk::FontButton::get_use_font () const
  Returns
    Whether the selected font is used in the label.
Member Gtk::FontButton::get_use_size () const
  Returns
    Whether the selected size is used in the label.
Member Gtk::FontButton::set_font_name (const Glib::ustring& fontname)
  Parameters

    fontname | Name of font to display in font chooser dialog.

  Returns
    `true`.
Member Gtk::FontButton::set_show_size (bool show_size=true)
  Parameters

    show_size | `true` if font size should be displayed in dialog.

Member Gtk::FontButton::set_show_style (bool show_style=true)
  Parameters

    show_style | `true` if font style should be displayed in label.

Member Gtk::FontButton::set_title (const Glib::ustring& title)
  Parameters

    title | A string containing the font chooser dialog title.

Member Gtk::FontButton::set_use_font (bool use_font=true)
  Parameters

    use_font | If `true`, font name will be written using font chosen.

Member Gtk::FontButton::set_use_size (bool use_size=true)
  Parameters

    use_size | If `true`, font name will be written using the selected size.

Member Gtk::FontButton::signal_font_set ()
Member Gtk::IconInfo::get_base_size () const
  Returns
    The base size, or 0, if no base size is known for the icon.
Member Gtk::IconInfo::get_builtin_pixbuf ()
  Returns
    The built-in image pixbuf, or `0`. The returned image must not be modified.
Member Gtk::IconInfo::get_builtin_pixbuf () const
  Returns
    The built-in image pixbuf, or `0`. The returned image must not be modified.
Member Gtk::IconInfo::get_display_name () const
  Returns
    The display name for the icon or `0`, if the icon doesn’t have a specified display name. This value is owned icon_info and must not be modified or free.
Member Gtk::IconInfo::get_embedded_rect (Gdk::Rectangle& rectangle) const
  Parameters

    rectangle | Gdk::Rectangle in which to store embedded rectangle coordinates; coordinates are only stored when this function returns `true`.

  Returns
    `true` if the icon has an embedded rectangle.
Member Gtk::IconInfo::get_filename () const
  Returns
    The filename for the icon, or `0` if get_builtin_pixbuf() should be used instead.
Member Gtk::IconInfo::load_icon () const
  Returns
    The rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon. Use Glib::object_unref() to release your reference to the icon.
Member Gtk::IconInfo::set_raw_coordinates (bool raw_coordinates=true)
  Parameters

    raw_coordinates | Whether the coordinates of embedded rectangles and attached points should be returned in their original (unscaled) form.

Member Gtk::IconTheme::add_builtin_icon (const Glib::ustring& icon_name, int size, const Glib::RefPtr< Gdk::Pixbuf >& pixbuf)
  Parameters

    icon_name | The name of the icon to register.
    size | The size in pixels at which to register the icon (different images can be registered for the same icon name at different sizes.).
    pixbuf | Gdk::Pixbuf that contains the image to use for icon_name.

Member Gtk::IconTheme::append_search_path (const Glib::ustring& path)
  Parameters

    path | Directory name to append to the icon path.

Member Gtk::IconTheme::get_default ()
  Returns
    A unique Gtk::IconTheme associated with the default screen. This icon theme is associated with the screen and can be used as long as the screen is open. Do not ref or unref it.
Member Gtk::IconTheme::get_example_icon_name () const
Member Gtk::IconTheme::get_for_screen (const Glib::RefPtr< Gdk::Screen >& screen)
  Parameters

    screen | A Gdk::Screen.

  Returns
    A unique Gtk::IconTheme associated with the given screen. This icon theme is associated with the screen and can be used as long as the screen is open. Do not ref or unref it.
Member Gtk::IconTheme::has_icon (const Glib::ustring& icon_name) const
  Parameters

    icon_name | The name of an icon.

  Returns
    `true` if icon_theme includes an icon for icon_name.
Member Gtk::IconTheme::list_icons (const Glib::ustring& context) const
  Parameters

    context | A string identifying a particular type of icon.

  Returns
    The names of all the icons in the theme.
Member Gtk::IconTheme::load_icon (const Glib::ustring& icon_name, int size, IconLookupFlags flags=(IconLookupFlags) 0) const
  Parameters

    icon_name | The name of the icon to lookup.
    size | The desired icon size. The resulting icon may not be exactly this size; see Gtk::IconInfo::load_icon().
    flags | Flags modifying the behavior of the icon lookup.

  Returns
    The rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon. Use Glib::object_unref() to release your reference to the icon. `0` if the icon isn’t found.
Member Gtk::IconTheme::lookup_icon (const Glib::ustring& icon_name, int size, IconLookupFlags flags) const
  Parameters

    icon_name | The name of the icon to lookup.
    size | Desired icon size.
    flags | Flags modifying the behavior of the icon lookup.

  Returns
    An IconInfo structure containing information about the icon. IconInfo::operator bool() will return false if the icon wasn't found. For instance, if (icon_info) { ... }.
Member Gtk::IconTheme::prepend_search_path (const Glib::ustring& path)
  Parameters

    path | Directory name to prepend to the icon path.

Member Gtk::IconTheme::rescan_if_needed ()
  Returns
    `true` if the icon theme has changed and needed to be reloaded.
Member Gtk::IconTheme::set_custom_theme (const Glib::ustring& theme_name)
  Parameters

    theme_name | Name of icon theme to use instead of configured theme, or `0` to unset a previously set custom theme.

Member Gtk::IconTheme::set_screen (const Glib::RefPtr< Gdk::Screen >& screen)
  Parameters

    screen | A Gdk::Screen.

Member Gtk::Menu::attach (Gtk::Widget& child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach)
  Parameters

    child | A Gtk::MenuItem.
    left_attach | The column number to attach the left side of the item to.
    right_attach | The column number to attach the right side of the item to.
    top_attach | The row number to attach the top of the item to.
    bottom_attach | The row number to attach the bottom of the item to.

Member Gtk::Menu::set_monitor (int monitor_num)
  Parameters

    monitor_num | The number of the monitor on which the menu should be popped up.

Member Gtk::MenuShell::cancel ()
Member Gtk::Paned::get_child1 ()
  Returns
    First child, or `0` if it is not set.
Member Gtk::Paned::get_child1 () const
  Returns
    First child, or `0` if it is not set.
Member Gtk::Paned::get_child2 ()
  Returns
    Second child, or `0` if it is not set.
Member Gtk::Paned::get_child2 () const
  Returns
    Second child, or `0` if it is not set.
Member Gtk::RadioAction::get_current_value () const
Member Gtk::RadioAction::get_group ()
Member Gtk::RadioAction::signal_changed ()
Member Gtk::RadioButton::signal_group_changed ()
Member Gtk::RadioToolButton::get_group ()
  Returns
    The group button belongs to.
Member Gtk::RadioToolButton::RadioToolButton (Group& group, const Glib::ustring& label=Glib::ustring())
Member Gtk::RadioToolButton::RadioToolButton (Group& group, const Gtk::StockID& stock_id)
Member Gtk::RadioToolButton::RadioToolButton (Widget& icon_widget, const Glib::ustring& label=Glib::ustring())
Member Gtk::RadioToolButton::RadioToolButton ()
Member Gtk::RadioToolButton::set_group (Group& group)
  Parameters

    group | An existing radio button group.

Member Gtk::Scale::get_layout ()
  Returns
    The Pango::Layout for this scale, or `0` if the Gtk::Scale::property_draw_value() property is `false`.
Member Gtk::Scale::get_layout () const
  Returns
    The Pango::Layout for this scale, or `0` if the Gtk::Scale::property_draw_value() property is `false`.
Member Gtk::Scale::get_layout_offsets (int& x, int& y) const
  Parameters

    x | Location to store X offset of layout, or `0`.
    y | Location to store Y offset of layout, or `0`.

Member Gtk::SeparatorToolItem::get_draw () const
  Returns
    `true` if item is drawn as a line, or just blank.
Member Gtk::SeparatorToolItem::set_draw (bool draw=true)
  Parameters

    draw | Whether item is drawn as a vertical line.

Member Gtk::TextBuffer::select_range (const iterator& ins, const iterator& bound)
  Parameters

    ins | Where to put the “insert” mark.
    bound | Where to put the “selection_bound” mark.

Member Gtk::TextIter::backward_visible_cursor_position ()
  Returns
    `true` if we moved and the new position is dereferenceable.
Member Gtk::TextIter::backward_visible_cursor_positions (int count)
  Parameters

    count | Number of positions to move.

  Returns
    `true` if we moved and the new position is dereferenceable.
Member Gtk::TextIter::backward_visible_word_start ()
  Returns
    `true` if iter moved and is not the end iterator.
Member Gtk::TextIter::backward_visible_word_starts (int count)
  Parameters

    count | Number of times to move.

  Returns
    `true` if iter moved and is not the end iterator.
Member Gtk::TextIter::forward_visible_cursor_position ()
  Returns
    `true` if we moved and the new position is dereferenceable.
Member Gtk::TextIter::forward_visible_cursor_positions (int count)
  Parameters

    count | Number of positions to move.

  Returns
    `true` if we moved and the new position is dereferenceable.
Member Gtk::TextIter::forward_visible_word_end ()
  Returns
    `true` if iter moved and is not the end iterator.
Member Gtk::TextIter::forward_visible_word_ends (int count)
  Parameters

    count | Number of times to move.

  Returns
    `true` if iter moved and is not the end iterator.
Member Gtk::TextView::get_accepts_tab () const
  Returns
    `true` if pressing the Tab key inserts a tab character, `false` if pressing the Tab key moves the keyboard focus.
Member Gtk::TextView::get_overwrite () const
  Returns
    Whether text_view is in overwrite mode or not.
Member Gtk::TextView::set_accepts_tab (bool accepts_tab=true)
  Parameters

    accepts_tab | `true` if pressing the Tab key should insert a tab character, `false`, if pressing the Tab key should move the keyboard focus.

Member Gtk::TextView::set_overwrite (bool overwrite=true)
  Parameters

    overwrite | `true` to turn on overwrite mode, `false` to turn it off.

Member Gtk::ToggleAction::get_active () const
Member Gtk::ToggleAction::get_draw_as_radio () const
Member Gtk::ToggleAction::set_active (bool is_active=true)
Member Gtk::ToggleAction::set_draw_as_radio (bool draw_as_radio=true)
Member Gtk::ToggleAction::toggled ()
Member Gtk::ToggleToolButton::get_active () const
  Returns
    `true` if the toggle tool button is pressed in, `false` if not.
Member Gtk::ToggleToolButton::set_active (bool is_active=true)
  Parameters

    is_active | Whether button should be active.

Member Gtk::Toolbar::get_drop_index (int x, int y) const
  Parameters

    x | X coordinate of a point on the toolbar.
    y | Y coordinate of a point on the toolbar.

  Returns
    The position corresponding to the point ( x, y) on the toolbar.
Member Gtk::Toolbar::get_item_index (const ToolItem& item) const
  Parameters

    item | A Gtk::ToolItem that is a child of toolbar.

  Returns
    The position of item on the toolbar.
Member Gtk::Toolbar::get_n_items () const
  Returns
    The number of items on the toolbar.
Member Gtk::Toolbar::get_nth_item (int n) const
  Parameters

    n | A position on the toolbar.

  Returns
    The n'th Gtk::ToolItem on toolbar, or `0` if there isn’t an n'th item.
Member Gtk::Toolbar::get_nth_item (int n)
  Parameters

    n | A position on the toolbar.

  Returns
    The n'th Gtk::ToolItem on toolbar, or `0` if there isn’t an n'th item.
Member Gtk::Toolbar::get_relief_style () const
  Returns
    The relief style of buttons on toolbar.
Member Gtk::Toolbar::get_show_arrow () const
  Returns
    `true` if the toolbar has an overflow menu.
Member Gtk::Toolbar::insert (ToolItem& item, int pos)
  Parameters

    item | A Gtk::ToolItem.
    pos | The position of the new item.

Member Gtk::Toolbar::set_drop_highlight_item (ToolItem& tool_item, int index)
  Parameters

    tool_item | A Gtk::ToolItem, or `0` to turn of highlighting.
    index | A position on toolbar.

Member Gtk::Toolbar::set_show_arrow (bool show_arrow=true)
  Parameters

    show_arrow | Whether to show an overflow menu.

Member Gtk::ToolButton::get_icon_widget ()
  Returns
    The widget used as icon on button, or `0`.
Member Gtk::ToolButton::get_icon_widget () const
  Returns
    The widget used as icon on button, or `0`.
Member Gtk::ToolButton::get_label () const
  Returns
    The label, or `0`.
Member Gtk::ToolButton::get_label_widget () const
  Returns
    The widget used as label on button, or `0`.
Member Gtk::ToolButton::get_label_widget ()
  Returns
    The widget used as label on button, or `0`.
Member Gtk::ToolButton::get_stock_id () const
Member Gtk::ToolButton::get_use_underline () const
  Returns
    `true` if underscores in the label property are used as mnemonics on menu items on the overflow menu.
Member Gtk::ToolButton::set_icon_widget (Widget& icon_widget)
  Parameters

    icon_widget | The widget used as icon, or `0`.

Member Gtk::ToolButton::set_label (const Glib::ustring& label)
  Parameters

    label | A string that will be used as label, or `0`.

Member Gtk::ToolButton::set_label_widget (Widget& label_widget)
  Parameters

    label_widget | The widget used as label, or `0`.

Member Gtk::ToolButton::set_stock_id (const Gtk::StockID& stock_id)
Member Gtk::ToolButton::set_use_underline (bool use_underline=true)
  Parameters

    use_underline | Whether the button label has the form “_Open”.

Member Gtk::ToolItem::get_expand () const
  Returns
    `true` if tool_item is allocated extra space.
Member Gtk::ToolItem::get_homogeneous () const
  Returns
    `true` if the item is the same size as other homogeneous items.
Member Gtk::ToolItem::get_icon_size () const
  Returns
    A Gtk::IconSize indicating the icon size used for tool_item.
Member Gtk::ToolItem::get_is_important () const
  Returns
    `true` if tool_item is considered important.
Member Gtk::ToolItem::get_orientation () const
  Returns
    A Gtk::Orientation indicating the orientation used for tool_item.
Member Gtk::ToolItem::get_proxy_menu_item (const Glib::ustring& menu_item_id)
  Parameters

    menu_item_id | A string used to identify the menu item.

  Returns
    The Gtk::MenuItem passed to set_proxy_menu_item(), if the menu_item_ids match.
Member Gtk::ToolItem::get_proxy_menu_item (const Glib::ustring& menu_item_id) const
  Parameters

    menu_item_id | A string used to identify the menu item.

  Returns
    The Gtk::MenuItem passed to set_proxy_menu_item(), if the menu_item_ids match.
Member Gtk::ToolItem::get_relief_style () const
  Returns
    A Gtk::ReliefStyle indicating the relief style used for tool_item.
Member Gtk::ToolItem::get_toolbar_style () const
  Returns
    A Gtk::ToolbarStyle indicating the toolbar style used for tool_item.
Member Gtk::ToolItem::get_use_drag_window () const
  Returns
    `true` if tool_item uses a drag window.
Member Gtk::ToolItem::get_visible_horizontal () const
  Returns
    `true` if tool_item is visible on toolbars that are docked horizontally.
Member Gtk::ToolItem::get_visible_vertical () const
  Returns
    Whether tool_item is visible when the toolbar is docked vertically.
Member Gtk::ToolItem::retrieve_proxy_menu_item ()
  Returns
    The Gtk::MenuItem that is going to appear in the overflow menu for tool_item.
Member Gtk::ToolItem::retrieve_proxy_menu_item () const
  Returns
    The Gtk::MenuItem that is going to appear in the overflow menu for tool_item.
Member Gtk::ToolItem::set_expand (bool expand=true)
  Parameters

    expand | Whether tool_item is allocated extra space.

Member Gtk::ToolItem::set_homogeneous (bool homogeneous=true)
  Parameters

    homogeneous | Whether tool_item is the same size as other homogeneous items.

Member Gtk::ToolItem::set_is_important (bool is_important=true)
  Parameters

    is_important | Whether the tool item should be considered important.

Member Gtk::ToolItem::set_proxy_menu_item (const Glib::ustring& menu_item_id, Widget& menu_item)
  Parameters

    menu_item_id | A string used to identify menu_item.
    menu_item | A Gtk::MenuItem to be used in the overflow menu.

Member Gtk::ToolItem::set_use_drag_window (bool use_drag_window=true)
  Parameters

    use_drag_window | Whether tool_item has a drag window.

Member Gtk::ToolItem::set_visible_horizontal (bool visible_horizontal=true)
  Parameters

    visible_horizontal | Whether tool_item is visible when in horizontal mode.

Member Gtk::ToolItem::set_visible_vertical (bool visible_vertical=true)
  Parameters

    visible_vertical | Whether tool_item is visible when the toolbar is in vertical mode.

Member Gtk::TreeModelFilter::clear_cache ()
Member Gtk::TreeModelFilter::convert_child_path_to_path (const Path& child_path) const
  Parameters

    child_path | A Gtk::TreePath to convert.

  Returns
    A newly allocated Gtk::TreePath, or `0`.
Member Gtk::TreeModelFilter::convert_path_to_child_path (const Path& filter_path) const
  Parameters

    filter_path | A Gtk::TreePath to convert.

  Returns
    A newly allocated Gtk::TreePath, or `0`.
Member Gtk::TreeModelFilter::get_model () const
  Returns
    A pointer to a Gtk::TreeModel.
Member Gtk::TreeModelFilter::get_model ()
  Returns
    A pointer to a Gtk::TreeModel.
Member Gtk::TreeModelFilter::refilter ()
Member Gtk::TreeModelFilter::set_visible_column (const TreeModelColumnBase& column)
  Parameters

    column | A `int` which is the column containing the visible information.

Member Gtk::TreeModelFilter::set_visible_column (int column)
  Parameters

    column | A `int` which is the column containing the visible information.

Member Gtk::TreeViewColumn::get_expand () const
  Returns
    `true` if the column expands to fill available space.
Member Gtk::TreeViewColumn::set_expand (bool expand=true)
  Parameters

    expand | `true` if the column should expand to fill available space.

Class Gtk::UIManager
Member Gtk::UIManager::add_ui (ui_merge_id merge_id, const Glib::ustring& path, const Glib::ustring& name, const Glib::ustring& action, UIManagerItemType type=Gtk::UI_MANAGER_AUTO, bool top=true)
  Parameters

    merge_id | The merge id for the merged UI, see gtk_ui_manager_new_merge_id().
    path | A path.
    name | The name for the added UI element.
    action | The name of the action to be proxied, if this is not a separator.
    type | The type of UI element to add.
    top | If `true`, the UI element is added before its siblings, otherwise it is added after its siblings.

Member Gtk::UIManager::add_ui_from_file (const Glib::ustring& filename)
Member Gtk::UIManager::add_ui_from_string (const Glib::ustring& buffer)
Member Gtk::UIManager::add_ui_separator (ui_merge_id merge_id, const Glib::ustring& path, const Glib::ustring& name="", UIManagerItemType type=Gtk::UI_MANAGER_AUTO, bool top=true)
  Parameters

    merge_id | The merge id for the merged UI, see gtk_ui_manager_new_merge_id().
    path | A path.
    name | The name for the added UI element.
    type | The type of UI element to add.
    top | If `true`, the UI element is added before its siblings, otherwise it is added after its siblings.

Member Gtk::UIManager::ensure_update ()
Member Gtk::UIManager::get_accel_group ()
Member Gtk::UIManager::get_accel_group () const
Member Gtk::UIManager::get_action (const Glib::ustring& path)
Member Gtk::UIManager::get_action (const Glib::ustring& path) const
Member Gtk::UIManager::get_action_groups () const
Member Gtk::UIManager::get_action_groups ()
Member Gtk::UIManager::get_add_tearoffs () const
Member Gtk::UIManager::get_toplevels (UIManagerItemType types)
Member Gtk::UIManager::get_toplevels (UIManagerItemType types) const
Member Gtk::UIManager::get_ui () const
Member Gtk::UIManager::get_widget (const Glib::ustring& path)
Member Gtk::UIManager::get_widget (const Glib::ustring& path) const
Member Gtk::UIManager::insert_action_group (const Glib::RefPtr< ActionGroup >& action_group, int pos=0)
Member Gtk::UIManager::new_merge_id ()
Member Gtk::UIManager::remove_action_group (const Glib::RefPtr< ActionGroup >& action_group)
Member Gtk::UIManager::remove_ui (ui_merge_id merge_id)
Member Gtk::UIManager::set_add_tearoffs (bool add_tearoffs=true)
Member Gtk::UIManager::signal_actions_changed ()
Member Gtk::UIManager::signal_add_widget ()
Member Gtk::UIManager::signal_connect_proxy ()
Member Gtk::UIManager::signal_disconnect_proxy ()
Member Gtk::UIManager::signal_post_activate ()
Member Gtk::UIManager::signal_pre_activate ()
Member Gtk::Widget::add_mnemonic_label (Widget& label)
  Parameters

    label | A Gtk::Widget that acts as a mnemonic label for widget.

Member Gtk::Widget::get_no_show_all () const
  Returns
    The current value of the “no-show-all” property.
Member Gtk::Widget::list_mnemonic_labels () const
  Returns
    The list of mnemonic labels; free this list with Glib::list_free() when you are done with it.
Member Gtk::Widget::list_mnemonic_labels ()
  Returns
    The list of mnemonic labels; free this list with Glib::list_free() when you are done with it.
Member Gtk::Widget::queue_resize_no_redraw ()
Member Gtk::Widget::remove_mnemonic_label (Widget& label)
  Parameters

    label | A Gtk::Widget that was previously set as a mnemnic label for widget with add_mnemonic_label().

Member Gtk::Widget::set_no_show_all (bool no_show_all=true)
  Parameters

    no_show_all | The new value for the “no-show-all” property.

Member Gtk::Window::get_accept_focus () const
  Returns
    `true` if window should receive the input focus.
Member Gtk::Window::has_toplevel_focus () const
  Returns
    `true` if the input focus is within this GtkWindow.
Member Gtk::Window::is_active () const
  Returns
    `true` if the window part of the current active window.
Member Gtk::Window::set_accept_focus (bool setting=true)
  Parameters

    setting | `true` to let this window receive input focus.

Member Gtk::Window::set_default_icon (const Glib::RefPtr< Gdk::Pixbuf >& icon)
  Parameters

    icon | The icon.

Member Gtk::Window::set_keep_above (bool setting=true)
  Parameters

    setting | Whether to keep window above other windows.

Member Gtk::Window::set_keep_below (bool setting=true)
  Parameters

    setting | Whether to keep window below other windows.