[gtkada] some questions...

Pedro Díaz Jiménez pdiaz88 at terra.es
Wed Aug 1 16:07:37 CEST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 01 August 2001 11:11, manuel.op.de.coul at eon-benelux.com wrote:
> >1.-What kind of data is enums.gtk_justification ?? i'm trying to use the
> >gtk.label.set_justify function, and don't know how
>
> It doesn't work. It's a bug that I've reported and hope gets
> fixed some time.
>
> >2.-Trying to do a program that gets the text from a box (the text is
> >gtk.text.gtl_text type) and puts it in a binary file.I've defined the file
>
> It's probably wise to instantiate Sequential_Io with a constrained
> instead of an unconstrained string type.
>
> >3.-My last question (trying not to bore ;)) how can I call a procedure
>
> with
>
> >more elements, ie:
>
> I wouldn't do that, you can just as well read other parameters
> inside your procedure from outside variables.
> It's also possible to extend widgets with user data. Then you
> could access your data with the Object parameter.
>
Thats pretty dirty and unelegant _in my opinion_. What I do is create a 
record with it, or pass a pointer to a linked list containing the elements. I 
create the callback using the user_callback marshaller and pass to the 
callback the record or the pointer to the linked list

Just my $0.02

Cheers
Pedro
> Manuel
>
>
>
> _______________________________________________
> gtkada mailing list
> gtkada at lists.act-europe.fr
> http://lists.act-europe.fr/mailman/listinfo/gtkada

- -- 

  __________________________________________________
 /                                                  \
 | Pedro Diaz Jimenez                               |
 |                                                  |
 | pdiaz88 at terra.es      pdiaz at acm.asoc.fi.upm.es   |
 |                                                  |
 |                                                  |
 | http://planetcluster.org                         |
 | Clustering & H.P.C. news and documentation       |
 |                                                  |
 | There are no stupid questions, but there're a    |
 | lot of inquisitive idiots                        |
 |        Anonymous                                 |
 |                                                  |
 | "I find your lack of faith disturbing."          |
 |        Darth Vader, Star Wars Episode IV         |
 \__________________________________________________/

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQGiBDqcGZsRBADFIahNPLk8suMlS39m8RqatLgX4dO7PU2F5p1oVvkyB7PaLQCv
FREWwfrjGpxAj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53feEYxlHdVACgjVhU
Y8CKf6MYZgQOR9eIDNvTX0AAn3dwbW1HLxEF5OQKJIsngl0BUlYK
=d4S3
- -----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7aA0vnu53feEYxlERAp/mAKDsXoD6Vt96VRWfiNGoWMmPz2gS/wCeOwWZ
/6GklpoCvisU66HHWtoSjM0=
=cqA0
-----END PGP SIGNATURE-----




More information about the gtkada mailing list