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


Xfc::Gtk::Requisition Class Reference

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

#include <xfc/gtk/widget.hh>

List of all members.

Public Member Functions

Accessors
Methods

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:
width The width of the requisition.
height The height of the requisition.

Xfc::Gtk::Requisition::Requisition ( const GtkRequisition &  requisition  ) 

Construct a requisition from an exisiting GtkRequisition.

Parameters:
requisition A GtkRequisition.

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

Construct a requisition with the specified width and height.

Parameters:
width The width of the requisition.
height The height of the requisition.

Xfc::Gtk::Requisition::Requisition ( const GtkRequisition &  requisition  ) 

Construct a requisition from an exisiting GtkRequisition.

Parameters:
requisition A GtkRequisition.


Member Function Documentation

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

Returns true if this requisition is equal to other.

Parameters:
other Another Requisition.

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

Returns true if this requisition is not equal to other.

Parameters:
other Another Requisition.

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

Set the width and height for the requisition.

Parameters:
width The new width of the requisition.
height The 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 4.3