gtkmm: New API in gtkmm 3.6

gtkmm 3.13.2

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

New API in gtkmm 3.6

Member Gdk::Pixbuf::save (const std::string& filename, const Glib::ustring& type) const
Member Gdk::Pixbuf::save (const std::string& filename, const Glib::ustring& type, const std::vector< Glib::ustring >& option_keys, const std::vector< Glib::ustring >& option_values) const
Member Gdk::Pixbuf::save_to_buffer (gchar*& buffer, gsize& buffer_size, const Glib::ustring& type, const std::vector< Glib::ustring >& option_keys, const std::vector< Glib::ustring >& option_values) const
Member Gdk::Pixbuf::save_to_buffer (gchar*& buffer, gsize& buffer_size, const Glib::ustring& type="png") const
Member Gdk::Screen::get_monitor_workarea (int monitor_num=0) const
  Parameters

    monitor_num | The monitor number.

  Returns
    The monitor workarea.
Member Gtk::AccelLabel::set_accel (guint accelerator_key, Gdk::ModifierType accelerator_mods)
  Parameters

    accelerator_key | A keyval, or 0.
    accelerator_mods | The modifier mask for the accel.

Member Gtk::ActionGroup::get_accel_group () const
Member Gtk::ActionGroup::get_accel_group ()
Member Gtk::ActionGroup::set_accel_group (const Glib::RefPtr< AccelGroup >& accel_group)
Member Gtk::Application::get_active_window ()
  Returns
    The active window.
Member Gtk::Application::get_active_window () const
  Returns
    The active window.
Member Gtk::Application::get_window_by_id (guint id)
  Parameters

    id | An identifier number.

  Returns
    The window with ID id, or `0` if there is no window with this ID.
Member Gtk::Application::get_window_by_id (guint id) const
  Parameters

    id | An identifier number.

  Returns
    The window with ID id, or `0` if there is no window with this ID.
Member Gtk::ApplicationWindow::get_id () const
  Returns
    The unique ID for window, or `0` if the window has not yet been added to a Gtk::Application.
Member Gtk::Builder::add_from_resource (const std::string& resource_path)
Member Gtk::Builder::add_from_resource (const std::string& resource_path, const char* object_id)
Member Gtk::Builder::add_from_resource (const std::string& resource_path, const Glib::ustring& object_id)
Member Gtk::Builder::create_from_resource (const std::string& resource_path, const Glib::ustring& object_id)
Member Gtk::Builder::create_from_resource (const std::string& resource_path, const char* object_id)
Member Gtk::Builder::create_from_resource (const std::string& resource_path, const std::vector< Glib::ustring >& object_ids)
Member Gtk::Builder::create_from_resource (const std::string& resource_path)
Member Gtk::Button::get_always_show_image ()
  Returns
    `true` if the button will always show the image.
Member Gtk::Button::set_always_show_image (bool always_show=true)
  Parameters

    always_show | `true` if the menuitem should always show the image.

Member Gtk::ComboBox::set_active_id (const Glib::ustring& active_id)
Member Gtk::Container::forall (const ForeachSlot& slot)
Member Gtk::Entry::get_attributes () const
  Returns
    The attribute list, or `0` if none was set.
Member Gtk::Entry::get_input_hints () const
Member Gtk::Entry::get_input_purpose () const
Member Gtk::Entry::set_attributes (Pango::AttrList& attrs)
  Parameters

    attrs | A Pango::AttrList.

Member Gtk::Entry::set_input_hints (InputHints hints)
  Parameters

    hints | The hints.

Member Gtk::Entry::set_input_purpose (InputPurpose purpose)
  Parameters

    purpose | The purpose.

Member Gtk::IconView::get_cell_rect (const TreeModel::Path& path, const CellRenderer& cell, Gdk::Rectangle& rect) const
  Parameters

    path | A Gtk::TreePath.
    cell | A Gtk::CellRenderer or `0`.
    rect | Rectangle to fill with cell rect.

  Returns
    `false` if there is no such item, `true` otherwise.
Class Gtk::LevelBar
Member Gtk::LevelBar::add_offset_value (const Glib::ustring& name, double value)
  Parameters

    name | The name of the new offset.
    value | The value for the new offset.

Member Gtk::LevelBar::get_max_value () const
  Returns
    A positive value.
Member Gtk::LevelBar::get_min_value () const
  Returns
    A positive value.
Member Gtk::LevelBar::get_mode () const
  Returns
    A Gtk::LevelBarMode.
Member Gtk::LevelBar::get_offset_value (const Glib::ustring& name, double& value) const
  Parameters

    name | The name of an offset in the bar.
    value | Location where to store the value.

  Returns
    `true` if the specified offset is found.
Member Gtk::LevelBar::get_value () const
  Returns
    A value in the interval between Gtk::LevelBar::property_min_value() and Gtk::LevelBar::property_max_value().
Member Gtk::LevelBar::remove_offset_value (const Glib::ustring& name)
  Parameters

    name | The name of an offset in the bar.

Member Gtk::LevelBar::set_max_value (double value)
  Parameters

    value | A positive value.

Member Gtk::LevelBar::set_min_value (double value)
  Parameters

    value | A positive value.

Member Gtk::LevelBar::set_mode (LevelBarMode mode)
  Parameters

    mode | A Gtk::LevelBarMode.

Member Gtk::LevelBar::set_value (double value)
  Parameters

    value | A value in the interval between Gtk::LevelBar::property_min_value() and Gtk::LevelBar::property_max_value().

Member Gtk::LevelBar::signal_offset_changed ()
  Parameters

    name | The name of the offset that changed value.

Class Gtk::MenuButton
Member Gtk::MenuButton::get_align_widget () const
  Returns
    A Gtk::Widget value or `0`.
Member Gtk::MenuButton::get_align_widget ()
  Returns
    A Gtk::Widget value or `0`.
Member Gtk::MenuButton::get_direction () const
  Returns
    A Gtk::ArrowType value.
Member Gtk::MenuButton::get_menu ()
Member Gtk::MenuButton::get_menu () const
Member Gtk::MenuButton::get_menu_model () const
  Returns
    A MenuModel or `0`.
Member Gtk::MenuButton::get_menu_model ()
  Returns
    A MenuModel or `0`.
Member Gtk::MenuButton::get_popup () const
  Returns
    A Gtk::Menu or `0`.
Member Gtk::MenuButton::get_popup ()
  Returns
    A Gtk::Menu or `0`.
Member Gtk::MenuButton::set_align_widget (Widget& align_widget)
  Parameters

    align_widget | A Gtk::Widget.

Member Gtk::MenuButton::set_direction (ArrowType direction)
  Parameters

    direction | A Gtk::ArrowType.

Member Gtk::MenuButton::set_menu (Menu& popup)
Member Gtk::MenuButton::set_menu_model (const Glib::RefPtr< const Gio::MenuModel >& menu_model)
  Parameters

    menu_model | A MenuModel.

Member Gtk::MenuButton::set_popup (Menu& popup)
  Parameters

    menu | A Gtk::Menu.

Member Gtk::MenuShell::bind_model (const Glib::RefPtr< Gio::MenuModel >& model, const Glib::ustring& action_namespace, bool with_separators)
  Parameters

    model | The MenuModel to bind to or `0` to remove binding.
    action_namespace | The namespace for actions in model.
    with_separators | `true` if toplevel items in shell should have separators between them.

Class Gtk::SearchEntry
Member Gtk::TextView::get_input_hints () const
Member Gtk::TextView::get_input_purpose () const
Member Gtk::TextView::set_input_hints (InputHints hints)
  Parameters

    hints | The hints.

Member Gtk::TextView::set_input_purpose (InputPurpose purpose)
  Parameters

    purpose | The purpose.

Member Gtk::Widget::insert_action_group (const Glib::ustring& name, const Glib::RefPtr< Gio::ActionGroup >& group)
  Parameters

    name | The prefix for actions in group.
    group | A ActionGroup, or `0`.