GtkSourceStyleSchemeChooser is an interface that is implemented by widgets for choosing style schemes.
More...
#include <gtksourceviewmm/styleschemechooser.h>
Inherits Glib::Object.
|
static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system.
|
|
|
(Note that these are not member symbols.)
|
Glib::RefPtr< Gsv::StyleSchemeChooser > | wrap (GtkSourceStyleSchemeChooser* object, bool take_copy=false) |
| A Glib::wrap() method for this object.
|
|
GtkSourceStyleSchemeChooser is an interface that is implemented by widgets for choosing style schemes.
In GtkSourceView, the main widgets that implement this interface are GtkSourceStyleSchemeChooserWidget and GtkSourceStyleSchemeChooserButton.
- Since gtksourceviewmm 3.16
◆ StyleSchemeChooser()
◆ ~StyleSchemeChooser()
Gsv::StyleSchemeChooser::~StyleSchemeChooser |
( |
| ) |
|
|
overridenoexcept |
◆ get_style_scheme() [1/2]
Glib::RefPtr< StyleScheme > Gsv::StyleSchemeChooser::get_style_scheme |
( |
| ) |
|
◆ get_style_scheme() [2/2]
Glib::RefPtr< const StyleScheme > Gsv::StyleSchemeChooser::get_style_scheme |
( |
| ) |
const |
◆ get_type()
static GType Gsv::StyleSchemeChooser::get_type |
( |
| ) |
|
|
static |
Get the GType for this class, for use with the underlying GObject type system.
◆ gobj() [1/2]
GtkSourceStyleSchemeChooser * Gsv::StyleSchemeChooser::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
◆ gobj() [2/2]
const GtkSourceStyleSchemeChooser * Gsv::StyleSchemeChooser::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
◆ gobj_copy()
GtkSourceStyleSchemeChooser * Gsv::StyleSchemeChooser::gobj_copy |
( |
| ) |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
◆ operator=()
◆ property_style_scheme() [1/2]
Glib::PropertyProxy< Glib::RefPtr< StyleScheme > > Gsv::StyleSchemeChooser::property_style_scheme |
( |
| ) |
|
Current style scheme.
- Returns
- A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.
◆ property_style_scheme() [2/2]
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< StyleScheme > > Gsv::StyleSchemeChooser::property_style_scheme |
( |
| ) |
const |
Current style scheme.
- Returns
- A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.
◆ set_style_scheme()
void Gsv::StyleSchemeChooser::set_style_scheme |
( |
const Glib::RefPtr< StyleScheme >& | scheme | ) |
|
◆ wrap()
A Glib::wrap() method for this object.
- Parameters
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.