>> they have been part of a 200K lines of code project. They must have thought
>> it was
>> production ready.
We are SURE that it was and it IS production ready. We started the
project approx. 2-3 years ago (vala 0.22 on Ubuntu 14.04 I think) and it
is constantly growing while implementing new fe
> Well, I suppose I have higher requirements than they have. From a
> production-ready
> compiler I would expect
> – no (or at best very obscure) type errors to get through
> – no compiler crashes
> – no broken code generated
Possibly you have eliminated every compiler :-)
Nice day
Nor Jaidi Tua
Hi Al,
thanks for responding!
> I guess it depends on what you are producing. Some one has just stated on
> this list
> they have been part of a 200K lines of code project. They must have thought
> it was
> production ready.
Well, I suppose I have higher requirements than they have. From a
pro
Hello list,
I have a GtkBox with three childs: a label and two GtkRadioButtons. If a
user chooses one of them, what kind of signal will be sent? The
group-changed?
Greetings Sascha
--
Sascha Manns
Maifeldstraße 10
56727 Mayen
P: +49-2651-4014045
W: http://saigkill.tuxfamily.org
signature.a
> From: Gergely Polonkai
> Sent: Wednesday, 5 April 2017, 16:39
> Subject: [Vala] Compact class with an unusual (in GLib terms) constructor
> libjwt[1] has a strange constructor in GLib terms:
> int jwt_new(jwt_t **jwt);
> It returns 0 on success (like many C functions) or any valid errno on
>
Hello,
libjwt[1] has a strange constructor in GLib terms:
int jwt_new(jwt_t **jwt);
It returns 0 on success (like many C functions) or any valid errno on
failure. I made the following binding for now:
[CCode (cname = "jwt_new")]
public static int create(out JWT jwt);
Is there a better way to d
There is Posix.FILE also, maybe it matches "better".
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
That I totally forgot, thanks! It is working now.
Al Thomas ezt írta (időpont: 2017. ápr. 5., Sze,
17:28):
> > From: Gergely Polonkai
> > Sent: Wednesday, 5 April 2017, 16:20
> > Subject: [Vala] Writing binding for non-GLib library using FILE *
>
> > I’m trying to create a binding for libjwt, a
> From: Gergely Polonkai
> Sent: Wednesday, 5 April 2017, 16:20
> Subject: [Vala] Writing binding for non-GLib library using FILE *
> I’m trying to create a binding for libjwt, and one of its functions use
> FILE * pointer to save a JWT token to a file. Reading [2] makes me think I
> can use File
Hello,
I’m trying to create a binding for libjwt, and one of its functions use
FILE * pointer to save a JWT token to a file. Reading [2] makes me think I
can use FileStream here, but vala complains:
libjwt.vapi:77.28-77.37: error: The type name `FileStream' could not be
found
As I don’t need tha
> From: Sascha Manns
> Sent: Wednesday, 5 April 2017, 11:57
> Subject: Re: [Vala] Button not visible
> To work with signals i like to use *.clicked.connect. So i tried
> box_pack_start (Gtk.Button revision = new Gtk.Button.with_label ("Add
> new Revision"));
Now you have a grasp of the basic co
Hi Ulink,
that works perfectly.
Greetings
Sascha
On 05.04.2017 13:18, Ulink wrote:
> var revision = new Gtk.Button.with_label ("Add new Revision");
> revision.clicked.connect(() => {
>revision.label="You cowardly clicked me!";
> });
> box.pack_start(revision);
--
Sascha Manns
Maifeldstra
> To work with signals i like to use *.clicked.connect. So i tried
> box_pack_start (Gtk.Button revision = new Gtk.Button.with_label ("Add
> new Revision"));
> It looks like this isn't possible. What can i do?
Move revision outside from the box_pack_start() to access it from
outside, e.g. (not tes
Hi Ulink,
thank you very much for helping out :-)
So i used this code:
Gtk.Box box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
box.pack_start (new Gtk.Button.with_label ("Add new Revision"));
box.pack_start (new Gtk.Button.with_label ("Build Publication"));
box.pa
04.04.2017, 15:29, "Al Thomas via vala-list" :
>> From: Alessandro Pellizzari
>> Sent: Tuesday, 4 April 2017, 10:27
>> Subject: Re: [Vala] Vala++
>
> You seem to over talking Rust and under talking Vala.
>
>> Rust, on the other hand, is a general language, that can be used for
>> many things:
Christian,
thanks for clarification, I understand your statements, although I don't
agree to all of them, but so what? ;-)
"Because it's a language with undefined behavior generating source in
another language with undefined behavior" sounds, forgive me and excuse
my ignorance, a little bit acade
... and there are many other fancy Gtk layout containers:
GtkBox — A container box
GtkGrid — Pack widgets in rows and columns
GtkRevealer — Hide and show with animation
GtkListBox — A list container
GtkFlowBox — A container that allows reflowing its children
GtkStack — A stacking container
GtkStac
Additionally, it's a good idea to start your app from the console to see
Gtk/GLib assertions.
If you do so using your first code, you will see something like this:
Gtk-WARNING **: Attempting to add a widget with type GtkButton to a
GtkWindow, but as a GtkBin subclass a GtkWindow can only contain
Hi Sascha,
try to use a layout, e.g. Gtk.Box and pack your widgets in there.
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
Hello list,
i started to create a simple gui with help from the documentation. Also
i added two buttons:
int main (string[] args) {
Gtk.init (ref args);
var window = new Window ();
window.title = "PublicanCreators";
window.border_width = 10;
window.window_position = WindowPos
20 matches
Mail list logo