VDKEntry Class Reference

This class provides a gtkentry wrapper. More...

#include <entry.h>

Inheritance diagram for VDKEntry:

VDKObject VDKNotCopyAble

List of all members.

Public Member Functions

Public Attributes


Detailed Description

This class provides a gtkentry wrapper.

SIGNALS
  • activate_signal received when the user presses Enter key
  • changed_signal received when user presses other than an editing key
  • focus_in_signal received when widget gains focus
  • focus_out_signal received when widget looses focus
EXAMPLES
In ./testvdk/entrieswin.cc

Member Function Documentation

void VDKEntry::SetCompletion ( char **  completion_list  ) 

Enables word completion

Parameters:
completion_list a NULL terminating string array

void VDKEntry::AddCompletionItem ( char *  completion_item  ) 

Add a completion word to completion list

Parameters:
completion_item 

void VDKEntry::RemoveCompletionItem ( char *  completion_item  ) 

Remove a completion word from completion list

Parameters:
completion_item 

void VDKEntry::SetBackground ( VDKRgb  color,
GtkStateType  state 
) [virtual]

Sets object background

Parameters:
color a VDKRgb object
state can be one of the gtk+ widget states

Reimplemented from VDKObject.

void VDKEntry::SetForeground ( VDKRgb  color,
GtkStateType  state 
) [virtual]

Sets object foreground

Parameters:
color a VDKRgb object
state can be one of the gtk+ widget states

Reimplemented from VDKObject.

void VDKEntry::SetFont ( VDKFont f  )  [virtual]

Sets object font

Reimplemented from VDKObject.


Member Data Documentation

VDKReadWriteValueProp<VDKEntry,char*> VDKEntry::Text

Read/write entry text.

    char* p = "a text";
    entry->Text = p;
    printf("\ntext:%s",(char*) entry->Text);
    fflush(stdout);

VDKReadWriteValueProp<VDKEntry,bool> VDKEntry::Editable

Enable/disable editing

VDKReadWriteValueProp<VDKEntry,bool> VDKEntry::Hidden

Enable/disable text visibility

Tip
Use this property set to true to make a "secret" entry field


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

Generated on Tue May 6 03:40:10 2008 for vdk 2.4.0 by  doxygen 1.5.5