vdk 2.4.0
Public Member Functions | List of all members
VDKFileSel Class Reference

Wraps GtkFileSelection. More...

#include <filedlg.h>

Inheritance diagram for VDKFileSel:
VDKForm VDKObject VDKNotCopyAble

Public Member Functions

virtual void OnExpose (VDKForm *, GdkRectangle)
 
virtual void OnRealize (VDKForm *)
 
virtual void Setup ()
 
- Public Member Functions inherited from VDKForm
 VDKForm (VDKApplication *app, char *title=(char *) NULL, int mode=v_box, GtkWindowType display=GTK_WINDOW_TOPLEVEL)
 
 VDKForm (VDKForm *owner, char *title=(char *) NULL, int mode=v_box, GtkWindowType display=GTK_WINDOW_TOPLEVEL)
 
virtual ~VDKForm ()
 
bool Destroy ()
 
virtual int isA ()
 
VDKBoxBox ()
 
virtual void Show (GtkWindowPosition pos=GTK_WIN_POS_NONE)
 
virtual void Hide ()
 
virtual void ShowModal (GtkWindowPosition pos=GTK_WIN_POS_NONE)
 
bool IsModal ()
 
virtual void Add (VDKObject *obj, int justify=l_justify, int expand=TRUE, int fill=TRUE, int padding=1)
 
VDKFormOwner ()
 
virtual bool CanClose (void)
 
virtual void Close (void)
 
void Raise ()
 
void Lower ()
 
- Public Member Functions inherited from VDKObject
VDKRgb GetBackground (GtkStateType state=GTK_STATE_NORMAL)
 
VDKRgb GetForeground (GtkStateType state=GTK_STATE_NORMAL)
 
 VDKObject (VDKForm *owner=NULL)
 
 VDKObject (VDKForm *owner, GtkWidget *widget)
 
virtual ~VDKObject ()
 
bool Destroy ()
 
VDKFormOwner ()
 
virtual GtkWidget * Widget ()
 
GtkWidget * ConnectingWidget ()
 
GtkWidget * WrappedWidget ()
 
virtual void SetFont (VDKFont *f)
 
VDKFontGetFont ()
 
void SetVisible (bool visible)
 
bool GetVisible ()
 
void SetCursor (VDKCursorType)
 
VDKCursorType GetCursor ()
 
virtual void SetForeground (VDKRgb color, GtkStateType state=GTK_STATE_NORMAL)
 
virtual void SetBackground (VDKRgb color, GtkStateType state=GTK_STATE_NORMAL)
 
void SetSize (int w, int h)
 
void SetUsize (VDKPoint s)
 
virtual void SetTip (char *)
 
ItemListItems ()
 
void Draw (GdkRectangle *area=NULL)
 
void SignalEmit (int signal)
 
void SignalEmit (char *sig)
 
void SignalEmitParent (int signal)
 
void SignalEmitParent (char *sig)
 
void GrabFocus ()
 
VDKObjectParent (VDKObject *p=NULL)
 
int SignalConnect (VDKObject *obj, char *signal, bool(VDKObject::*method)(VDKObject *), bool gtk=true, bool after=false)
 
int SignalConnect (char *signal, bool(VDKObject::*method)(VDKObject *), bool gtk=true, bool after=false)
 
bool SignalDisconnect (int connection)
 
int EventConnect (VDKObject *obj, char *event, bool(VDKObject::*method)(VDKObject *, GdkEvent *), bool after=false)
 
int EventConnect (char *, bool(VDKObject::*)(VDKObject *, GdkEvent *), bool after=false)
 
bool EventDisconnect (int connection)
 

Additional Inherited Members

- Public Attributes inherited from VDKObject
VDKReadWriteValueProp
< VDKObject, VDKRgb
NormalBackground
 
VDKReadWriteValueProp
< VDKObject, VDKFont * > 
Font
 
SizeObjectProp Usize
 
VDKReadWriteValueProp
< VDKObject, bool > 
Enabled
 
VDKReadWriteValueProp
< VDKObject, VDKCursorType > 
Cursor
 
VDKReadWriteValueProp
< VDKObject, bool > 
Visible
 
- Protected Attributes inherited from VDKForm
VDKApplicationapp
 
ChildList childs
 
GtkWidget * window
 
VDKBoxbox
 
bool isModal
 
bool never_showed
 
VDKPoint _oldSize
 
int modalCount
 
- Protected Attributes inherited from VDKObject
VDKObjectSignal s_clicked
 
GtkWidget * widget
 
GtkWidget * sigwid
 
VDKObjectparent
 

Detailed Description

Wraps GtkFileSelection.

This class is a file selection modal form ala Gtk+

Usage
char selection[256];
strcpy(selection,"*.h"); // sets default file mask
// <this> is the owner form
VDKFileSel *dlg = new VDKFileSel(this,selection,"Open header");
dlg->ShowModal();
if(*selection)
cout << selection << '\n';

Member Function Documentation

virtual void VDKFileSel::OnExpose ( VDKForm ,
GdkRectangle   
)
inlinevirtual

placeholder

Reimplemented from VDKForm.

virtual void VDKFileSel::OnRealize ( VDKForm )
inlinevirtual

placeholder

Reimplemented from VDKForm.

virtual void VDKFileSel::Setup ( void  )
inlinevirtual

placeholder

Implements VDKForm.


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