Status: New
Owner:
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 13 by zachsmit...@gmail.com: GTK+ buttons inherit a form's
background color
http://code.google.com/p/gambas/issues/detail?id=13
1) GTK+ buttons inherit a forms background
On Mon, 2011-01-17 at 21:36 +0200, Demosthenes Koptsis wrote:
> On Mon, 2011-01-17 at 13:33 +0100, Benoît Minisini wrote:
> Public Sub Main()
>
> Dim pFunc As Pointer
> Dim sWorkingDirectory As String
>
> 'get_current_dir_name
> pFunc = get_current_dir_name()
> Print pFunc
>
> sWork
On Mon, 2011-01-17 at 13:33 +0100, Benoît Minisini wrote:
> > sorry my wrong expression.
> >
>
> No problem.
>
> Another point: at the moment, Alloc() and Free() are not the equivalent of
> malloc() and free() in C. So you cannot use Free() to free a memory
> allocation
> returned as a pointe
Try to add component gd.desktop:
Project - Properties - Components
mark gb.desktop and OK
2011/1/17 Christian DaGeek247 Stephens
> *Im new to gambas (but not really BASIC in general) and i am wondering, how
> do i get desktop.sendkeys to work? the wiki failed to mention where to put
> the *STAT
*Im new to gambas (but not really BASIC in general) and i am wondering, how
do i get desktop.sendkeys to work? the wiki failed to mention where to put
the *STATIC SUB SendKeys(Keys AS String) *text. do i need to install
gb.desktop to get it to work? I searched the mailing list, and nothing
helpful
*Im new to gambas (but not really BASIC in general) and i am wondering, how
do i get desktop.sendkeys to work? the wiki failed to mention where to put
the *STATIC SUB SendKeys(Keys AS String) *text. do i need to install
gb.desktop to get it to work? I searched the mailing list, and nothing
helpful
Status: New
Owner:
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 12 by hyeti...@gmail.com: Disabled timer keep running
http://code.google.com/p/gambas/issues/detail?id=12
1)
I have 5 forms that have their timers. All timers have 500ms d
On 1/16/11, nando wrote:
>
> 4) This is similar to RECORD in VB.
>
It is like "Type" in VB6. For example:
Private Type MYSTRUCT
ID As String
Name As String
End Type
Then later you would do:
Dim MyPerson As MYSTRUCT
MyPerson.ID = "012"
MyPerson.Name = "Joe1962"
Regards,
Joe1962
> sorry my wrong expression.
>
No problem.
Another point: at the moment, Alloc() and Free() are not the equivalent of
malloc() and free() in C. So you cannot use Free() to free a memory allocation
returned as a pointer by a C function. You must use the free() function
located in the C library
The page
http://gambasdoc.org/help/comp/gb.qt4/window/arrangement?v3
has a wrong link about Arrange
http://gambasdoc.org/help/comp/gb.qt/arrange?v3
i think it should be
http://gambasdoc.org/help/comp/gb.qt4/arrange?v3
--
Regards,
Demosthenes Koptsis.
---
sorry my wrong expression.
On Mon, 2011-01-17 at 12:27 +0100, Benoît Minisini wrote:
> >
> > i dont think that C++ programmers will come to Gambas to use external
> > functions, the opposite i think will be.
> >
>
> We are talking about C. Calling C++ functions from Gambas is almost
> impossib
>
> i dont think that C++ programmers will come to Gambas to use external
> functions, the opposite i think will be.
>
We are talking about C. Calling C++ functions from Gambas is almost
impossible.
--
Benoît Minisini
--
On Mon, 2011-01-17 at 22:00 +1100, Ian Haywood wrote:
> On Mon, Jan 17, 2011 at 9:50 PM, Demosthenes Koptsis
> wrote:
> >
> > Benoit sorry if you feel that i discuss C++ cases in a Gambas list but i
> > try to describe some cases of pointers and the usage of them in Gambas.
> IMHO the issue is C p
On Mon, Jan 17, 2011 at 9:50 PM, Demosthenes Koptsis
wrote:
>
> Benoit sorry if you feel that i discuss C++ cases in a Gambas list but i
> try to describe some cases of pointers and the usage of them in Gambas.
IMHO the issue is C pointers aren't an easy topic and good conceptual
understanding
is
Benoit sorry if you feel that i discuss C++ cases in a Gambas list but i
try to describe some cases of pointers and the usage of them in Gambas.
For me and as i think for any Gambas developer the subject of pointers
and reading man 3 is a new thing.
Same questions may be come also in the future
On Mon, 2011-01-17 at 11:08 +0100, Benoît Minisini wrote:
> > Here is a last case about pointers i found.
> >
> > CASE 1
> > ---
> > When a C++ function does not malloc any memory it may return a pointer.
> > In this case we can do
> >
> > DIM pPointer as Pointer
> > pPointer = Alloc(4096)' a
> Here is a last case about pointers i found.
>
> CASE 1
> ---
> When a C++ function does not malloc any memory it may return a pointer.
> In this case we can do
>
> DIM pPointer as Pointer
> pPointer = Alloc(4096)' alloc 4096 bytes
>
> pPointer = getwd(pBuf)
>
> 'use pPointer with Str@() o
Here is a last case about pointers i found.
CASE 1
---
When a C++ function does not malloc any memory it may return a pointer.
In this case we can do
DIM pPointer as Pointer
pPointer = Alloc(4096)' alloc 4096 bytes
pPointer = getwd(pBuf)
'use pPointer with Str@() or other xxx@()
Free(pPoin
18 matches
Mail list logo