gtkmm: New API in gtkmm 2.8

gtkmm 3.13.2

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

New API in gtkmm 2.8

Member Gdk::Cursor::create (const Glib::RefPtr< Display >& display, const Glib::ustring& name)
  Parameters

    display | The Gdk::Display for which the cursor will be created.
    name | The name of the cursor.

  Returns
    A new Gdk::Cursor, or `0` if there is no cursor with the given name.
Member Gdk::Cursor::get_image ()
  Returns
    A Gdk::Pixbuf representing cursor, or `0`.
Member Gdk::Cursor::get_image () const
  Returns
    A Gdk::Pixbuf representing cursor, or `0`.
Member Gdk::Screen::get_rgba_visual ()
  Returns
    A visual to use for windows with an alpha channel or `0` if the capability is not available.
Member Gdk::Screen::get_rgba_visual () const
  Returns
    A visual to use for windows with an alpha channel or `0` if the capability is not available.
Member Gdk::Window::move_region (const ::Cairo::RefPtr< ::Cairo::Region >& region, int dx, int dy)
  Parameters

    region | The #cairo_region_t to move.
    dx | Amount to move in the X direction.
    dy | Amount to move in the Y direction.

Member Gdk::Window::set_urgency_hint (bool urgent=true)
  Parameters

    urgent | `true` if the window is urgent.

Member Gtk::AboutDialog::get_wrap_license () const
  Returns
    `true` if the license text is wrapped.
Member Gtk::AboutDialog::set_wrap_license (bool wrap_license)
  Parameters

    wrap_license | Whether to wrap the license.

Member Gtk::Dialog::get_response_for_widget (const Gtk::Widget& widget) const
  Parameters

    widget | A widget in the action area of dialog.

  Returns
    The response id of widget, or Gtk::RESPONSE_NONE if widget doesn’t have a response id set.
Member Gtk::EntryCompletion::get_popup_set_width () const
  Returns
    `true` if the popup window will be resized to the width of the entry.
Member Gtk::EntryCompletion::get_popup_single_match () const
  Returns
    `true` if the popup window will appear regardless of the number of matches.
Member Gtk::EntryCompletion::set_popup_set_width (bool popup_set_width=true)
  Parameters

    popup_set_width | `true` to make the width of the popup the same as the entry.

Member Gtk::EntryCompletion::set_popup_single_match (bool popup_single_match=true)
  Parameters

    popup_single_match | `true` if the popup should appear even for a single match.

Member Gtk::FileChooser::get_do_overwrite_confirmation () const
  Returns
    `true` if the file chooser will present a confirmation dialog; `false` otherwise.
Member Gtk::FileChooser::set_do_overwrite_confirmation (bool do_overwrite_confirmation=true)
  Parameters

    do_overwrite_confirmation | Whether to confirm overwriting in save mode.

Member Gtk::FileChooser::signal_confirm_overwrite ()
  Returns
    A Gtk::FileChooserConfirmation value that indicates which action to take after emitting the signal.
Member Gtk::IconView::create_drag_icon (const TreeModel::Path& path)
  Parameters

    path | A Gtk::TreePath in icon_view.

  Returns
    A newly-allocated surface of the drag icon.
Member Gtk::IconView::get_cursor (TreeModel::Path& path, CellRenderer*& cell) const
Member Gtk::IconView::get_cursor (TreeModel::Path& path) const
Member Gtk::IconView::get_cursor (CellRenderer*& cell) const
Member Gtk::IconView::get_reorderable () const
  Returns
    `true` if the list can be reordered.
Member Gtk::IconView::scroll_to_path (const TreeModel::Path& path, bool use_align, gfloat row_align, gfloat col_align)
  Parameters

    path | The path of the item to move to.
    use_align | Whether to use alignment arguments, or `false`.
    row_align | The vertical alignment of the item specified by path.
    col_align | The horizontal alignment of the item specified by path.

Member Gtk::IconView::set_cursor (const TreeModel::Path& path, CellRenderer& cell, bool start_editing)
  Parameters

    path | A Gtk::TreePath.
    cell | One of the cell renderers of icon_view, or `0`.
    start_editing | `true` if the specified cell should start being edited.

Member Gtk::IconView::set_drag_dest_item (const TreeModel::Path& path, IconViewDropPosition pos)
  Parameters

    path | The path of the item to highlight, or `0`.
    pos | Specifies where to drop, relative to the item.

Member Gtk::IconView::set_reorderable (bool reorderable=true)
  Parameters

    reorderable | `true`, if the list of items can be reordered.

Member Gtk::IconView::unset_model_drag_dest ()
Member Gtk::IconView::unset_model_drag_source ()
Member Gtk::Image::clear ()
Member Gtk::MenuBar::get_child_pack_direction () const
  Returns
    The child pack direction.
Member Gtk::MenuBar::get_pack_direction () const
  Returns
    The pack direction.
Member Gtk::MenuBar::set_child_pack_direction (PackDirection child_pack_dir)
  Parameters

    child_pack_dir | A new Gtk::PackDirection.

Member Gtk::MenuBar::set_pack_direction (PackDirection pack_dir)
  Parameters

    pack_dir | A new Gtk::PackDirection.

Member Gtk::MenuShell::get_take_focus () const
  Returns
    `true` if the menu shell will take the keyboard focus on popup.
Member Gtk::MenuShell::set_take_focus (bool take_focus=true)
  Parameters

    take_focus | `true` if the menu shell should take the keyboard focus on popup.

Member Gtk::ScrolledWindow::get_hscrollbar ()
  Returns
    The horizontal scrollbar of the scrolled window, or `0` if it does not have one.
Member Gtk::ScrolledWindow::get_hscrollbar () const
  Returns
    The horizontal scrollbar of the scrolled window, or `0` if it does not have one.
Member Gtk::ScrolledWindow::get_vscrollbar ()
  Returns
    The vertical scrollbar of the scrolled window, or `0` if it does not have one.
Member Gtk::ScrolledWindow::get_vscrollbar () const
  Returns
    The vertical scrollbar of the scrolled window, or `0` if it does not have one.
Member Gtk::SizeGroup::get_ignore_hidden () const
  Returns
    `true` if invisible widgets are ignored.
Member Gtk::SizeGroup::set_ignore_hidden (bool ignore_hidden=true)
  Parameters

    ignore_hidden | Whether unmapped widgets should be ignored when calculating the size.

Member Gtk::TextIter::backward_visible_line ()
  Returns
    Whether iter moved.
Member Gtk::TextIter::backward_visible_lines (int count)
  Parameters

    count | Number of lines to move backward.

  Returns
    Whether iter moved and is dereferenceable.
Member Gtk::TextIter::forward_visible_line (int count)
  Parameters

    count | Number of lines to move forward.

  Returns
    Whether iter moved and is dereferenceable.
Member Gtk::TextIter::forward_visible_line ()
  Returns
    Whether iter can be dereferenced.
Member Gtk::ToolButton::get_icon_name () const
  Returns
    The icon name or `0` if the tool button has no themed icon.
Member Gtk::ToolButton::set_icon_name (const Glib::ustring& icon_name)
  Parameters

    icon_name | The name of the themed icon.

Member Gtk::TreeRowReference::get_model ()
  Returns
    The model.
Member Gtk::TreeRowReference::get_model () const
  Returns
    The model.
Member Gtk::TreeView::get_path_at_pos (int x, int y, TreeModel::Path& path, TreeViewColumn*& column, int& cell_x, int& cell_y) const
Member Gtk::TreeView::unset_model ()
Member Gtk::TreeViewColumn::queue_resize ()
Member Gtk::Widget::drag_source_set_icon (const Glib::ustring& icon_name)
  Parameters

    widget | A Gtk::Widget.
    icon_name | Name of icon to use.

Member Gtk::Widget::signal_grab_broken_event ()
  Parameters

    event | The Gdk::EventGrabBroken event.

  Returns
    `true` to stop other handlers from being invoked for the event. `false` to propagate the event further.
Member Gtk::Window::get_urgency_hint () const
  Returns
    `true` if window is urgent.
Member Gtk::Window::present (guint32 timestamp)
  Parameters

    timestamp | The timestamp of the user interaction (typically a button or key press event) which triggered this call.

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

    setting | `true` to mark this window as urgent.