gtkmm: New API in gtkmm 2.16

gtkmm 3.13.2

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

New API in gtkmm 2.16

Member Gtk::Action::block_activate ()
Member Gtk::Action::get_gicon ()
Member Gtk::Action::get_gicon () const
Member Gtk::Action::get_icon_name () const
Member Gtk::Action::get_is_important () const
Member Gtk::Action::get_label () const
Member Gtk::Action::get_short_label () const
Member Gtk::Action::get_stock_id () const
Member Gtk::Action::get_tooltip () const
Member Gtk::Action::get_visible_horizontal () const
Member Gtk::Action::get_visible_vertical () const
Member Gtk::Action::set_gicon (const Glib::RefPtr< Gio::Icon >& icon)
Member Gtk::Action::set_icon_name (const Glib::ustring& icon_name)
Member Gtk::Action::set_is_important (bool is_important=true)
Member Gtk::Action::set_label (const Glib::ustring& label)
Member Gtk::Action::set_short_label (const Glib::ustring& short_label)
Member Gtk::Action::set_stock_id (const StockID& stock_id)
Member Gtk::Action::set_tooltip (const Glib::ustring& tooltip)
Member Gtk::Action::set_visible_horizontal (bool visible_horizontal=true)
Member Gtk::Action::set_visible_vertical (bool visible_vertical=true)
Member Gtk::Action::unblock_activate ()
Class Gtk::Activatable
Member Gtk::Activatable::do_set_related_action (const Glib::RefPtr< Action >& action)
Member Gtk::Activatable::get_related_action ()
Member Gtk::Activatable::get_related_action () const
Member Gtk::Activatable::get_use_action_appearance () const
Member Gtk::Activatable::set_related_action (const Glib::RefPtr< Action >& action)
Member Gtk::Activatable::set_use_action_appearance (bool use_appearance=true)
Member Gtk::Activatable::sync_action_properties (const Glib::RefPtr< Action >& action)
Member Gtk::Builder::add_from_file (const std::string& filename, const char* object_id)
Member Gtk::Builder::add_from_string (const Glib::ustring& buffer, const char* object_id)
Member Gtk::Builder::create_from_file (const std::string& filename, const char* object_id)
Member Gtk::Builder::create_from_string (const Glib::ustring& buffer, const char* object_id)
Member Gtk::CellView::get_model ()
  Returns
    A Gtk::TreeModel used or `0`.
Member Gtk::CellView::get_model () const
  Returns
    A Gtk::TreeModel used or `0`.
Member Gtk::CellView::unset_model ()
Member Gtk::ComboBox::unset_model ()
Member Gtk::Entry::get_current_icon_drag_source ()
  Returns
    Index of the icon which is the source of the current DND operation, or -1.
Member Gtk::Entry::get_icon_activatable (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
  Parameters

    icon_pos | Icon position.

  Returns
    `true` if the icon is activatable.
Member Gtk::Entry::get_icon_at_pos (int x, int y) const
  Parameters

    x | The x coordinate of the position to find.
    y | The y coordinate of the position to find.

  Returns
    The index of the icon at the given position, or -1.
Member Gtk::Entry::get_icon_gicon (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | Icon position.

  Returns
    A Icon, or `0` if no icon is set or if the icon is not a Icon.
Member Gtk::Entry::get_icon_gicon (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
  Parameters

    icon_pos | Icon position.

  Returns
    A Icon, or `0` if no icon is set or if the icon is not a Icon.
Member Gtk::Entry::get_icon_name (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
  Parameters

    icon_pos | Icon position.

  Returns
    An icon name, or `0` if no icon is set or if the icon wasn’t set from an icon name.
Member Gtk::Entry::get_icon_pixbuf (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | Icon position.

  Returns
    A Gdk::Pixbuf, or `0` if no icon is set for this position.
Member Gtk::Entry::get_icon_pixbuf (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
  Parameters

    icon_pos | Icon position.

  Returns
    A Gdk::Pixbuf, or `0` if no icon is set for this position.
Member Gtk::Entry::get_icon_sensitive (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | Icon position.

  Returns
    `true` if the icon is sensitive.
Member Gtk::Entry::get_icon_stock (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
Member Gtk::Entry::get_icon_storage_type (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
  Parameters

    icon_pos | Icon position.

  Returns
    Image representation being used.
Member Gtk::Entry::get_icon_tooltip_markup (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
  Parameters

    icon_pos | The icon position.

  Returns
    The tooltip text, or `0`. Free the returned string with Glib::free() when done.
Member Gtk::Entry::get_icon_tooltip_text (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
  Parameters

    icon_pos | The icon position.

  Returns
    The tooltip text, or `0`. Free the returned string with Glib::free() when done.
Member Gtk::Entry::get_progress_fraction () const
  Returns
    A fraction from 0.0 to 1.0.
Member Gtk::Entry::get_progress_pulse_step ()
  Returns
    A fraction from 0.0 to 1.0.
Member Gtk::Entry::progress_pulse ()
Member Gtk::Entry::set_icon_activatable (bool activatable=true, EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | Icon position.
    activatable | `true` if the icon should be activatable.

Member Gtk::Entry::set_icon_drag_source (const Glib::RefPtr< TargetList >& target_list, Gdk::DragAction actions=Gdk::ACTION_COPY, EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | Icon position.
    target_list | The targets (data formats) in which the data can be provided.
    actions | A bitmask of the allowed drag actions.

Member Gtk::Entry::set_icon_from_gicon (const Glib::RefPtr< Gio::Icon >& icon, EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | The position at which to set the icon.
    icon | The icon to set, or `0`.

Member Gtk::Entry::set_icon_from_icon_name (const Glib::ustring& icon_name, EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | The position at which to set the icon.
    icon_name | An icon name, or `0`.

Member Gtk::Entry::set_icon_from_pixbuf (const Glib::RefPtr< Gdk::Pixbuf >& pixbuf, EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | Icon position.
    pixbuf | A Gdk::Pixbuf, or `0`.

Member Gtk::Entry::set_icon_from_stock (const StockID& stock_id, EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
Member Gtk::Entry::set_icon_sensitive (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY, bool sensitive=true)
  Parameters

    icon_pos | Icon position.
    sensitive | Specifies whether the icon should appear sensitive or insensitive.

Member Gtk::Entry::set_icon_tooltip_markup (const Glib::ustring& tooltip, EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | The icon position.
    tooltip | The contents of the tooltip for the icon, or `0`.

Member Gtk::Entry::set_icon_tooltip_text (const Glib::ustring& tooltip, EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
  Parameters

    icon_pos | The icon position.
    tooltip | The contents of the tooltip for the icon, or `0`.

Member Gtk::Entry::set_progress_fraction (double fraction)
  Parameters

    fraction | Fraction of the task that’s been completed.

Member Gtk::Entry::set_progress_pulse_step (double fraction)
  Parameters

    fraction | Fraction between 0.0 and 1.0.

Member Gtk::Entry::signal_icon_press ()
  Parameters

    icon_pos | The position of the clicked icon.
    event | The button press event.

Member Gtk::Entry::signal_icon_release ()
  Parameters

    icon_pos | The position of the clicked icon.
    event | The button release event.

Member Gtk::Entry::unset_invisible_char ()
Member Gtk::EntryCompletion::unset_model ()
Member Gtk::IconView::unset_model ()
Member Gtk::ImageMenuItem::get_always_show_image () const
Member Gtk::ImageMenuItem::get_use_stock () const
Member Gtk::ImageMenuItem::set_accel_group (const Glib::RefPtr< AccelGroup >& accel_group)
Member Gtk::ImageMenuItem::set_always_show_image (bool always_show=true)
Member Gtk::ImageMenuItem::set_use_stock (bool use_stock=true)
Member Gtk::MenuItem::get_label () const
  Returns
    The text in the menu_item label. This is the internal string used by the label, and must not be modified.
Member Gtk::MenuItem::get_use_underline () const
  Returns
    `true` if an embedded underline in the label indicates the mnemonic accelerator key.
Member Gtk::MenuItem::set_label (const Glib::ustring& label)
  Parameters

    label | The text you want to set.

Member Gtk::MenuItem::set_use_underline (bool setting=true)
  Parameters

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

Class Gtk::Orientable
Member Gtk::Orientable::get_orientation () const
  Returns
    The orientation of the orientable.
Member Gtk::Orientable::set_orientation (Orientation orientation)
  Parameters

    orientation | The orientable’s new orientation.

Member Gtk::PrintOperation::draw_page_finish ()
Member Gtk::PrintOperation::set_defer_drawing ()
Member Gtk::PrintSettings::get_printer_lpi () const
  Returns
    The resolution in lpi (lines per inch).
Member Gtk::PrintSettings::get_resolution_x () const
  Returns
    The horizontal resolution in dpi.
Member Gtk::PrintSettings::get_resolution_y () const
  Returns
    The vertical resolution in dpi.
Member Gtk::PrintSettings::set_printer_lpi (double lpi)
  Parameters

    lpi | The resolution in lpi (lines per inch).

Member Gtk::PrintSettings::set_resolution_xy (int resolution_x, int resolution_y)
  Parameters

    resolution_x | The horizontal resolution in dpi.
    resolution_y | The vertical resolution in dpi.

Member Gtk::Scale::add_mark (double value, PositionType position, const Glib::ustring& markup)
  Parameters

    value | The value at which the mark is placed, must be between the lower and upper limits of the scales’ adjustment.
    position | Where to draw the mark. For a horizontal scale, Gtk::POS_TOP and Gtk::POS_LEFT are drawn above the scale, anything else below. For a vertical scale, Gtk::POS_LEFT and Gtk::POS_TOP are drawn to the left of the scale, anything else to the right.
    markup | Text to be shown at the mark, using [Pango markup][PangoMarkupFormat], or `0`.

Member Gtk::Scale::clear_marks ()
Member Gtk::SelectionData::get_selection () const
  Returns
    The selection Gdk::Atom of the selection data.
Member Gtk::StatusIcon::get_has_tooltip () const
  Returns
    Current value of has-tooltip on status_icon.
Member Gtk::StatusIcon::get_tooltip_markup () const
  Returns
    The tooltip text, or `0`. You should free the returned string with Glib::free() when done.
Member Gtk::StatusIcon::get_tooltip_text () const
  Returns
    The tooltip text, or `0`. You should free the returned string with Glib::free() when done.
Member Gtk::StatusIcon::set_has_tooltip (bool has_tooltip=true)
  Parameters

    has_tooltip | Whether or not status_icon has a tooltip.

Member Gtk::StatusIcon::set_tooltip_markup (const Glib::ustring& markup)
  Parameters

    markup | The contents of the tooltip for status_icon, or `0`.

Member Gtk::StatusIcon::set_tooltip_text (const Glib::ustring& text)
  Parameters

    text | The contents of the tooltip for status_icon.

Member Gtk::StatusIcon::signal_query_tooltip ()
  Parameters

    x | The x coordinate of the cursor position where the request has been emitted, relative to status_icon.
    y | The y coordinate of the cursor position where the request has been emitted, relative to status_icon.
    keyboard_mode | `true` if the tooltip was trigged using the keyboard.
    tooltip | A Gtk::Tooltip.

  Returns
    `true` if tooltip should be shown right now, `false` otherwise.
Member Gtk::StatusIcon::signal_scroll_event ()
  Parameters

    event | The Gdk::EventScroll which triggered this signal.

  Returns
    `true` to stop other handlers from being invoked for the event. `false` to propagate the event further.
Member Gtk::TextBuffer::signal_paste_done ()
  Parameters

    clipboard | The Gtk::Clipboard pasted from.

Member Gtk::TreePath::operator BoolExpr () const