On 20 April 2017 at 11:03, Rúben Rodrigues wrote:
> Hi guys,
>
> i have a problem with callback functions. I have a struct in parameter but
> always give null values. Here is an example:
>
>
> struct pxToggleData{
> LineChartSeries *series;
> LineChart *chart;
>
Hi guys,
i have a problem with callback functions. I have a struct in parameter but
always give null values. Here is an example:
struct pxToggleData{
LineChartSeries *series;
LineChart *chart;
GtkWidget *canvas;
};
xTempToggle.canvas = canvas;
xTempToggle.chart = chart;
Hi,
I am a developer working on GNOME Logs and I wanted to ask a doubt
regarding GListModel
<https://developer.gnome.org/gio/stable/GListModel.html>.
I am working on this gnome-logs bug: https://bugzilla.gnome.
org/show_bug.cgi?id=767995
Moving the sorting functionality to the mode
How can I emit activate signal for GLib.Action ?
For Glib.Acion or GLib.SimpleAction it is showing The name
'emit_signal_by_name' does not exist in context of GLib.Action.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
: tristan.van.ber...@gmail.com [mailto:tristan.van.ber...@gmail.com] Em nome
de Tristan Van Berkom
Enviada em: quinta-feira, 8 de dezembro de 2011 03:36
Para: Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
Cc: Emmanuele Bassi; gtk-app-devel-list@gnome.org
Assunto: Re: mutex doubt
2011/12/8
Hello,
-Mensagem original-
De: tristan.van.ber...@gmail.com [mailto:tristan.van.ber...@gmail.com] Em nome
de Tristan Van Berkom
Assunto: Re: mutex doubt
Out of curiosity, what is glib startup ?
Do you mean as a part of g_type_init() ?
Yes, exactly
Or, can glib programs
On 6 December 2011 18:14, Tristan Van Berkom t...@gnome.org wrote:
Or, can glib programs which don't make use of GObject use
threads at all ?
sure.
Out of curiosity, do you recommend me to use GObject to any glib program? Or
only for those I need to integrate with other languages?
Thanks for
2011 14:36
Para: Tristan Van Berkom; jcup...@gmail.com
Cc: gtk-app-devel-list@gnome.org
Assunto: RES: mutex doubt
Hello,
-Mensagem original-
De: tristan.van.ber...@gmail.com [mailto:tristan.van.ber...@gmail.com] Em nome
de Tristan Van Berkom
Assunto: Re: mutex doubt
Out of curiosity
2011/12/8 Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
marcelo.va...@claro.com.br:
On 6 December 2011 18:14, Tristan Van Berkom t...@gnome.org wrote:
Or, can glib programs which don't make use of GObject use
threads at all ?
sure.
Out of curiosity, do you recommend me to use
Hello,
Do I need to call g_thread_init() manually before calling g_mutex_new
(), in a glib only application? Or is it auto called by default when I call
g_type_init() and therefore I don't need to do it?
Regards,
Valle.
Esta mensagem, incluindo seus eventuais anexos, pode conter
hi;
On 6 December 2011 18:14, Tristan Van Berkom t...@gnome.org wrote:
Or, can glib programs which don't make use of GObject use
threads at all ?
sure.
Must _those_ programs still call g_thread_init()
before using threads ?
before GLib 2.31, yes; after, no.
It seems that the pthread
using the backticks( ` ) works in cygwin shell (but not in DOS)
There is no (MS-)DOS involved at all in Windows XP. Saying DOS when
you mean Command Prompt or cmd.exe is pointless and silly. But
yes, you are right of course, backticks work only in a Unix-style
shell.
when i try to run it it
hi
i am trying out the gtk tutorial with gcc (cygwin on winXP) and wanted
to run the first example in gtktutorial (to show blank window)..i
copied the code and compiled it with
gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
using the backticks( ` ) works in cygwin shell (but not in DOS)
On Jan 20, 2008 12:35 AM, dev new [EMAIL PROTECTED] wrote:
hi
i am trying out the gtk tutorial with gcc (cygwin on winXP) and wanted
to run the first example in gtktutorial (to show blank window)..i
copied the code and compiled it with
gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
Hi again,
Gus Koppel wrote:
While the case of returned const gchar *s is rather simple, the real
problem to me is that the API docs are quite less explicit when it comes
to more complex objects than just string constants.
For instance, whether and how reference counts of objects related to
Greg Breland wrote:
[...]
What really needs to happen(and I believe is in the works) is that the
GTK manual needs user comments or wiki goodness. This would solve
almost everything except that each function might have too much
information before too long. :)
While we're on a rant about API
I wish the API docs would be added a line for _every_ get- or set-
function, which explicitly notes whether and how reference counts of
associated objects are changed by that function.
I second that motion! Actually, I wish it would be a standard for all
GNU-style open source projects. I think
On Sat, Jul 23, 2005 at 06:29:17PM +0200, Gus Koppel wrote:
I wish the API docs would be added a line for _every_ get- or set-
function, which explicitly notes whether and how reference counts of
associated objects are changed by that function.
Take a look at the following wiki page. If
Gus Koppel wrote:
While the case of returned const gchar *s is rather simple, the real
problem to me is that the API docs are quite less explicit when it comes
to more complex objects than just string constants.
For instance, whether and how reference counts of objects related to
treeviews are
Arx Henrique wrote:
my doubt is g_free or not g_free the text?
When in doubt, read API docs:
Tks x)
next time i'll read api
While the case of returned const gchar *s is rather simple, the real
problem to me is that the API docs are quite less explicit when it comes
to more complex
);
gtk_editable_delete_text(GTK_EDITABLE(widget), 0, -1);
}
my doubt is g_free or not g_free the text?
When in doubt, read API docs:
This string points to internally allocated storage in
the widget and must not be freed, modified or stored.
Yeti
--
A: Because it messes up
;
text = gtk_entry_get_text(widget);
gui_app_notify_new(text);
g_free(text);
gtk_editable_delete_text(GTK_EDITABLE(widget), 0, -1);
}
my doubt is g_free or not g_free the text?
When in doubt, read API docs:
This string points to internally allocated storage
);
g_free(text);
gtk_editable_delete_text(GTK_EDITABLE(widget), 0, -1);
}
my doubt is g_free or not g_free the text?
Just check the documentation:
http://developer.gnome.org/doc/API/2.2/gtk/GtkEntry.html#gtk-entry-get-text
Returns : a pointer to the contents of the widget as a string
23 matches
Mail list logo