gtkmm: New API in gtkmm 3.2

gtkmm 3.13.2

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

New API in gtkmm 3.2

Member Gtk::Adjustment::get_minimum_increment () const
  Returns
    The minimum increment of adjustment.
Member Gtk::AppChooserButton::get_show_default_item () const
  Returns
    The value of Gtk::AppChooserButton::property_show_default_item().
Member Gtk::AppChooserButton::set_show_default_item (bool setting=true)
  Parameters

    setting | The new value for Gtk::AppChooserButton::property_show_default_item().

Member Gtk::Application::signal_window_added ()
  Parameters

    window | The newly-added Gtk::Window.

Member Gtk::Application::signal_window_removed ()
  Parameters

    window | The Gtk::Window that is being removed.

Member Gtk::Assistant::remove_page (int page_num)
  Parameters

    page_num | The index of a page in the assistant, or -1 to remove the last page.

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

    child | A child of widget.

  Returns
    `true` if the child is not subject to homogenous sizing.
Member Gtk::ButtonBox::set_child_non_homogeneous (Gtk::Widget& child, bool non_homogeneous=true)
  Parameters

    child | A child of widget.
    non_homogeneous | The new value.

Member Gtk::CssProvider::to_string () const
  Returns
    A new string representing the provider.
Member Gtk::Entry::get_placeholder_text () const
  Returns
    A pointer to the placeholder text as a string. This string points to internally allocated storage in the widget and must not be freed, modified or stored.
Member Gtk::Entry::set_placeholder_text (const Glib::ustring& text)
  Parameters

    text | A string to be displayed when entry is empty an unfocused, or `0`.

Member Gtk::Expander::get_resize_toplevel () const
  Returns
    The “resize toplevel” setting.
Member Gtk::Expander::set_resize_toplevel (bool resize_toplevel=true)
  Parameters

    resize_toplevel | Whether to resize the toplevel.

Class Gtk::FontChooser
Member Gtk::FontChooser::get_font () const
  Returns
    A string with the name of the current font, or `0` if no font is selected. You must free this string with Glib::free().
Member Gtk::FontChooser::get_font_desc () const
  Returns
    A Pango::FontDescription for the current font, or `0` if no font is selected.
Member Gtk::FontChooser::get_font_face ()
  Returns
    A Pango::FontFace representing the selected font group details, or `0`. The returned object is owned by fontchooser and must not be modified or freed.
Member Gtk::FontChooser::get_font_face () const
  Returns
    A Pango::FontFace representing the selected font group details, or `0`. The returned object is owned by fontchooser and must not be modified or freed.
Member Gtk::FontChooser::get_font_family () const
  Returns
    A Pango::FontFamily representing the selected font family, or `0`. The returned object is owned by fontchooser and must not be modified or freed.
Member Gtk::FontChooser::get_font_family ()
  Returns
    A Pango::FontFamily representing the selected font family, or `0`. The returned object is owned by fontchooser and must not be modified or freed.
Member Gtk::FontChooser::get_font_size () const
  Returns
    A n integer representing the selected font size, or -1 if no font size is selected.
Member Gtk::FontChooser::get_preview_text () const
  Returns
    The text displayed in the preview area.
Member Gtk::FontChooser::get_show_preview_entry () const
  Returns
    `true` if the preview entry is shown or `false` if it is hidden.
Member Gtk::FontChooser::set_font (const Glib::ustring& fontname)
  Parameters

    fontname | A font name like “Helvetica 12” or “Times Bold 18”.

Member Gtk::FontChooser::set_font_desc (const Pango::FontDescription& font_desc)
  Parameters

    font_desc | A Pango::FontDescription.

Member Gtk::FontChooser::set_preview_text (const Glib::ustring& text)
  Parameters

    text | The text to display in the preview area.

Member Gtk::FontChooser::set_show_preview_entry (bool show_preview_entry=true)
  Parameters

    show_preview_entry | Whether to show the editable preview entry or not.

Class Gtk::FontChooserDialog
Class Gtk::FontChooserWidget
Member Gtk::Grid::get_child_at (int left, int top) const
  Parameters

    left | The left edge of the cell.
    top | The top edge of the cell.

  Returns
    The child at the given position, or `0`.
Member Gtk::Grid::get_child_at (int left, int top)
  Parameters

    left | The left edge of the cell.
    top | The top edge of the cell.

  Returns
    The child at the given position, or `0`.
Member Gtk::Grid::insert_column (int position)
  Parameters

    position | The position to insert the column at.

Member Gtk::Grid::insert_next_to (Widget& sibling, PositionType side)
  Parameters

    sibling | The child of grid that the new row or column will be placed next to.
    side | The side of sibling that child is positioned next to.

Member Gtk::Grid::insert_row (int position)
  Parameters

    position | The position to insert the row at.

Member Gtk::MenuShell::signal_insert ()
  Parameters

    child | The Gtk::MenuItem that is being inserted.
    position | The position at which the insert occurs.

Member Gtk::Scale::Scale (Orientation orientation)
Member Gtk::StyleContext::render_icon (const ::Cairo::RefPtr< ::Cairo::Context >& cr, const Glib::RefPtr< Gdk::Pixbuf >& pixbuf, double x, double y)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    pixbuf | A Gdk::Pixbuf containing the icon to draw.
    x | X position for the pixbuf.
    y | Y position for the pixbuf.

Member Gtk::Tooltip::unset_custom ()
Member Gtk::Tooltip::unset_icon ()
Member Gtk::Tooltip::unset_markup ()
Member Gtk::Tooltip::unset_text ()
Member Gtk::TreeView::unset_drag_dest_row ()
Member Gtk::TreeView::unset_row_separator_func ()
Member Gtk::TreeViewColumn::get_x_offset () const
  Returns
    The current X offset of tree_column.
Member Gtk::Widget::has_visible_focus () const
  Returns
    `true` if the widget should display a “focus rectangle”.
Member Gtk::WidgetPath::to_string () const
  Returns
    A new string describing path.
Member Gtk::Window::get_focus_visible () const
  Returns
    `true` if “focus rectangles” are supposed to be visible in this window.
Member Gtk::Window::set_focus_visible (bool setting=true)
  Parameters

    setting | The new value.