gtkmm 4.16.0
|
This specifies a border around a rectangular area that can be of a different width on each side. More...
#include <gtkmm/border.h>
Public Member Functions | |
Border () | |
Border (GtkBorder *gobject, bool make_a_copy=true) | |
Border (const Border &other) | |
Border & | operator= (const Border &other) |
Border (Border &&other) noexcept | |
Border & | operator= (Border &&other) noexcept |
~Border () noexcept | |
void | swap (Border &other) noexcept |
GtkBorder * | gobj () |
Provides access to the underlying C instance. | |
const GtkBorder * | gobj () const |
Provides access to the underlying C instance. | |
GtkBorder * | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
int | get_left () const |
Get the width of the left border. | |
void | set_left (const int & value) |
Set the width of the left border. | |
int | get_right () const |
Get the width of the right border. | |
void | set_right (const int & value) |
Set the width of the right border. | |
int | get_top () const |
Get the width of the top border. | |
void | set_top (const int & value) |
Set the width of the top border. | |
int | get_bottom () const |
Get the width of the bottom border. | |
void | set_bottom (const int & value) |
Set the width of the bottom border. | |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. | |
Protected Attributes | |
GtkBorder * | gobject_ |
Related Symbols | |
(Note that these are not member symbols.) | |
void | swap (Border &lhs, Border &rhs) noexcept |
Gtk::Border | wrap (GtkBorder *object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
This specifies a border around a rectangular area that can be of a different width on each side.
Gtk::Border::Border | ( | ) |
|
noexcept |
|
noexcept |
int Gtk::Border::get_bottom | ( | ) | const |
Get the width of the bottom border.
int Gtk::Border::get_left | ( | ) | const |
Get the width of the left border.
int Gtk::Border::get_right | ( | ) | const |
Get the width of the right border.
int Gtk::Border::get_top | ( | ) | const |
Get the width of the top border.
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C instance.
GtkBorder * Gtk::Border::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
lhs | The left-hand side |
rhs | The right-hand side |
|
related |
A Glib::wrap() method for this object.
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. |
|
protected |