Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Public Member Functions
Xfc::Gtk::Requisition Class Reference

A GtkRequisition C++ wrapper class. More...

#include <xfc/gtk/widget.hh>

List of all members.

Public Member Functions

Constructors

Detailed Description

A GtkRequisition C++ wrapper class.

Requisition holds the preferred size for a widget. It derives publicly from GtkRequisition. Requisition uses default copy, assignment and destruction and allows public access to GtkRequisition's width and height fields.


Constructor & Destructor Documentation

Xfc::Gtk::Requisition::Requisition ( int  width,
int  height 
)

Construct a requisition with the specified width and height.

Parameters:
widthThe width of the requisition.
heightThe height of the requisition.
Xfc::Gtk::Requisition::Requisition ( const GtkRequisition &  requisition)

Construct a requisition from an exisiting GtkRequisition.

Parameters:
requisitionA GtkRequisition.

Member Function Documentation

bool Xfc::Gtk::Requisition::operator!= ( const Requisition other) const

Returns true if this requisition is not equal to other.

Parameters:
otherAnother Requisition.
bool Xfc::Gtk::Requisition::operator== ( const Requisition other) const

Returns true if this requisition is equal to other.

Parameters:
otherAnother Requisition.
void Xfc::Gtk::Requisition::set ( int  width,
int  height 
)

Set the width and height for the requisition.

Parameters:
widthThe new width of the requisition.
heightThe new height of the requisition.

The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC