kostaz8 Δημοσ. 20 Δεκεμβρίου 2008 Δημοσ. 20 Δεκεμβρίου 2008 Έχω ένα πρόβλημα με το πρόγραμμα Gamabas2 για τα linux που είναι σχεδόν ίδιο με την VB τον windows όταν τρέχω την δημιουργία μου μου εμφανίζει αυτό το σφάλμα "Cannot load class 'color button':Cannot load parent class user monitor" και κάτω στο console αυτό "gb.gui: unable to load 'gb.gtk' component" χρησιμοποιό ubuntu 8.04 gnome.
gtroza Δημοσ. 20 Δεκεμβρίου 2008 Δημοσ. 20 Δεκεμβρίου 2008 http://gambas.sourceforge.net/ componentGambas components are external shared libraries written in C, C++ or in Gambas that add new functions to the Gambas interpreter. They are stored in $PREFIX/lib/gambas2, the value of $PREFIX depending on where Gambas is installed on your system. By default, $PREFIX is /usr/local. Information regarding components are stored in $PREFIX/share/gambas2/info. To use a component in a project, the component must be chosen from the Project → Properties menu, otherwise you will get the following error message: Cannot load name class. Unable to load class file See also Components Gambas Object Model gb.gtkThis component implements the Graphical User Interface classes. It is based on the GTK+ library. This component will have the same features and behaviour as the gb.qt component. So please refer to it for any documentation. gb.gtk and gb.gtk.ext are not yet fully compatible with their QT counterpart. * The Control.Design property has not been implemented. * Font.Underline and Font.StrikeOut have no effect. * TextArea and TextBox have no undo support. * There is no printing support. Read the TODO file in the gb.gtk source code for more details. What are the features that set Gambas from the other languages? 1. A Gambas project is stored under one directory. The archiver transforms the project directory structure in one sole executable file. 2. Compiling a project only requires the compilation of the modified classes. Every external reference of a class is solved dynamically at the execution time. 3. Gambas has a component architecture that allows to extend the language. Anyone can write components as shared libraries that dynamically add new native classes to the interpreter. Component can be written in Gambas too. The component architecture is documented in the Wiki encyclopaedia. 4. By default, the Gambas interpreter is a text-only program. The component architecture is used for writing the graphical user interface part of the language. 5. As the graphical user interface is implemented as a component, Gambas will be able to be independent of any toolkit! You will be able to write a program, and choose the toolkit later : GTK+, Qt, etc. 6. I have decided to start implementing the graphical user interface with the Qt toolkit, as it is easier for me. The GTK+ component is not finished yet, but it will have almost the same interface as the Qt component. 7. Any window or dialog box can be used like a control. You cannot do such a thing with Visual Basic without using ActiveX (bless you! I know, I'm a bit allergic too ;-) ). 8. Gambas projects are easily translatable, in any language. For more details, see What Is Gambas?. μικρή βοήθεια από άσχετο καλές γιορτές .
Αδμιν Δημοσ. 20 Δεκεμβρίου 2008 Δημοσ. 20 Δεκεμβρίου 2008 Μιας και μιλαμε για Gambas, γιατι το UI Toolkit στη 2,9 ειναι GTK1? Πριν ηταν Qt.
Προτεινόμενες αναρτήσεις
Αρχειοθετημένο
Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.