class Inti::Gtk::Window

Name

class Inti::Gtk::Window -- 

Synopsis

class Inti::Gtk::Window is declared in the header inti/gtk/window.h.

Superclasses. Bin

Subclasses. none

Class members

Public Typedefs.
typedef SetFocusProxyType

Public Enumerations.
enum Type
enum Position

Public Constructors.
Window ()
Window (Type type)

Public Methods.
GtkWindow * gtk_window () const
void set_title (const std::string& title)
void set_wmclass (const std::string& wmclass_name, const std::string& wmclass_class)
void set_position (Position pos)
bool activate_focus ()
bool activate_default ()
void set_transient_for (Window * parent)
void set_geometry_hints (Widget * geometry_widget, const Gdk::Geometry & geometry)
void set_default_size (int width, int height)
void set_default_width (int width)
void set_default_height (int height)
void set_modal (bool modal)
ustring title () const
string wmclass_name () const
string wmclass_class () const
Position position () const
Window * transient_for () const
Widget * focus_widget () const
Widget * default_widget () const
Type type () const
bool modal () const
const SetFocusProxyType sig_set_focus ()

Public Functions.
vector<Widget*> list_toplevels ()

Protected Typedefs.
typedef SetFocusSignalType

Protected Constructors.
Window (GtkWindow * src, GtkWindowClass * orig)

Protected Destructor.
virtual  ~Window ()

Protected Virtual Methods.
virtual void set_focus_impl (Widget * focus_widget)
virtual void on_set_focus (Widget * focus_widget)

Description

Public Typedefs

typedef Inti::Gtk::Window::SetFocusProxyType

typedef SignalProxy<Object,SetFocusSignalType> SetFocusProxyType

Public Enumerations

enum Inti::Gtk::Window::Type

WINDOW_TOPLEVEL 
WINDOW_DIALOG 
WINDOW_POPUP 

enum Inti::Gtk::Window::Position

WIN_POS_NONE 
WIN_POS_CENTER 
WIN_POS_MOUSE 
WIN_POS_CENTER_ALWAYS 

Public Constructors

method Inti::Gtk::Window::Window

Window ()

method Inti::Gtk::Window::Window

Window (Type type)

type 

Public Methods

method Inti::Gtk::Window::gtk_window

GtkWindow * gtk_window () const

method Inti::Gtk::Window::set_title

void set_title (const std::string& title)

title 

method Inti::Gtk::Window::set_wmclass

void set_wmclass (const std::string& wmclass_name, const std::string& wmclass_class)

wmclass_name 
wmclass_class 

method Inti::Gtk::Window::set_position

void set_position (Position pos)

pos 

method Inti::Gtk::Window::activate_focus

bool activate_focus ()

method Inti::Gtk::Window::activate_default

bool activate_default ()

method Inti::Gtk::Window::set_transient_for

void set_transient_for (Window * parent)

parent 

method Inti::Gtk::Window::set_geometry_hints

void set_geometry_hints (Widget * geometry_widget, const Gdk::Geometry & geometry)

geometry_widget 
geometry 

method Inti::Gtk::Window::set_default_size

void set_default_size (int width, int height)

width 
height 

method Inti::Gtk::Window::set_default_width

void set_default_width (int width)

width 

method Inti::Gtk::Window::set_default_height

void set_default_height (int height)

height 

method Inti::Gtk::Window::set_modal

void set_modal (bool modal)

modal 

method Inti::Gtk::Window::title

ustring title () const

method Inti::Gtk::Window::wmclass_name

string wmclass_name () const

method Inti::Gtk::Window::wmclass_class

string wmclass_class () const

method Inti::Gtk::Window::position

Position position () const

method Inti::Gtk::Window::transient_for

Window * transient_for () const

method Inti::Gtk::Window::focus_widget

Widget * focus_widget () const

method Inti::Gtk::Window::default_widget

Widget * default_widget () const

method Inti::Gtk::Window::type

Type type () const

method Inti::Gtk::Window::modal

bool modal () const

method Inti::Gtk::Window::sig_set_focus

const SetFocusProxyType sig_set_focus ()

Public Functions

function Inti::Gtk::Window::list_toplevels

vector<Widget*> list_toplevels ()

Protected Typedefs

typedef Inti::Gtk::Window::SetFocusSignalType

typedef WrapSignal1<void,Widget * > SetFocusSignalType

Protected Constructors

method Inti::Gtk::Window::Window

Window (GtkWindow * src, GtkWindowClass * orig)

src 
orig 

Protected Destructor

method Inti::Gtk::Window::~Window

virtual  ~Window ()

Protected Virtual Methods

method Inti::Gtk::Window::set_focus_impl

virtual void set_focus_impl (Widget * focus_widget)

focus_widget 

method Inti::Gtk::Window::on_set_focus

virtual void on_set_focus (Widget * focus_widget)

focus_widget 

Protected Variables

variable Inti::Gtk::Window::set_focus_signal

static const SetFocusSignalType set_focus_signal