Base class for Gtk::Expression.
More...
#include <gtkmm/expression.h>
◆ SlotNotify
◆ ExpressionBase() [1/2]
Gtk::ExpressionBase::ExpressionBase |
( |
| ) |
|
|
delete |
◆ ExpressionBase() [2/2]
◆ get_value_type()
GType Gtk::ExpressionBase::get_value_type |
( |
| ) |
const |
Gets the GType
that this expression evaluates to.
This type is constant and will not change over the lifetime of this expression.
- Returns
- The type returned from Gtk::Expression::evaluate().
◆ gobj() [1/2]
Provides access to the underlying C instance.
◆ gobj() [2/2]
Provides access to the underlying C instance.
◆ gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
◆ is_static()
bool Gtk::ExpressionBase::is_static |
( |
| ) |
const |
Checks if the expression is static.
A static expression will never change its result when Gtk::Expression::evaluate() is called on it with the same arguments.
That means a call to Gtk::Expression::watch() is not necessary because it will never trigger a notify.
- Returns
true
if the expression is static.
◆ operator delete()
◆ operator=()
◆ reference()
void Gtk::ExpressionBase::reference |
( |
| ) |
const |
Increment the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
◆ unreference()
void Gtk::ExpressionBase::unreference |
( |
| ) |
const |
Decrement the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
◆ 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.