gambas-source-code/gb.gtk/src/main.h
Benoît Minisini 40bc4ec9ec [GB.QT4]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.QT5]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.GTK]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.

[GB.GTK3]
* NEW: TextBox, ComboBox and TextArea have a new CursorPos property that returns the screen position of the cursor relative to the control frame.


git-svn-id: svn://localhost/gambas/trunk@7824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-07-17 16:15:07 +00:00

59 lines
1.6 KiB
C

/***************************************************************************
main.h
(c) 2004-2006 - Daniel Campos Fernández <dcamposf@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
***************************************************************************/
#ifndef __MAIN_H
#define __MAIN_H
#include "gambas.h"
#include "gb.image.h"
#include "gb.geom.h"
#include "gb.gtk.h"
#include "widgets.h"
#include "CWidget.h"
#ifndef __MAIN_C
extern const GB_INTERFACE *GB_PTR;
extern IMAGE_INTERFACE IMAGE;
extern GEOM_INTERFACE GEOM;
extern GB_CLASS CLASS_Control;
extern GB_CLASS CLASS_Picture;
extern GB_CLASS CLASS_Image;
extern GB_CLASS CLASS_DrawingArea;
extern GB_CLASS CLASS_Menu;
extern GB_CLASS CLASS_Window;
extern GB_CLASS CLASS_Printer;
extern GB_CLASS CLASS_SvgImage;
extern bool MAIN_debug_busy;
extern bool MAIN_rtl;
#endif
#define GB (*GB_PTR)
void MAIN_do_iteration(bool do_not_block, bool do_not_sleep = false);
void MAIN_do_iteration_just_events();
void MAIN_check_quit();
#endif