logo top
Main Page   Widgets   Namespaces   Book  

Gtk::Entry Class Reference
[Widgets]

A single line text entry field. More...

Inheritance diagram for Gtk::Entry:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Entry ()
GtkEntry* gobj ()
 Provides access to the underlying C GtkObject.

const GtkEntry* gobj () const
 Provides access to the underlying C GtkObject.

 Entry ()
void set_visibility (bool visible=true)
bool get_visibility () const
void set_invisible_char (gunichar ch)
gunichar get_invisible_char () const
void set_has_frame (bool setting=true)
bool get_has_frame () const
void set_max_length (int max)
int get_max_length () const
void set_activates_default (bool setting=true)
gboolean get_activates_default () const
void set_width_chars (int n_chars)
int get_width_chars () const
void set_text (const Glib::ustring& text)
Glib::ustring get_text () const
Glib::RefPtr<Pango::Layoutget_layout ()
void get_layout_offsets (int& x, int& y)
void set_completion (const Glib::RefPtr<EntryCompletion>& completion)
Glib::RefPtr<EntryCompletionget_completion ()
Glib::RefPtr<const EntryCompletionget_completion () const
guint16 get_text_length () const
Glib::SignalProxy1< void,
Menu* > 
signal_populate_popup ()
Glib::SignalProxy1< void,
const Glib::ustring& > 
signal_insert_at_cursor ()
Glib::SignalProxy0<void> signal_activate ()
Glib::PropertyProxy_ReadOnly<
int > 
property_cursor_position ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy_ReadOnly<
int > 
property_selection_bound ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<bool> property_editable ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<int> property_max_length ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<bool> property_visibility ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<bool> property_has_frame ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<gunichar> property_invisible_char ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<bool> property_activates_default ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<int> property_width_chars ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy_ReadOnly<
int > 
property_scroll_offset ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<Glib::ustringproperty_text ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.


Protected Member Functions

virtual void on_populate_popup (Menu* menu)
virtual void on_insert_at_cursor (const Glib::ustring& str)
virtual void on_activate ()

Related Functions

(Note that these are not member functions.)

Gtk::Entrywrap (GtkEntry* object, bool take_copy=false)

Detailed Description

A single line text entry field.

The Gtk::Entry widget is a single line text entry widget. A fairly large set of key bindings are supported by default. If the entered text is longer than the allocation of the widget, the widget will scroll so that the cursor position is visible.


Constructor & Destructor Documentation

virtual Gtk::Entry::~Entry (  )  [virtual]
 

Gtk::Entry::Entry (  ) 
 


Member Function Documentation

gboolean Gtk::Entry::get_activates_default (  )  const
 

Glib::RefPtr<const EntryCompletion> Gtk::Entry::get_completion (  )  const
 

Glib::RefPtr<EntryCompletion> Gtk::Entry::get_completion (  ) 
 

bool Gtk::Entry::get_has_frame (  )  const
 

gunichar Gtk::Entry::get_invisible_char (  )  const
 

Glib::RefPtr<Pango::Layout> Gtk::Entry::get_layout (  ) 
 

void Gtk::Entry::get_layout_offsets ( int&  x,
int&  y
 

int Gtk::Entry::get_max_length (  )  const
 

Glib::ustring Gtk::Entry::get_text (  )  const
 

guint16 Gtk::Entry::get_text_length (  )  const
 

bool Gtk::Entry::get_visibility (  )  const
 

int Gtk::Entry::get_width_chars (  )  const
 

const GtkEntry* Gtk::Entry::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::CellEditable.

Reimplemented in Gtk::SpinButton.

GtkEntry* Gtk::Entry::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::CellEditable.

Reimplemented in Gtk::SpinButton.

virtual void Gtk::Entry::on_activate (  )  [protected, virtual]
 

virtual void Gtk::Entry::on_insert_at_cursor ( const Glib::ustring str  )  [protected, virtual]
 

virtual void Gtk::Entry::on_populate_popup ( Menu menu  )  [protected, virtual]
 

Glib::PropertyProxy<bool> Gtk::Entry::property_activates_default (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> Gtk::Entry::property_cursor_position (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> Gtk::Entry::property_editable (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> Gtk::Entry::property_has_frame (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gunichar> Gtk::Entry::property_invisible_char (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> Gtk::Entry::property_max_length (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> Gtk::Entry::property_scroll_offset (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> Gtk::Entry::property_selection_bound (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<Glib::ustring> Gtk::Entry::property_text (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> Gtk::Entry::property_visibility (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> Gtk::Entry::property_width_chars (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

void Gtk::Entry::set_activates_default ( bool  setting = true  ) 
 

void Gtk::Entry::set_completion ( const Glib::RefPtr<EntryCompletion>&  completion  ) 
 

void Gtk::Entry::set_has_frame ( bool  setting = true  ) 
 

void Gtk::Entry::set_invisible_char ( gunichar  ch  ) 
 

void Gtk::Entry::set_max_length ( int  max  ) 
 

void Gtk::Entry::set_text ( const Glib::ustring text  ) 
 

void Gtk::Entry::set_visibility ( bool  visible = true  ) 
 

void Gtk::Entry::set_width_chars ( int  n_chars  ) 
 

Glib::SignalProxy0<void> Gtk::Entry::signal_activate (  ) 
 

Prototype:
void activate()

Glib::SignalProxy1<void,const Glib::ustring&> Gtk::Entry::signal_insert_at_cursor (  ) 
 

Prototype:
void insert_at_cursor(const Glib::ustring& str)

Glib::SignalProxy1<void,Menu*> Gtk::Entry::signal_populate_popup (  ) 
 

Prototype:
void populate_popup(Menu* menu)


Friends And Related Function Documentation

Gtk::Entry* wrap ( GtkEntry*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm 2.2 by Doxygen 1.3.4 © 1997-2001