gtkmm: Gtk::Requisition Class Reference

A Gtk::Requisition represents the desired size of a widget. More...

#include <gtkmm/requisition.h>

Public Member Functions

 Requisition (const Requisition& other) noexcept
 
Requisitionoperator= (const Requisition& other) noexcept
 
 Requisition (Requisition&& other) noexcept
 
Requisitionoperator= (Requisition&& other) noexcept
 
 Requisition ()
 
 Requisition (const GtkRequisition* gobject)
 
GtkRequisition* gobj ()
 Provides access to the underlying C instance. More...

 
const GtkRequisition* gobj () const
 Provides access to the underlying C instance. More...

 
 Requisition (int width, int height)
 Creates a new requisition instance with this size. More...

 
int get_width () const
 
void set_width (const int& value)
 
int get_height () const
 
void set_height (const int& value)
 

Static Public Member Functions

static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...

 

Protected Attributes

GtkRequisition gobject_
 

Related Functions

(Note that these are not member functions.)

Gtk::Requisitionwrap (GtkRequisition* object)
 
const Gtk::Requisitionwrap (const GtkRequisition* object)
 

Detailed Description

A Gtk::Requisition represents the desired size of a widget.

Constructor & Destructor Documentation

Gtk::Requisition::Requisition ( const Requisition other)
noexcept
Gtk::Requisition::Requisition ( Requisition&&  other)
noexcept
Gtk::Requisition::Requisition ( )
Gtk::Requisition::Requisition ( const GtkRequisition *  gobject)
explicit
Gtk::Requisition::Requisition ( int  width,
int  height 
)

Creates a new requisition instance with this size.

Member Function Documentation

int Gtk::Requisition::get_height ( ) const
static GType Gtk::Requisition::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

int Gtk::Requisition::get_width ( ) const
GtkRequisition* Gtk::Requisition::gobj ( )
inline

Provides access to the underlying C instance.

const GtkRequisition* Gtk::Requisition::gobj ( ) const
inline

Provides access to the underlying C instance.

Requisition& Gtk::Requisition::operator= ( const Requisition other)
noexcept
Requisition& Gtk::Requisition::operator= ( Requisition&&  other)
noexcept
void Gtk::Requisition::set_height ( const int &  value)
void Gtk::Requisition::set_width ( const int &  value)

Friends And Related Function Documentation

Gtk::Requisition& wrap ( GtkRequisition *  object)
related
Parameters
objectThe C instance
Returns
A C++ instance that wraps this C instance.
const Gtk::Requisition& wrap ( const GtkRequisition *  object)
related
Parameters
objectThe C instance
Returns
A C++ instance that wraps this C instance.

Member Data Documentation

GtkRequisition Gtk::Requisition::gobject_
protected