Wt::Window::Frame Class Reference

#include <window.h>

Inherits Wt::VBox.

List of all members.

Public Member Functions

 Frame (Widget *parent=0, const std::string &name="WindowFrame::anon", int wflags=0)
virtual void setFont (const Font &font)
const Fontfont () const
void setText (const std::string &text)
std::string text () const
virtual void setForegroundColor (const Color &color)
const ColorforegroundColor () const
virtual void setBackgroundColor (const Color &color)
const ColorbackgroundColor () const

Protected Member Functions

virtual void childEvent (ChildEvent *)
 event handling specialization
virtual void mouseMoveEvent (MouseEvent *)
virtual void mousePressEvent (MouseEvent *)
 event handling specialization
virtual void mouseReleaseEvent (MouseEvent *)
virtual void enterEvent (Event *)
virtual void leaveEvent (Event *)


Constructor & Destructor Documentation

Wt::Window::Frame::Frame ( Widget parent = 0,
const std::string &  name = "WindowFrame::anon",
int  wflags = 0 
)

Todo:
window properties
  • border width
  • border color

Reimplemented from Wt::Frame.


Member Function Documentation

const Color & Wt::Window::Frame::backgroundColor (  )  const

Reimplemented from Wt::Widget.

void Wt::Window::Frame::childEvent ( ChildEvent e  )  [protected, virtual]

event handling specialization

Reimplemented from Wt::Object.

void Wt::Window::Frame::enterEvent ( Event  )  [protected, virtual]

Reimplemented from Wt::Widget.

const Font & Wt::Window::Frame::font (  )  const

Reimplemented from Wt::Widget.

const Color & Wt::Window::Frame::foregroundColor (  )  const

Reimplemented from Wt::Widget.

void Wt::Window::Frame::leaveEvent ( Event  )  [protected, virtual]

Reimplemented from Wt::Widget.

void Wt::Window::Frame::mouseMoveEvent ( MouseEvent  )  [protected, virtual]

Reimplemented from Wt::Widget.

void Wt::Window::Frame::mousePressEvent ( MouseEvent  )  [protected, virtual]

event handling specialization

Reimplemented from Wt::Widget.

void Wt::Window::Frame::mouseReleaseEvent ( MouseEvent  )  [protected, virtual]

Reimplemented from Wt::Widget.

void Wt::Window::Frame::setBackgroundColor ( const Color color  )  [virtual]

Reimplemented from Wt::Widget.

void Wt::Window::Frame::setFont ( const Font font  )  [virtual]

Reimplemented from Wt::Widget.

void Wt::Window::Frame::setForegroundColor ( const Color color  )  [virtual]

Reimplemented from Wt::Widget.

void Wt::Window::Frame::setText ( const std::string &  text  ) 

std::string Wt::Window::Frame::text (  )  const


The documentation for this class was generated from the following files:

Generated Fri Jul 28 19:22:39 2006.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.