36 lines
647 B
C
Raw Normal View History

#ifndef __GSPLITTER_H
#define __GSPLITTER_H
class gSplitter : public gContainer
{
public:
gSplitter(gContainer *parent, bool vert);
//"Properties"
char* layout();
void setLayout(char *vl);
//int childCount();
//gControl* child(int index);
//"Methods"
virtual void performArrange();
virtual void resize(int w, int h);
//"Signals"
void (*onResize)(gControl *sender);
//"Private"
virtual void insert(gControl *child);
virtual void remove(gControl *child);
void updateChild(GtkWidget *wid = 0);
void updateVisibility();
GtkPaned *curr;
bool vertical;
GtkPaned *next(GtkPaned *iter);
[DEVELOPMENT ENVIRONMENT] * BUG: Use TextEdit.RichText insted of TextEdit.Text. * BUG: END SUB can be the end of a method. The class analyze now takes   that into account. [HELP] * BUG: Fixed the generated treeview. [COMPILER] * OPT: The NOT operator used just at the beginning of a conditional expression is optimized. Consequently, an expression like 'IF NOT 2' is now equivalent to 'IF 2 = 0' and not to 'IF (NOT 2) <> 0' as before. In other words, the boolean conversion is now done before the NOT, and not after. The following instructions are concerned: IF, WHILE, UNTIL. * NEW: BYREF is new keyword that is a more readable synonymous of '@'. [GB.DB.FORM] * BUG: Correctly manage data controls inside TabStrip-like containers. * BUG: Setting the focus on a non-initialized DataControl does not raise an error anymore. [GB.GTK] * BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a list of children widths, hidden children having a zero width. * BUG: Window arrangement is done before the Open event is raised, as in gb.qt. * BUG: Keyboard, focus and mouse events now work correctly on Window and DrawingArea controls. [GB.QT] * BUG: HSplitter.Layout and VSplitter.Layout now work correctly. It is a list of children widths, hidden children having a zero width. * BUG: Many warning fixes. * BUG: Now the Control.Visible property works like in gb.gtk, i.e. it returns if the control was not explicitely hidden. git-svn-id: svn://localhost/gambas/trunk@1060 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-02-06 00:25:48 +00:00
int handleCount();
bool _notify;
};
#endif