gtkmm: New API in gtkmm 3.0

gtkmm 3.13.2

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

New API in gtkmm 3.0

Member Gdk::Cairo::set_source_rgba (const ::Cairo::RefPtr< ::Cairo::Context >& context, const Gdk::RGBA& color)
Member Gdk::Cursor::create (const Glib::RefPtr< Display >& display, const Glib::RefPtr< Pixbuf >& pixbuf, int x, int y)
  )
Member Gdk::Device::get_associated_device ()
  Returns
    The associated device, or `0`.
Member Gdk::Device::get_associated_device () const
  Returns
    The associated device, or `0`.
Member Gdk::Device::get_axis_value (double& axes, GdkAtom axis_label, double& value) const
  Parameters

    axes | Pointer to an array of axes.
    axis_label | Gdk::Atom with the axis label.
    value | Location to store the found value.

  Returns
    `true` if the given axis use was found, otherwise `false`.
Member Gdk::Device::get_device_type () const
  Returns
    The Gdk::DeviceType for device.
Member Gdk::Device::get_display ()
  Returns
    A Gdk::Display. This memory is owned by GTK+, and must not be freed or unreffed.
Member Gdk::Device::get_display () const
  Returns
    A Gdk::Display. This memory is owned by GTK+, and must not be freed or unreffed.
Member Gdk::Device::get_n_axes () const
  Returns
    The number of axes.
Member Gdk::Device::get_window_at_position (int& win_x, int& win_y)
  Parameters

    win_x | Return location for the X coordinate of the device location, relative to the window origin, or `0`.
    win_y | Return location for the Y coordinate of the device location, relative to the window origin, or `0`.

  Returns
    The Gdk::Window under the device position, or `0`.
Member Gdk::Device::get_window_at_position (int& win_x, int& win_y) const
  Parameters

    win_x | Return location for the X coordinate of the device location, relative to the window origin, or `0`.
    win_y | Return location for the Y coordinate of the device location, relative to the window origin, or `0`.

  Returns
    The Gdk::Window under the device position, or `0`.
Member Gdk::Device::get_window_at_position ()
  Returns
    The Gdk::Window under the device position.
Member Gdk::Device::get_window_at_position () const
  Returns
    The Gdk::Window under the device position.
Member Gdk::Device::grab (const Glib::RefPtr< Window >& window, GrabOwnership grab_ownership, bool owner_events, EventMask event_mask, const Glib::RefPtr< Cursor >& cursor, guint32 time_)
  Parameters

    window | The Gdk::Window which will own the grab (the grab window).
    grab_ownership | Specifies the grab ownership.
    owner_events | If `false` then all device events are reported with respect to window and are only reported if selected by event_mask. If `true` then pointer events for this application are reported as normal, but pointer events outside this application are reported with respect to window and only if selected by event_mask. In either mode, unreported events are discarded.
    event_mask | Specifies the event mask, which is used in accordance with owner_events.
    cursor | The cursor to display while the grab is active if the device is a pointer. If this is `0` then the normal cursors are used for window and its descendants, and the cursor for window is used elsewhere.
    time | The timestamp of the event which led to this pointer grab. This usually comes from the Gdk::Event struct, though Gdk::CURRENT_TIME can be used if the time isn’t known.

  Returns
    Gdk::GRAB_SUCCESS if the grab was successful.
Member Gdk::Device::ungrab (guint32 time_)
  Parameters

    time | A timestap (e.g. Gdk::CURRENT_TIME).

Member Gdk::Device::warp (const Glib::RefPtr< Screen >& screen, int x, int y)
  Parameters

    screen | The screen to warp device to.
    x | The X coordinate of the destination.
    y | The Y coordinate of the destination.

Class Gdk::DeviceManager
Member Gdk::DeviceManager::get_client_pointer ()
  Returns
    The client pointer. This memory is owned by GDK and must not be freed or unreferenced.
Member Gdk::DeviceManager::get_client_pointer () const
  Returns
    The client pointer. This memory is owned by GDK and must not be freed or unreferenced.
Member Gdk::DeviceManager::get_display ()
  Returns
    The Gdk::Display to which device_manager is associated to, or #`0`. This memory is owned by GDK and must not be freed or unreferenced.
Member Gdk::DeviceManager::get_display () const
  Returns
    The Gdk::Display to which device_manager is associated to, or #`0`. This memory is owned by GDK and must not be freed or unreferenced.
Member Gdk::DeviceManager::list_devices (DeviceType type)
  Parameters

    type | Device type to get.

  Returns
    A list of Gdk::Devices. The returned list must be freed with Glib::list_free(). The list elements are owned by GTK+ and must not be freed or unreffed.
Member Gdk::DeviceManager::list_devices (DeviceType type) const
  Parameters

    type | Device type to get.

  Returns
    A list of Gdk::Devices. The returned list must be freed with Glib::list_free(). The list elements are owned by GTK+ and must not be freed or unreffed.
Member Gdk::Display::get_app_launch_context ()
  Returns
    A new Gdk::AppLaunchContext for display. Free with Glib::object_unref() when done.
Member Gdk::Display::get_app_launch_context () const
  Returns
    A new Gdk::AppLaunchContext for display. Free with Glib::object_unref() when done.
Member Gdk::Display::get_device_manager ()
  Returns
    A Gdk::DeviceManager, or `0`. This memory is owned by GDK and must not be freed or unreferenced.
Member Gdk::Display::get_device_manager () const
  Returns
    A Gdk::DeviceManager, or `0`. This memory is owned by GDK and must not be freed or unreferenced.
Member Gdk::Display::has_pending () const
  Returns
    `true` if there are events ready to be processed.
Member Gdk::Display::notify_startup_complete (const Glib::ustring& startup_id)
  Parameters

    startup_id | A startup-notification identifier, for which notification process should be completed.

Member Gdk::DisplayManager::open_display (const Glib::ustring& name)
  Parameters

    name | The name of the display to open.

  Returns
    A Gdk::Display, or `0` if the display could not be opened.
Member Gdk::DragContext::get_dest_window ()
  Returns
    A Gdk::Window.
Member Gdk::DragContext::get_dest_window () const
  Returns
    A Gdk::Window.
Member Gdk::DragContext::get_protocol () const
  Returns
    The drag protocol.
Member Gdk::RGBA::set (const Glib::ustring& spec)
  Parameters

    spec | The string specifying the color.

  Returns
    `true` if the parsing succeeded.
Member Gdk::RGBA::to_string () const
  Returns
    A newly allocated text string.
Member Gdk::Window::get_device_cursor (const Glib::RefPtr< Device >& device)
  Parameters

    device | A master, pointer Gdk::Device.

  Returns
    A Gdk::Cursor, or `0`. The returned object is owned by the Gdk::Window and should not be unreferenced directly. Use set_cursor() to unset the cursor of the window.
Member Gdk::Window::get_device_cursor (const Glib::RefPtr< const Device >& device) const
  Parameters

    device | A master, pointer Gdk::Device.

  Returns
    A Gdk::Cursor, or `0`. The returned object is owned by the Gdk::Window and should not be unreferenced directly. Use set_cursor() to unset the cursor of the window.
Member Gdk::Window::get_device_events (const Glib::RefPtr< const Device >& device) const
  Parameters

    device | A Gdk::Device.

  Returns
    Device event mask for window.
Member Gdk::Window::get_device_position (const Glib::RefPtr< const Device >& device, int& x, int& y, ModifierType& mask) const
  Parameters

    device | Pointer Gdk::Device to query to.
    x | Return location for the X coordinate of device, or `0`.
    y | Return location for the Y coordinate of device, or `0`.
    mask | Return location for the modifier mask, or `0`.

  Returns
    The window underneath device (as with Gdk::Device::get_window_at_position()), or `0` if the window is not known to GDK.
Member Gdk::Window::get_drag_protocol (Glib::RefPtr< Window >& target) const
  Parameters

    target | Location of the window where the drop should happen. This may be window or a proxy window, or `0` if window does not support Drag and Drop.

  Returns
    The supported DND protocol.
Member Gdk::Window::get_drag_protocol () const
  Returns
    The supported DND protocol.
Member Gdk::Window::get_support_multidevice ()
  Returns
    `true` if the window handles multidevice features.
Member Gdk::Window::set_device_cursor (const Glib::RefPtr< Device >& device, const Glib::RefPtr< Cursor >& cursor)
  Parameters

    device | A master, pointer Gdk::Device.
    cursor | A Gdk::Cursor.

Member Gdk::Window::set_device_events (const Glib::RefPtr< Device >& device, EventMask event_mask)
  Parameters

    device | Gdk::Device to enable events for.
    event_mask | Event mask for window.

Member Gdk::Window::set_source_events (InputSource source, EventMask event_mask)
  Parameters

    source | A Gdk::InputSource to define the source class.
    event_mask | Event mask for window.

Member Gdk::Window::set_support_multidevice (bool support_multidevice=true)
  Parameters

    support_multidevice | `true` to enable multidevice support in window.

Member Gtk::AboutDialog::get_license_type () const
  Returns
    A Gtk::License value.
Member Gtk::AboutDialog::set_license_type (License license_type)
  Parameters

    license_type | The type of license.

Class Gtk::AppChooser
Member Gtk::AppChooser::get_app_info ()
  Returns
    A AppInfo for the currently selected application, or `0` if none is selected. Free with Glib::object_unref().
Member Gtk::AppChooser::get_app_info () const
  Returns
    A AppInfo for the currently selected application, or `0` if none is selected. Free with Glib::object_unref().
Member Gtk::AppChooser::get_content_type () const
  Returns
    The content type of self. Free with Glib::free().
Member Gtk::AppChooser::refresh ()
Class Gtk::AppChooserButton
Member Gtk::AppChooserButton::append_custom_item (const Glib::ustring& name, const Glib::ustring& label, const Glib::RefPtr< Gio::Icon >& icon)
  Parameters

    name | The name of the custom item.
    label | The label for the custom item.
    icon | The icon for the custom item.

Member Gtk::AppChooserButton::append_separator ()
Member Gtk::AppChooserButton::get_show_dialog_item () const
  Returns
    The value of Gtk::AppChooserButton::property_show_dialog_item().
Member Gtk::AppChooserButton::set_active_custom_item (const Glib::ustring& name)
  Parameters

    name | The name of the custom item.

Member Gtk::AppChooserButton::set_show_dialog_item (bool setting=true)
  Parameters

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

Class Gtk::AppChooserDialog
Member Gtk::AppChooserDialog::get_widget ()
  Returns
    The Gtk::AppChooserWidget of self.
Member Gtk::AppChooserDialog::get_widget () const
  Returns
    The Gtk::AppChooserWidget of self.
Class Gtk::AppChooserWidget
Member Gtk::AppChooserWidget::get_default_text ()
  Returns
    The value of Gtk::AppChooserWidget::property_default_text().
Member Gtk::AppChooserWidget::get_show_all () const
  Returns
    The value of Gtk::AppChooserWidget::property_show_all().
Member Gtk::AppChooserWidget::get_show_default ()
  Returns
    The value of Gtk::AppChooserWidget::property_show_default().
Member Gtk::AppChooserWidget::get_show_fallback () const
  Returns
    The value of Gtk::AppChooserWidget::property_show_fallback().
Member Gtk::AppChooserWidget::get_show_other () const
  Returns
    The value of Gtk::AppChooserWidget::property_show_other().
Member Gtk::AppChooserWidget::get_show_recommended () const
  Returns
    The value of Gtk::AppChooserWidget::property_show_recommended().
Member Gtk::AppChooserWidget::set_show_all (bool setting=true)
  Parameters

    setting | The new value for Gtk::AppChooserWidget::property_show_all().

Member Gtk::AppChooserWidget::set_show_default (bool setting=true)
  Parameters

    setting | The new value for Gtk::AppChooserWidget::property_show_default().

Member Gtk::AppChooserWidget::set_show_fallback (bool setting=true)
  Parameters

    setting | The new value for Gtk::AppChooserWidget::property_show_fallback().

Member Gtk::AppChooserWidget::set_show_other (bool setting=true)
  Parameters

    setting | The new value for Gtk::AppChooserWidget::property_show_other().

Member Gtk::AppChooserWidget::set_show_recommended (bool setting=true)
  Parameters

    setting | The new value for Gtk::AppChooserWidget::property_show_recommended().

Member Gtk::Application::get_windows ()
  Returns
    A List of Gtk::Window.
Member Gtk::Application::get_windows () const
  Returns
    A List of Gtk::Window.
Member Gtk::Application::remove_window (Window& window)
  Parameters

    window | A Gtk::Window.

Member Gtk::Assistant::next_page ()
Member Gtk::Assistant::previous_page ()
Class Gtk::Buildable
Member Gtk::Calendar::get_day_is_marked (guint day) const
  Parameters

    day | The day number between 1 and 31.

  Returns
    Whether the day is marked.
Class Gtk::CellArea
Member Gtk::CellArea::activate (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, const Gdk::Rectangle& cell_area, CellRendererState flags, bool edit_only)
  Parameters

    context | The Gtk::CellAreaContext in context with the current row data.
    widget | The Gtk::Widget that area is rendering on.
    cell_area | The size and location of area relative to widget’s allocation.
    flags | The Gtk::CellRendererState flags for area for this row of data.
    edit_only | If `true` then only cell renderers that are Gtk::CELL_RENDERER_MODE_EDITABLE will be activated.

  Returns
    Whether area was successfully activated.
Member Gtk::CellArea::activate_cell (Widget& widget, CellRenderer& renderer, GdkEvent* event, const Gdk::Rectangle& cell_area, CellRendererState flags)
  Parameters

    widget | The Gtk::Widget that area is rendering onto.
    renderer | The Gtk::CellRenderer in area to activate.
    event | The Gdk::Event for which cell activation should occur.
    cell_area | The Gdk::Rectangle in widget relative coordinates of renderer for the current row.
    flags | The Gtk::CellRendererState for renderer.

  Returns
    Whether cell activation was successful.
Member Gtk::CellArea::add (CellRenderer& renderer)
  Parameters

    renderer | The Gtk::CellRenderer to add to area.

Member Gtk::CellArea::add_focus_sibling (CellRenderer& renderer, CellRenderer& sibling)
  Parameters

    renderer | The Gtk::CellRenderer expected to have focus.
    sibling | The Gtk::CellRenderer to add to renderer’s focus area.

Member Gtk::CellArea::apply_attributes (const Glib::RefPtr< TreeModel >& tree_model, const TreeModel::iterator& iter, bool is_expander, bool is_expanded)
  Parameters

    tree_model | The Gtk::TreeModel to pull values from.
    iter | The Gtk::TreeIter in tree_model to apply values for.
    is_expander | Whether iter has children.
    is_expanded | Whether iter is expanded in the view and children are visible.

Member Gtk::CellArea::attribute_connect (CellRenderer& renderer, const Glib::ustring& attribute, int column)
  Parameters

    renderer | The Gtk::CellRenderer to connect an attribute for.
    attribute | The attribute name.
    column | The Gtk::TreeModel column to fetch attribute values from.

Member Gtk::CellArea::attribute_disconnect (CellRenderer& renderer, const Glib::ustring& attribute)
  Parameters

    renderer | The Gtk::CellRenderer to disconnect an attribute for.
    attribute | The attribute name.

Member Gtk::CellArea::cell_get_property (CellRenderer& renderer, const Glib::ustring& property_name, Glib::ValueBase& value)
  Parameters

    renderer | A Gtk::CellRenderer inside area.
    property_name | The name of the property to get.
    value | A location to return the value.

Member Gtk::CellArea::cell_set_property (CellRenderer& renderer, const Glib::ustring& property_name, const Glib::ValueBase& value)
  Parameters

    renderer | A Gtk::CellRenderer inside area.
    property_name | The name of the cell property to set.
    value | The value to set the cell property to.

Member Gtk::CellArea::copy_context (const Glib::RefPtr< const CellAreaContext >& context)
  Parameters

    context | The Gtk::CellAreaContext to copy.

  Returns
    A newly created Gtk::CellAreaContext copy of context.
Member Gtk::CellArea::create_context () const
  Returns
    A newly created Gtk::CellAreaContext which can be used with area.
Member Gtk::CellArea::event (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, GdkEvent* event, const Gdk::Rectangle& cell_area, GtkCellRendererState flags)
  Parameters

    context | The Gtk::CellAreaContext for this row of data.
    widget | The Gtk::Widget that area is rendering to.
    event | The Gdk::Event to handle.
    cell_area | The widget relative coordinates for area.
    flags | The Gtk::CellRendererState for area in this row.

  Returns
    `true` if the event was handled by area.
Member Gtk::CellArea::focus (DirectionType direction)
  Parameters

    direction | The Gtk::DirectionType.

  Returns
    `true` if focus remains inside area as a result of this call.
Member Gtk::CellArea::get_cell_allocation (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, CellRenderer& renderer, const Gdk::Rectangle& cell_area, Gdk::Rectangle& allocation)
  Parameters

    context | The Gtk::CellAreaContext used to hold sizes for area.
    widget | The Gtk::Widget that area is rendering on.
    renderer | The Gtk::CellRenderer to get the allocation for.
    cell_area | The whole allocated area for area in widget for this row.
    allocation | Where to store the allocation for renderer.

Member Gtk::CellArea::get_cell_at_position (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, const Gdk::Rectangle& cell_area, int x, int y, Gdk::Rectangle& alloc_area)
  Parameters

    context | The Gtk::CellAreaContext used to hold sizes for area.
    widget | The Gtk::Widget that area is rendering on.
    cell_area | The whole allocated area for area in widget for this row.
    x | The x position.
    y | The y position.
    alloc_area | Where to store the inner allocated area of the returned cell renderer, or `0`.

  Returns
    The Gtk::CellRenderer at x and y.
Member Gtk::CellArea::get_cell_at_position (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, const Gdk::Rectangle& cell_area, int x, int y, Gdk::Rectangle& alloc_area) const
  Parameters

    context | The Gtk::CellAreaContext used to hold sizes for area.
    widget | The Gtk::Widget that area is rendering on.
    cell_area | The whole allocated area for area in widget for this row.
    x | The x position.
    y | The y position.
    alloc_area | Where to store the inner allocated area of the returned cell renderer, or `0`.

  Returns
    The Gtk::CellRenderer at x and y.
Member Gtk::CellArea::get_current_path_string () const
  Returns
    The current Gtk::TreePath string for the current attributes applied to area. This string belongs to the area and should not be freed.
Member Gtk::CellArea::get_edit_widget ()
  Returns
    The currently active Gtk::CellEditable widget.
Member Gtk::CellArea::get_edit_widget () const
  Returns
    The currently active Gtk::CellEditable widget.
Member Gtk::CellArea::get_edited_cell ()
  Returns
    The currently edited Gtk::CellRenderer.
Member Gtk::CellArea::get_edited_cell () const
  Returns
    The currently edited Gtk::CellRenderer.
Member Gtk::CellArea::get_focus_cell ()
  Returns
    The currently focused cell in area.
Member Gtk::CellArea::get_focus_cell () const
  Returns
    The currently focused cell in area.
Member Gtk::CellArea::get_focus_from_sibling (CellRenderer& renderer)
  Parameters

    renderer | The Gtk::CellRenderer.

  Returns
    The Gtk::CellRenderer for which renderer is a sibling, or `0`.
Member Gtk::CellArea::get_focus_from_sibling (CellRenderer& renderer) const
  Parameters

    renderer | The Gtk::CellRenderer.

  Returns
    The Gtk::CellRenderer for which renderer is a sibling, or `0`.
Member Gtk::CellArea::get_focus_siblings (CellRenderer& renderer)
  Parameters

    renderer | The Gtk::CellRenderer expected to have focus.

  Returns
    A List of Gtk::CellRenderers. The returned list is internal and should not be freed.
Member Gtk::CellArea::get_focus_siblings (const CellRenderer& renderer) const
  Parameters

    renderer | The Gtk::CellRenderer expected to have focus.

  Returns
    A List of Gtk::CellRenderers. The returned list is internal and should not be freed.
Member Gtk::CellArea::get_preferred_height (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, int& minimum_height, int& natural_height)
  Parameters

    context | The Gtk::CellAreaContext to perform this request with.
    widget | The Gtk::Widget where area will be rendering.
    minimum_height | Location to store the minimum height, or `0`.
    natural_height | Location to store the natural height, or `0`.

Member Gtk::CellArea::get_preferred_height_for_width (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, int width, int& minimum_height, int& natural_height)
  Parameters

    context | The Gtk::CellAreaContext which has already been requested for widths.
    widget | The Gtk::Widget where area will be rendering.
    width | The width for which to check the height of this area.
    minimum_height | Location to store the minimum height, or `0`.
    natural_height | Location to store the natural height, or `0`.

Member Gtk::CellArea::get_preferred_width (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, int& minimum_width, int& natural_width)
  Parameters

    context | The Gtk::CellAreaContext to perform this request with.
    widget | The Gtk::Widget where area will be rendering.
    minimum_width | Location to store the minimum width, or `0`.
    natural_width | Location to store the natural width, or `0`.

Member Gtk::CellArea::get_preferred_width_for_height (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, int height, int& minimum_width, int& natural_width)
  Parameters

    context | The Gtk::CellAreaContext which has already been requested for widths.
    widget | The Gtk::Widget where area will be rendering.
    height | The height for which to check the width of this area.
    minimum_width | Location to store the minimum width, or `0`.
    natural_width | Location to store the natural width, or `0`.

Member Gtk::CellArea::get_request_mode () const
  Returns
    The Gtk::SizeRequestMode preferred by area.
Member Gtk::CellArea::has_renderer (CellRenderer& renderer)
  Parameters

    renderer | The Gtk::CellRenderer to check.

  Returns
    `true` if renderer is in the area.
Member Gtk::CellArea::inner_cell_area (Widget& widget, const Gdk::Rectangle& cell_area, Gdk::Rectangle& inner_area)
  Parameters

    widget | The Gtk::Widget that area is rendering onto.
    cell_area | The widget relative coordinates where one of area’s cells is to be placed.
    inner_area | The return location for the inner cell area.

Member Gtk::CellArea::is_activatable () const
  Returns
    Whether area can do anything when activated.
Member Gtk::CellArea::is_focus_sibling (CellRenderer& renderer, CellRenderer& sibling)
  Parameters

    renderer | The Gtk::CellRenderer expected to have focus.
    sibling | The Gtk::CellRenderer to check against renderer’s sibling list.

  Returns
    `true` if sibling is a focus sibling of renderer.
Member Gtk::CellArea::remove (CellRenderer& renderer)
  Parameters

    renderer | The Gtk::CellRenderer to remove from area.

Member Gtk::CellArea::remove_focus_sibling (CellRenderer& renderer, CellRenderer& sibling)
  Parameters

    renderer | The Gtk::CellRenderer expected to have focus.
    sibling | The Gtk::CellRenderer to remove from renderer’s focus area.

Member Gtk::CellArea::render (const Glib::RefPtr< CellAreaContext >& context, Widget& widget, const ::Cairo::RefPtr< ::Cairo::Context >& cr, const Gdk::Rectangle& background_area, const Gdk::Rectangle& cell_area, CellRendererState flags, bool paint_focus)
  Parameters

    context | The Gtk::CellAreaContext for this row of data.
    widget | The Gtk::Widget that area is rendering to.
    cr | The #cairo_t to render with.
    background_area | The widget relative coordinates for area’s background.
    cell_area | The widget relative coordinates for area.
    flags | The Gtk::CellRendererState for area in this row.
    paint_focus | Whether area should paint focus on focused cells for focused rows or not.

Member Gtk::CellArea::request_renderer (CellRenderer& renderer, Orientation orientation, Widget& widget, int for_size, int& minimum_size, int& natural_size)
  Parameters

    renderer | The Gtk::CellRenderer to request size for.
    orientation | The Gtk::Orientation in which to request size.
    widget | The Gtk::Widget that area is rendering onto.
    for_size | The allocation contextual size to request for, or -1 if the base request for the orientation is to be returned.
    minimum_size | Location to store the minimum size, or `0`.
    natural_size | Location to store the natural size, or `0`.

Member Gtk::CellArea::set_focus_cell (CellRenderer& renderer)
  Parameters

    renderer | The Gtk::CellRenderer to give focus to.

Member Gtk::CellArea::signal_add_editable ()
  Parameters

    renderer | The Gtk::CellRenderer that started the edited.
    editable | The Gtk::CellEditable widget to add.
    cell_area | The Gtk::Widget relative Gdk::Rectangle coordinates where editable should be added.
    path | The Gtk::TreePath string this edit was initiated for.

Member Gtk::CellArea::signal_apply_attributes ()
  Parameters

    model | The Gtk::TreeModel to apply the attributes from.
    iter | The Gtk::TreeIter indicating which row to apply the attributes of.
    is_expander | Whether the view shows children for this row.
    is_expanded | Whether the view is currently showing the children of this row.

Member Gtk::CellArea::signal_focus_changed ()
  Parameters

    renderer | The Gtk::CellRenderer that has focus.
    path | The current Gtk::TreePath string set for area.

Member Gtk::CellArea::signal_remove_editable ()
  Parameters

    renderer | The Gtk::CellRenderer that finished editeding.
    editable | The Gtk::CellEditable widget to remove.

Member Gtk::CellArea::stop_editing (bool canceled)
  Parameters

    canceled | Whether editing was canceled.

Class Gtk::CellAreaBox
Member Gtk::CellAreaBox::get_spacing () const
  Returns
    The space added between cell renderers in box.
Member Gtk::CellAreaBox::pack_end (CellRenderer& renderer, bool expand=false, bool align=true, bool fixed=false)
  Parameters

    renderer | The Gtk::CellRenderer to add.
    expand | Whether renderer should receive extra space when the area receives more than its natural size.
    align | Whether renderer should be aligned in adjacent rows.
    fixed | Whether renderer should have the same size in all rows.

Member Gtk::CellAreaBox::pack_start (CellRenderer& renderer, bool expand=false, bool align=true, bool fixed=false)
  Parameters

    renderer | The Gtk::CellRenderer to add.
    expand | Whether renderer should receive extra space when the area receives more than its natural size.
    align | Whether renderer should be aligned in adjacent rows.
    fixed | Whether renderer should have the same size in all rows.

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

    spacing | The space to add between Gtk::CellRenderers.

Member Gtk::CellAreaContext::allocate (int width, int height)
  Parameters

    width | The allocated width for all Gtk::TreeModel rows rendered with context, or -1.
    height | The allocated height for all Gtk::TreeModel rows rendered with context, or -1.

Member Gtk::CellAreaContext::get_allocation (int& width, int& height) const
  Parameters

    width | Location to store the allocated width, or `0`.
    height | Location to store the allocated height, or `0`.

Member Gtk::CellAreaContext::get_area ()
  Returns
    The Gtk::CellArea this context was created by.
Member Gtk::CellAreaContext::get_area () const
  Returns
    The Gtk::CellArea this context was created by.
Member Gtk::CellAreaContext::get_preferred_height (int& minimum_height, int& natural_height) const
  Parameters

    minimum_height | Location to store the minimum height, or `0`.
    natural_height | Location to store the natural height, or `0`.

Member Gtk::CellAreaContext::get_preferred_height_for_width (int width, int& minimum_height, int& natural_height) const
  Parameters

    width | A proposed width for allocation.
    minimum_height | Location to store the minimum height, or `0`.
    natural_height | Location to store the natural height, or `0`.

Member Gtk::CellAreaContext::get_preferred_width (int& minimum_width, int& natural_width) const
  Parameters

    minimum_width | Location to store the minimum width, or `0`.
    natural_width | Location to store the natural width, or `0`.

Member Gtk::CellAreaContext::get_preferred_width_for_height (int height, int& minimum_width, int& natural_width) const
  Parameters

    height | A proposed height for allocation.
    minimum_width | Location to store the minimum width, or `0`.
    natural_width | Location to store the natural width, or `0`.

Member Gtk::CellAreaContext::push_preferred_height (int minimum_height, int natural_height)
  Parameters

    minimum_height | The proposed new minimum height for context.
    natural_height | The proposed new natural height for context.

Member Gtk::CellAreaContext::push_preferred_width (int minimum_width, int natural_width)
  Parameters

    minimum_width | The proposed new minimum width for context.
    natural_width | The proposed new natural width for context.

Member Gtk::CellAreaContext::reset ()
Member Gtk::CellLayout::get_area ()
  Returns
    The cell area used by cell_layout.
Member Gtk::CellLayout::get_area () const
  Returns
    The cell area used by cell_layout.
Member Gtk::CellRenderer::get_aligned_area (Widget& widget, CellRendererState flags, const Gdk::Rectangle& cell_area, Gdk::Rectangle& aligned_area)
  Parameters

    widget | The Gtk::Widget this cell will be rendering to.
    flags | Render flags.
    cell_area | Cell area which would be passed to render().
    aligned_area | The return location for the space inside cell_area that would acually be used to render.

Member Gtk::CellRenderer::get_preferred_height (Widget& widget, int& minimum_height, int& natural_height) const
  Parameters

    widget | The Gtk::Widget this cell will be rendering to.
    minimum_size | Location to store the minimum size, or `0`.
    natural_size | Location to store the natural size, or `0`.

Member Gtk::CellRenderer::get_preferred_height_for_width (Widget& widget, int width, int& minimum_height, int& natural_height) const
  Parameters

    widget | The Gtk::Widget this cell will be rendering to.
    width | The size which is available for allocation.
    minimum_height | Location for storing the minimum size, or `0`.
    natural_height | Location for storing the preferred size, or `0`.

Member Gtk::CellRenderer::get_preferred_size (Widget& widget, Requisition& minimum_size, Requisition& natural_size) const
  Parameters

    widget | The Gtk::Widget this cell will be rendering to.
    minimum_size | Location for storing the minimum size, or `0`.
    natural_size | Location for storing the natural size, or `0`.

Member Gtk::CellRenderer::get_preferred_width (Widget& widget, int& minimum_width, int& natural_width) const
  Parameters

    widget | The Gtk::Widget this cell will be rendering to.
    minimum_size | Location to store the minimum size, or `0`.
    natural_size | Location to store the natural size, or `0`.

Member Gtk::CellRenderer::get_preferred_width_for_height (Widget& widget, int height, int& minimum_width, int& natural_width) const
  Parameters

    widget | The Gtk::Widget this cell will be rendering to.
    height | The size which is available for allocation.
    minimum_width | Location for storing the minimum size, or `0`.
    natural_width | Location for storing the preferred size, or `0`.

Member Gtk::CellRenderer::get_request_mode () const
  Returns
    The Gtk::SizeRequestMode preferred by this renderer.
Member Gtk::CellRenderer::get_state (Widget& widget, CellRendererState cell_state) const
  Parameters

    widget | A Gtk::Widget, or `0`.
    cell_state | Cell renderer state.

  Returns
    The widget state flags applying to cell.
Member Gtk::CellRenderer::get_state (CellRendererState cell_state) const
Member Gtk::CellRenderer::is_activatable () const
  Returns
    `true` if the cell renderer can do anything when activated.
Member Gtk::CellView::get_draw_sensitive () const
  Returns
    Whether cell_view draws all of its cells in a sensitive state.
Member Gtk::CellView::get_fit_model () const
  Returns
    Whether cell_view requests space to fit the entire Gtk::TreeModel.
Member Gtk::CellView::set_background_rgba (const Gdk::RGBA& rgba)
  Parameters

    rgba | The new background color.

Member Gtk::CellView::set_draw_sensitive (bool draw_sensitive=true)
  Parameters

    draw_sensitive | Whether to draw all cells in a sensitive state.

Member Gtk::CellView::set_fit_model (bool fit_model=true)
  Parameters

    fit_model | Whether cell_view should request space for the whole model.

Member Gtk::ColorButton::ColorButton (const Gdk::RGBA& rgba)
Member Gtk::ColorButton::get_rgba () const
Member Gtk::ColorButton::set_rgba (const Gdk::RGBA& rgba)
Member Gtk::ColorSelection::set_current_rgba (const Gdk::RGBA& rgba)
  Parameters

    rgba | A Gdk::RGBA to set the current color with.

Member Gtk::ColorSelection::set_previous_rgba (const Gdk::RGBA& rgba)
  Parameters

    rgba | A Gdk::RGBA to set the previous color with.

Member Gtk::ComboBox::get_active_id () const
  Returns
    The ID of the active row, or `0`.
Member Gtk::ComboBox::get_active_id (const Glib::ustring& active_id)
Member Gtk::ComboBox::get_id_column () const
  Returns
    A column in the data source model of combo_box.
Member Gtk::ComboBox::get_popup_fixed_width () const
  Returns
    `true` if the popup uses a fixed width.
Member Gtk::ComboBox::popup (const Glib::RefPtr< Gdk::Device >& device)
  Parameters

    device | A Gdk::Device.

Member Gtk::ComboBox::set_id_column (int id_column)
  Parameters

    id_column | A column in model to get string IDs for values from.

Member Gtk::ComboBox::set_popup_fixed_width (bool fixed=true)
  Parameters

    fixed | Whether to use a fixed popup width.

Member Gtk::ComboBoxText::insert (int position, const Glib::ustring& id, const Glib::ustring& text)
  Parameters

    position | An index to insert text.
    id | A string ID for this value, or `0`.
    text | A string to display.

Member Gtk::ComboBoxText::remove_all ()
Class Gtk::CssProvider
Member Gtk::Entry::get_icon_area (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY) const
Member Gtk::Entry::get_text_area () const
Member Gtk::Entry::unset_icon (EntryIconPosition icon_pos=ENTRY_ICON_PRIMARY)
Class Gtk::Grid
Member Gtk::IconSet::render_icon_pixbuf (const Glib::RefPtr< StyleContext >& context, IconSize size)
Member Gtk::MenuItem::get_reserve_indicator () const
  Returns
    `true` if menu_item always reserves space for the submenu indicator.
Member Gtk::MenuItem::set_reserve_indicator (bool reserve=true)
  Parameters

    reserve | The new value.

Member Gtk::MenuShell::get_parent_shell ()
  Returns
    The parent Gtk::MenuShell.
Member Gtk::MenuShell::get_parent_shell () const
  Returns
    The parent Gtk::MenuShell.
Member Gtk::MenuShell::get_selected_item ()
  Returns
    The currently selected item.
Member Gtk::MenuShell::get_selected_item () const
  Returns
    The currently selected item.
Class Gtk::NumerableIcon
Member Gtk::NumerableIcon::get_background_gicon ()
  Returns
    A Icon, or `0`.
Member Gtk::NumerableIcon::get_background_gicon () const
  Returns
    A Icon, or `0`.
Member Gtk::NumerableIcon::get_background_icon_name () const
  Returns
    An icon name, or `0`.
Member Gtk::NumerableIcon::get_count () const
  Returns
    The currently displayed value.
Member Gtk::NumerableIcon::get_label () const
  Returns
    The currently displayed label.
Member Gtk::NumerableIcon::get_style_context () const
  Returns
    A Gtk::StyleContext, or `0`. This object is internal to GTK+ and should not be unreffed. Use Glib::object_ref() if you want to keep it around.
Member Gtk::NumerableIcon::get_style_context ()
  Returns
    A Gtk::StyleContext, or `0`. This object is internal to GTK+ and should not be unreffed. Use Glib::object_ref() if you want to keep it around.
Member Gtk::NumerableIcon::set_background_gicon (const Glib::RefPtr< Gio::Icon >& icon)
  Parameters

    icon | A Icon, or `0`.

Member Gtk::NumerableIcon::set_background_icon_name (const Glib::ustring& icon_name)
  Parameters

    icon_name | An icon name, or `0`.

Member Gtk::NumerableIcon::set_count (int count)
  Parameters

    count | A number between -99 and 99.

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

    label | A short label, or `0`.

Member Gtk::NumerableIcon::set_style_context (const Glib::RefPtr< StyleContext >& style)
  Parameters

    style | A Gtk::StyleContext.

Member Gtk::PrintJob::get_collate () const
  Returns
    Whether the job is printed collated.
Member Gtk::PrintJob::get_n_up () const
  Returns
    The n-up setting.
Member Gtk::PrintJob::get_n_up_layout () const
  Returns
    The n-up layout.
Member Gtk::PrintJob::get_num_copies () const
  Returns
    The number of copies.
Member Gtk::PrintJob::get_page_set () const
  Returns
    The Gtk::PageSet setting.
Member Gtk::PrintJob::get_pages () const
  Returns
    The Gtk::PrintPages setting.
Member Gtk::PrintJob::get_reverse () const
  Returns
    Whether the job is printed reversed.
Member Gtk::PrintJob::get_rotate () const
  Returns
    Whether the job is printed rotated.
Member Gtk::PrintJob::get_scale () const
  Returns
    The scale.
Member Gtk::PrintJob::set_collate (bool collate=true)
  Parameters

    collate | Whether the job is printed collated.

Member Gtk::PrintJob::set_n_up (guint n_up)
  Parameters

    n_up | The n-up value.

Member Gtk::PrintJob::set_n_up_layout (NumberUpLayout layout)
  Parameters

    layout | The n-up layout setting.

Member Gtk::PrintJob::set_num_copies (int num_copies)
  Parameters

    num_copies | The number of copies.

Member Gtk::PrintJob::set_page_set (PageSet page_set)
  Parameters

    page_set | A Gtk::PageSet setting.

Member Gtk::PrintJob::set_pages (PrintPages pages)
  Parameters

    pages | The Gtk::PrintPages setting.

Member Gtk::PrintJob::set_reverse (bool reverse=true)
  Parameters

    reverse | Whether the job is printed reversed.

Member Gtk::PrintJob::set_rotate (bool rotate=true)
  Parameters

    rotate | Whether to print rotated.

Member Gtk::PrintJob::set_scale (double scale)
  Parameters

    scale | The scale.

Member Gtk::ProgressBar::get_show_text () const
  Returns
    `true` if text is shown in the progress bar.
Member Gtk::ProgressBar::set_show_text (bool show_text=true)
  Parameters

    show_text | Whether to show superimposed text.

Member Gtk::RadioAction::join_group (const Glib::RefPtr< RadioAction >& group_source)
Member Gtk::RadioButton::join_group (RadioButton& group_source)
  Parameters

    group_source | A radio button object whos group we are joining, or `0` to remove the radio button from its group.

Class Gtk::Scrollable
Member Gtk::Scrollable::get_hadjustment ()
  Returns
    Horizontal Gtk::Adjustment.
Member Gtk::Scrollable::get_hadjustment () const
  Returns
    Horizontal Gtk::Adjustment.
Member Gtk::Scrollable::get_hscroll_policy () const
  Returns
    The horizontal Gtk::ScrollablePolicy.
Member Gtk::Scrollable::get_vadjustment ()
  Returns
    Vertical Gtk::Adjustment.
Member Gtk::Scrollable::get_vadjustment () const
  Returns
    Vertical Gtk::Adjustment.
Member Gtk::Scrollable::get_vscroll_policy () const
  Returns
    The vertical Gtk::ScrollablePolicy.
Member Gtk::Scrollable::set_hadjustment (const Glib::RefPtr< Adjustment >& hadjustment)
  Parameters

    hadjustment | A Gtk::Adjustment.

Member Gtk::Scrollable::set_hscroll_policy (ScrollablePolicy policy)
  Parameters

    policy | The horizontal Gtk::ScrollablePolicy.

Member Gtk::Scrollable::set_vadjustment (const Glib::RefPtr< Adjustment >& vadjustment)
  Parameters

    vadjustment | A Gtk::Adjustment.

Member Gtk::Scrollable::set_vscroll_policy (ScrollablePolicy policy)
  Parameters

    policy | The vertical Gtk::ScrollablePolicy.

Member Gtk::ScrolledWindow::get_min_content_height () const
  Returns
    The minimal content height.
Member Gtk::ScrolledWindow::get_min_content_width () const
  Returns
    The minimum content width.
Member Gtk::ScrolledWindow::set_min_content_height (int height)
  Parameters

    height | The minimal content height.

Member Gtk::ScrolledWindow::set_min_content_width (int width)
  Parameters

    width | The minimal content width.

Member Gtk::SelectionData::get_data (int& length) const
  Parameters

    length | Return location for length of the data segment.

  Returns
    The raw data of the selection.
Class Gtk::StyleContext
Member Gtk::StyleContext::add_class (const Glib::ustring& class_name)
  Parameters

    class_name | Class name to use in styling.

Member Gtk::StyleContext::add_provider (const Glib::RefPtr< StyleProvider >& provider, guint priority)
  Parameters

    provider | A Gtk::StyleProvider.
    priority | The priority of the style provider. The lower it is, the earlier it will be used in the style construction. Typically this will be in the range between Gtk::STYLE_PROVIDER_PRIORITY_FALLBACK and Gtk::STYLE_PROVIDER_PRIORITY_USER.

Member Gtk::StyleContext::add_provider_for_screen (const Glib::RefPtr< Gdk::Screen >& screen, const Glib::RefPtr< StyleProvider >& provider, guint priority)
  Parameters

    screen | A Gdk::Screen.
    provider | A Gtk::StyleProvider.
    priority | The priority of the style provider. The lower it is, the earlier it will be used in the style construction. Typically this will be in the range between Gtk::STYLE_PROVIDER_PRIORITY_FALLBACK and Gtk::STYLE_PROVIDER_PRIORITY_USER.

Member Gtk::StyleContext::add_region (const Glib::ustring& region_name, RegionFlags flags)
  Parameters

    region_name | Region name to use in styling.
    flags | Flags that apply to the region.

Member Gtk::StyleContext::cancel_animations (gpointer region_id)
Member Gtk::StyleContext::context_restore ()
Member Gtk::StyleContext::context_save ()
Member Gtk::StyleContext::get_direction () const
Member Gtk::StyleContext::get_font (StateFlags state=(StateFlags) 0) const
Member Gtk::StyleContext::get_junction_sides () const
  Returns
    The junction sides.
Member Gtk::StyleContext::get_path () const
  Returns
    A Gtk::WidgetPath.
Member Gtk::StyleContext::get_state () const
  Returns
    The state flags.
Member Gtk::StyleContext::has_class (const Glib::ustring& class_name)
  Parameters

    class_name | A class name.

  Returns
    `true` if context has class_name defined.
Member Gtk::StyleContext::has_region (const Glib::ustring& region_name, RegionFlags& flags_return)
  Parameters

    region_name | A region name.
    flags_return | Return location for region flags.

  Returns
    `true` if region is defined.
Member Gtk::StyleContext::invalidate ()
Member Gtk::StyleContext::list_classes () const
  Returns
    A List of strings with the currently defined classes. The contents of the list are owned by GTK+, but you must free the list itself with Glib::list_free() when you are done with it.
Member Gtk::StyleContext::list_regions ()
  Returns
    A List of strings with the currently defined regions. The contents of the list are owned by GTK+, but you must free the list itself with Glib::list_free() when you are done with it.
Member Gtk::StyleContext::notify_state_change (const Glib::RefPtr< Gdk::Window >& window, gpointer region_id, StateType state, bool state_value)
Member Gtk::StyleContext::pop_animatable_region ()
Member Gtk::StyleContext::push_animatable_region (gpointer region_id)
Member Gtk::StyleContext::remove_class (const Glib::ustring& class_name)
  Parameters

    class_name | Class name to remove.

Member Gtk::StyleContext::remove_provider (const Glib::RefPtr< StyleProvider >& provider)
  Parameters

    provider | A Gtk::StyleProvider.

Member Gtk::StyleContext::remove_provider_for_screen (const Glib::RefPtr< Gdk::Screen >& screen, const Glib::RefPtr< StyleProvider >& provider)
  Parameters

    screen | A Gdk::Screen.
    provider | A Gtk::StyleProvider.

Member Gtk::StyleContext::remove_region (const Glib::ustring& region_name)
  Parameters

    region_name | Region name to unset.

Member Gtk::StyleContext::render_activity (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.

Member Gtk::StyleContext::render_arrow (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double angle, double x, double y, double size)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    angle | Arrow angle from 0 to 2 * PI, being 0 the arrow pointing to the north.
    x | X origin of the render area.
    y | Y origin of the render area.
    size | Square side for render area.

Member Gtk::StyleContext::render_background (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.

Member Gtk::StyleContext::render_check (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.

Member Gtk::StyleContext::render_expander (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.

Member Gtk::StyleContext::render_extension (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height, PositionType gap_side)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.
    gap_side | Side where the gap is.

Member Gtk::StyleContext::render_focus (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.

Member Gtk::StyleContext::render_frame (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.

Member Gtk::StyleContext::render_frame_gap (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height, PositionType gap_side, double xy0_gap, double xy1_gap)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.
    gap_side | Side where the gap is.
    xy0_gap | Initial coordinate (X or Y depending on gap_side) for the gap.
    xy1_gap | End coordinate (X or Y depending on gap_side) for the gap.

Member Gtk::StyleContext::render_handle (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.

Member Gtk::StyleContext::render_icon_pixbuf (const IconSource& source, IconSize size)
Member Gtk::StyleContext::render_layout (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, const Glib::RefPtr< Pango::Layout >& layout)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin.
    y | Y origin.
    layout | The Pango::Layout to render.

Member Gtk::StyleContext::render_layout (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, PangoLayout* layout)
Member Gtk::StyleContext::render_line (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x0, double y0, double x1, double y1)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x0 | X coordinate for the origin of the line.
    y0 | Y coordinate for the origin of the line.
    x1 | X coordinate for the end of the line.
    y1 | Y coordinate for the end of the line.

Member Gtk::StyleContext::render_option (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.

Member Gtk::StyleContext::render_slider (const ::Cairo::RefPtr< ::Cairo::Context >& cr, double x, double y, double width, double height, Orientation orientation)
  Parameters

    context | A Gtk::StyleContext.
    cr | A #cairo_t.
    x | X origin of the rectangle.
    y | Y origin of the rectangle.
    width | Rectangle width.
    height | Rectangle height.
    orientation | Orientation of the slider.

Member Gtk::StyleContext::scroll_animations (const Glib::RefPtr< Gdk::Window >& window, int dx, int dy)
Member Gtk::StyleContext::set_background (const Glib::RefPtr< Gdk::Window >& window)
  Parameters

    window | A Gdk::Window.

Member Gtk::StyleContext::set_direction (TextDirection direction)
Member Gtk::StyleContext::set_junction_sides (JunctionSides sides)
  Parameters

    sides | Sides where rendered elements are visually connected to other elements.

Member Gtk::StyleContext::set_path (const WidgetPath& path)
  Parameters

    path | A Gtk::WidgetPath.

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

    screen | A Gdk::Screen.

Member Gtk::StyleContext::set_state (StateFlags flags)
  Parameters

    flags | State to represent.

Member Gtk::StyleContext::state_is_running (StateType state, gdouble* progress)
Class Gtk::StyleProvider
Class Gtk::Switch
Member Gtk::Switch::get_active () const
  Returns
    `true` if the Gtk::Switch is active, and `false` otherwise.
Member Gtk::Switch::set_active (bool is_active=true)
  Parameters

    is_active | `true` if sw should be active, and `false` otherwise.

Member Gtk::TextView::get_cursor_locations (const TextBuffer::iterator& iter, Gdk::Rectangle& strong, Gdk::Rectangle& weak) const
  Parameters

    iter | A Gtk::TextIter.
    strong | Location to store the strong cursor position (may be `0`).
    weak | Location to store the weak cursor position (may be `0`).

Member Gtk::TreeViewColumn::get_button ()
  Returns
    The button for the column header.
Member Gtk::TreeViewColumn::get_button () const
  Returns
    The button for the column header.
Member Gtk::Widget::add_device_events (const Glib::RefPtr< const Gdk::Device >& device, Gdk::EventMask events)
  Parameters

    device | A Gdk::Device.
    events | An event mask, see Gdk::EventMask.

Member Gtk::Widget::device_is_shadowed (const Glib::RefPtr< const Gdk::Device >& device)
  Parameters

    device | A Gdk::Device.

  Returns
    `true` if there is an ongoing grab on device by another Gtk::Widget than widget.
Member Gtk::Widget::draw (const ::Cairo::RefPtr< ::Cairo::Context >& cr)
  Parameters

    cr | A cairo context to draw to.

Member Gtk::Widget::get_device_enabled (const Glib::RefPtr< const Gdk::Device >& device) const
  Parameters

    device | A Gdk::Device.

  Returns
    `true` is device is enabled for widget.
Member Gtk::Widget::get_device_events (const Glib::RefPtr< const Gdk::Device >& device) const
  Parameters

    device | A Gdk::Device.

  Returns
    Device event mask for widget.
Member Gtk::Widget::get_margin_bottom () const
  Returns
    The bottom margin of widget.
Member Gtk::Widget::get_margin_left () const
  Returns
    The left margin of widget.
Member Gtk::Widget::get_margin_right () const
  Returns
    The right margin of widget.
Member Gtk::Widget::get_margin_top () const
  Returns
    The top margin of widget.
Member Gtk::Widget::get_preferred_height (int& minimum_height, int& natural_height) const
  Parameters

    minimum_height | Location to store the minimum height, or `0`.
    natural_height | Location to store the natural height, or `0`.

Member Gtk::Widget::get_preferred_height_for_width (int width, int& minimum_height, int& natural_height) const
  Parameters

    width | The width which is available for allocation.
    minimum_height | Location for storing the minimum height, or `0`.
    natural_height | Location for storing the natural height, or `0`.

Member Gtk::Widget::get_preferred_size (Requisition& minimum_size, Requisition& natural_size) const
  Parameters

    minimum_size | Location for storing the minimum size, or `0`.
    natural_size | Location for storing the natural size, or `0`.

Member Gtk::Widget::get_preferred_width (int& minimum_width, int& natural_width) const
  Parameters

    minimum_width | Location to store the minimum width, or `0`.
    natural_width | Location to store the natural width, or `0`.

Member Gtk::Widget::get_preferred_width_for_height (int height, int& minimum_width, int& natural_width) const
  Parameters

    height | The height which is available for allocation.
    minimum_width | Location for storing the minimum width, or `0`.
    natural_width | Location for storing the natural width, or `0`.

Member Gtk::Widget::get_request_mode () const
  Returns
    The Gtk::SizeRequestMode preferred by widget.
Member Gtk::Widget::get_state_flags () const
  Returns
    The state flags for widget.
Member Gtk::Widget::input_shape_combine_region (const ::Cairo::RefPtr< const ::Cairo::Region >& region)
  Parameters

    region | Shape to be added, or `0` to remove an existing shape.

Member Gtk::Widget::override_background_color (const Gdk::RGBA& color, StateFlags state=STATE_FLAG_NORMAL)
  Parameters

    state | The state for which to set the background color.
    color | The color to assign, or `0` to undo the effect of previous calls to override_background_color().

Member Gtk::Widget::override_color (const Gdk::RGBA& color, StateFlags state=STATE_FLAG_NORMAL)
  Parameters

    state | The state for which to set the color.
    color | The color to assign, or `0` to undo the effect of previous calls to override_color().

Member Gtk::Widget::override_cursor (const Gdk::RGBA& cursor, const Gdk::RGBA& secondary_cursor)
  Parameters

    cursor | The color to use for primary cursor (does not need to be allocated), or `0` to undo the effect of previous calls to of override_cursor().
    secondary_cursor | The color to use for secondary cursor (does not need to be allocated), or `0` to undo the effect of previous calls to of override_cursor().

Member Gtk::Widget::override_font (const Pango::FontDescription& font_desc)
  Parameters

    font_desc | The font descriptiong to use, or `0` to undo the effect of previous calls to override_font().

Member Gtk::Widget::override_symbolic_color (const Glib::ustring& name, const Gdk::RGBA& color)
  Parameters

    name | The name of the symbolic color to modify.
    color | The color to assign (does not need to be allocated), or `0` to undo the effect of previous calls to override_symbolic_color().

Member Gtk::Widget::queue_draw_region (const ::Cairo::RefPtr< const ::Cairo::Region >& region)
  Parameters

    region | Region to draw.

Member Gtk::Widget::render_icon_pixbuf (const StockID& stock_id, IconSize size)
Member Gtk::Widget::reset_style ()
Member Gtk::Widget::set_device_enabled (const Glib::RefPtr< Gdk::Device >& device, bool enabled=true)
  Parameters

    device | A Gdk::Device.
    enabled | Whether to enable the device.

Member Gtk::Widget::set_device_events (const Glib::RefPtr< const Gdk::Device >& device, Gdk::EventMask events)
  Parameters

    device | A Gdk::Device.
    events | Event mask.

Member Gtk::Widget::set_margin_bottom (int margin)
  Parameters

    margin | The bottom margin.

Member Gtk::Widget::set_margin_left (int margin)
  Parameters

    margin | The left margin.

Member Gtk::Widget::set_margin_right (int margin)
  Parameters

    margin | The right margin.

Member Gtk::Widget::set_margin_top (int margin)
  Parameters

    margin | The top margin.

Member Gtk::Widget::set_state_flags (StateFlags flags, bool clear=true)
  Parameters

    flags | State flags to turn on.
    clear | Whether to clear state before turning on flags.

Member Gtk::Widget::set_support_multidevice (bool support_multidevice=true)
  Parameters

    support_multidevice | `true` to support input from multiple devices.

Member Gtk::Widget::shape_combine_region (const ::Cairo::RefPtr< const ::Cairo::Region >& region)
  Parameters

    region | Shape to be added, or `0` to remove an existing shape.

Member Gtk::Widget::should_draw_window (const ::Cairo::RefPtr< const ::Cairo::Context >& cr, const Glib::RefPtr< const Gdk::Window >& window)
  Parameters

    cr | A cairo context.
    window | The window to check. window may not be an input-only window.

  Returns
    `true` if window should be drawn.
Member Gtk::Widget::signal_draw ()
  Parameters

    cr | The cairo context to draw to.

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

    flags | The previous state flags.

Member Gtk::Widget::signal_style_updated ()
Member Gtk::Widget::transform_cairo_context_to_window (const ::Cairo::RefPtr< ::Cairo::Context >& cr, const Glib::RefPtr< const Gdk::Window >& window)
Member Gtk::Widget::unset_background_color (StateFlags state=STATE_FLAG_NORMAL)
  Parameters

    state | The state for which to use the background color of the user's theme.

Member Gtk::Widget::unset_color (StateFlags state=STATE_FLAG_NORMAL)
  Parameters

    state | The state for which to use the color of the user's theme.

Member Gtk::Widget::unset_cursor ()
Member Gtk::Widget::unset_font ()
Member Gtk::Widget::unset_state_flags (StateFlags flags)
  Parameters

    flags | State flags to turn off.

Member Gtk::Widget::unset_symbolic_color (const Glib::ustring& name)
  Parameters

    name | The name of the symbolic color to fetch from the user's theme.

Class Gtk::WidgetPath
Member Gtk::WidgetPath::get_object_type () const
  Returns
    The object type.
Member Gtk::WidgetPath::has_parent (GType type) const
  Parameters

    type | Widget type to check in parents.

  Returns
    `true` if any parent is of type type.
Member Gtk::WidgetPath::is_type (GType type) const
  Parameters

    type | Widget type to match.

  Returns
    `true` if the widget represented by path is of type type.
Member Gtk::WidgetPath::iter_add_class (int pos, const Glib::ustring& name)
  Parameters

    pos | Position to modify, -1 for the path head.
    name | A class name.

Member Gtk::WidgetPath::iter_add_region (int pos, const Glib::ustring& name, RegionFlags flags)
  Parameters

    pos | Position to modify, -1 for the path head.
    name | Region name.
    flags | Flags affecting the region.

Member Gtk::WidgetPath::iter_clear_classes (int pos=-1)
  Parameters

    pos | Position to modify, -1 for the path head.

Member Gtk::WidgetPath::iter_clear_regions (int pos=-1)
  Parameters

    pos | Position to modify, -1 for the path head.

Member Gtk::WidgetPath::iter_get_object_type (int pos) const
  Parameters

    pos | Position to get the object type for, -1 for the path head.

  Returns
    A widget type.
Member Gtk::WidgetPath::iter_has_class (int pos, const Glib::ustring& name) const
  Parameters

    pos | Position to query, -1 for the path head.
    name | Class name.

  Returns
    `true` if the class name is defined for the widget at pos.
Member Gtk::WidgetPath::iter_has_name (int pos, const Glib::ustring& name) const
  Parameters

    pos | Position to query, -1 for the path head.
    name | A widget name.

  Returns
    `true` if the widget at pos has this name.
Member Gtk::WidgetPath::iter_has_region (int pos, const Glib::ustring& name, RegionFlags& flags) const
  Parameters

    pos | Position to query, -1 for the path head.
    name | Region name.
    flags | Return location for the region flags.

  Returns
    `true` if the class name is defined for the widget at pos.
Member Gtk::WidgetPath::iter_list_classes (int pos=-1) const
  Parameters

    pos | Position to query, -1 for the path head.

  Returns
    The list of classes, This is a list of strings, the SList contents are owned by GTK+, but you should use Glib::slist_free() to free the list itself.
Member Gtk::WidgetPath::iter_list_regions (int pos=-1) const
  Parameters

    pos | Position to query, -1 for the path head.

  Returns
    The list of regions, This is a list of strings, the SList contents are owned by GTK+, but you should use Glib::slist_free() to free the list itself.
Member Gtk::WidgetPath::iter_remove_class (int pos, const Glib::ustring& name)
  Parameters

    pos | Position to modify, -1 for the path head.
    name | Class name.

Member Gtk::WidgetPath::iter_remove_region (int pos, const Glib::ustring& name)
  Parameters

    pos | Position to modify, -1 for the path head.
    name | Region name.

Member Gtk::WidgetPath::iter_set_name (int pos, const Glib::ustring& name)
  Parameters

    pos | Position to modify, -1 for the path head.
    name | Widget name.

Member Gtk::WidgetPath::iter_set_object_type (int pos, GType type)
  Parameters

    pos | Position to modify, -1 for the path head.
    type | Object type to set.

Member Gtk::WidgetPath::path_append_type (GType type)
  Parameters

    type | Widget type to append.

  Returns
    The position where the element was inserted.
Member Gtk::WidgetPath::path_length () const
  Returns
    The number of elements in the path.
Member Gtk::WidgetPath::prepend_type (GType type)
  Parameters

    type | Widget type to prepend.

Member Gtk::Window::get_application ()
  Returns
    A Gtk::Application, or `0`.
Member Gtk::Window::get_application () const
  Returns
    A Gtk::Application, or `0`.
Member Gtk::Window::get_has_resize_grip () const
  Returns
    `true` if the window has a resize grip.
Member Gtk::Window::get_resize_grip_area (Gdk::Rectangle& rect) const
  Parameters

    rect | A pointer to a Gdk::Rectangle which we should store the resize grip area.

  Returns
    `true` if the resize grip’s area was retrieved.
Member Gtk::Window::get_resize_grip_is_visible () const
  Returns
    `true` if a resize grip exists and is visible.
Member Gtk::Window::resize_to_geometry (int width, int height)
  Parameters

    width | Width in resize increments to resize the window to.
    height | Height in resize increments to resize the window to.

Member Gtk::Window::set_application (const Glib::RefPtr< Application >& application)
  Parameters

    application | A Gtk::Application, or `0`.

Member Gtk::Window::set_default_geometry (int width, int height)
  Parameters

    width | Width in resize increments, or -1 to unset the default width.
    height | Height in resize increments, or -1 to unset the default height.

Member Gtk::Window::set_has_resize_grip (bool value=true)
  Parameters

    value | `true` to allow a resize grip.

Member Gtk::WindowGroup::get_current_grab (const Glib::RefPtr< const Gdk::Device >& device) const
  Parameters

    device | A Gdk::Device.

  Returns
    The grab widget, or `0`.
Member Gtk::WindowGroup::get_current_grab (const Glib::RefPtr< const Gdk::Device >& device)
  Parameters

    device | A Gdk::Device.

  Returns
    The grab widget, or `0`.