Il Wed, 16 May 2018 02:40:44 + songqing shan scrisse:
> Hello,
>
>
> I am learning GTK and developing a small application, which uses gtktextview
> widget.
>
> In my application, I compile it well. When running it, clicking the texview
> and "Gdk-WARNING **:
Il Mon, 7 May 2018 09:30:13 +0200 arkkimede scrisse:
> ...
> Now I would migrate on WIndows 10 by means of MSYS2.
>
> There is an IDE (better if open source) that I can use instean to follow to
> use vi?
> ...
Hi,
it seems to me a step backward: nothing can beat a
Il Fri, 4 May 2018 14:19:42 +0300 Marius Gedminas scrisse:
> ...
> I've checked https://gitlab.gnome.org/GNOME/gtk/issues briefly but
> couldn't find an existing bug, so perhaps nobody has reported it
> upstream.
Hi,
I think this bus is #710888 [1] that is already fixed in
Il Sat, 21 Apr 2018 04:01:21 +0200 arkkimede scrisse:
> HI!
> I've realized an App with GTK3 and the library CAIRO to plot results of
> measurements.
> I use the function "cairo_surface_write_to_png" to obtain a png file that I
> put on a paper of format A4 (with usual
Il Mon, 19 Feb 2018 09:24:20 +0100 Wojciech Puchar <w.puc...@digitalsystems.pl>
scrisse:
> On 2018.02.19 08:09, Nicola Fontana wrote:
> > Il Sat, 17 Feb 2018 21:32:19 +0100 (CET) Wojciech Puchar
> > <woj...@puchar.net> scrisse:
> > ...
> > If you wa
Il Sat, 17 Feb 2018 21:32:19 +0100 (CET) Wojciech Puchar
scrisse:
> i want in my program to change background color of the gtk_button to red
> sometimes as a signal to the user.
>
> it works fine with default theme but not with some other themes like
> E17gtk.
>
> how to
Il Tue, 7 Nov 2017 13:52:01 +0100 Nils Söderman scrisse:
> Hello, i have been using glade to build a GUI, doing an app to fill the
> entry-boxes with data. OK so far. But when i wanted to color the boxes
> with help of PyGTK according to their content and did not succeed
Il Wed, 6 Sep 2017 16:08:07 + Rúben Rodrigues
scrisse:
> ...
> void on_button_Util_Firmware_Update_clicked(GtkButton *button, gpointer
> user_data)
> {
> GtkLabel *gLabel_Result;
> FILE *fp;
> gchar pcTmp[BUFSIZ];
>
> // Fecha a
Il Tue, 22 Aug 2017 15:10:44 -0400 cecas...@aol.com scrisse:
> ...
> There is a good read about the spin button at
>
> https://blog.gtk.org/author/ebassi/
>
> with Tim Bader on April 25, 2017. I don't know if you have seen that.
Hi Eric,
no, I did not see that... it would have saved me some
Hi all,
I want to catch a click/button-press event *only* on the entry
part of a GtkSpinButton. Put in other words I want to filter out
events happening on the up and down buttons of a spin entry.
I tried several strategies until actually finding a working
approach. The implementation though is
Il Fri, 16 Jun 2017 08:58:41 + Rúben Rodrigues
scrisse:
> Hi guys,
>
> Someone could help with this?
> https://stackoverflow.com/questions/44547398/undefined-reference-to-gtk-label-set-xalign
Hi,
you are linking against GTK+ 3.14.5 and gtk_label_set_xalign has
been
Il Fri, 7 Apr 2017 13:52:57 -0400 Eric Cashon via gtk-app-devel-list
scrisse:
> Thomas,
>
> Your original question looked easy. Connect the "focus-in-event" to the combo
> box and everything will work fine.
> ...
Hi,
GtkComboBox is a GtkContainer, so I would
Il Thu, 30 Mar 2017 09:38:41 +0200 Stefan Salewski <m...@ssalewski.de> scrisse:
> On Wed, 2017-03-29 at 23:26 +0200, Nicola Fontana wrote:
> >
> >
> > idle functions do *not* run in the background so if you don't
> > release the CPU you will experience what
Il Wed, 29 Mar 2017 21:27:48 +0200 Stefan Salewski scrisse:
> ...
>
> Problem is the idle function added with
>
> https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#g-idle-add
>
> I have the strong feeling, that the provided function is not running
>
Il Tue, 21 Mar 2017 17:55:31 + Tristan Van Berkom
scrisse:
> ...
> o I believe the lookups with G_TYPE_INSTANCE_GET_PRIVATE() are just
> as cheap as the pointer dereference (as it will be implemented
> using simple pointer arithmetic).
Hi
Il Mon, 20 Mar 2017 03:30:54 +0100 Dirk Gottschalk via gtk-app-devel-list
scrisse:
> ...
> I'll take a look at this. The question was which DLLs are nedded.
Hi,
in my cross-compiled installer script [1] I've the following list:
File
Hi,
Il Tue, 3 Jan 2017 22:46:13 +0100 Tobias Knopp scrisse:
> ...
> - Is any accessor backuped with a property and vice versa?
Only the second part stands, i.e. any property should have its
own accessors. There is some exception though, e.g.
GtkContainer:child, but that is
Il Thu, 05 Jan 2017 07:27:10 + Gergely Polonkai
scrisse:
> Hello,
>
> I don't know about others, but in my own code, my_obj_set_property() does
> nothing else just calls the setter functions (and the same for getters). It
> makes much more sense, and I saw it in a lot
Il Wed, 30 Nov 2016 14:35:59 +0100 Pozz Pozz <pozzu...@gmail.com> scrisse:
> 2016-11-30 9:09 GMT+01:00 Nicola Fontana <n...@entidi.it>:
>
> > ...
> > If your workflow heavily rely on a GUI
> > builder, you have 4 options: (1) use glade as is, (2) prepare to
Il Wed, 30 Nov 2016 11:08:13 +1100 Daniel Kasak
scrisse:
> ...
> My normal workflow is to lay things out *roughly* in glade, then
> actually run the app and see what it looks like.
> ...
This is my workflow too, apart the fact that after the first draft
I prefer to edit
Il Wed, 2 Nov 2016 14:40:58 +0100 Pozz Pozz <pozzu...@gmail.com> scrisse:
> 2016-11-02 11:24 GMT+01:00 Nicola Fontana <n...@entidi.it>:
> > ...
> >
> > you don't necessarily need the handler id. In C (I don't use
> > python) you could write the following:
Il Wed, 2 Nov 2016 10:23:44 +0100 Pozz Pozz scrisse:
> ...
> How do you implement the generic function _my_set_value()? It should have
> two parameters: spinbutton and value. signal_handler_block() function needs
> the handler_id associated that I don't have.
> Maybe during
Il Wed, 2 Nov 2016 00:09:29 +0100 pozzugno scrisse:
> ...
> A simple and clear sequence of instructions:
>
>_set_value()
>_set_value()
>..
>
> will be transformed in a complex, long and cryptic sequence of
> instructions:
>
>_block()
>_set_value()
>
Il Mon, 12 Sep 2016 13:37:04 -0300 "Daniel." scrisse:
> Well, if I wasn't clear before my layout is totally questionable. I
> more generic question would be:
>
> How you guys aproaches when the problem is showing applications
> behavior on screen?
Hi,
I don't see any
Il Mon, 9 May 2016 09:35:06 -0500 Edscott Wilson
scrisse:
> ...
> Many thanks to all those who have responded. With all the advice I'm now
> going to try cross compiling 64 bit GTK application for windows using all
> the tools available in ArchLinux and the AUR
Il Fri, 27 Mar 2015 11:31:59 +0100 Bruno Cauet brunoca...@gmail.com scrisse:
Hi,
I'm having trouble compiling stuff with glib. Here it is:
$ LANG=C gcc -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include -L
/usr/lib -l gio-2.0 segfault.c
/usr/bin/ld: /usr/lib/libgio-2.0.so: undefined
Il Fri, 06 Feb 2015 16:24:39 -0600 zeta kmsi...@gmail.com scrisse:
I am new on the community, I am a bachelor student at BUAP, I love gome
since I meet it, and know I want to contribute in something, I was
writing an application with gtk and when I want to create some cool
charts I see that
Il Mon, 23 Dec 2013 22:19:28 -0800 A. Walton awal...@gnome.org scrisse:
Frankly I don't see what's wrong with making it instant apply from the
description. Connect to the GtkEditable::changed signal, throw in a short
timeout that gets reset any time someone changes the field. If they have
Il Tue, 10 Dec 2013 17:30:42 +0800 (SGT) Mahesh Chaudhari
mahesh.chaudh...@ymail.com scrisse:
Hi list ,
is there any widget available to represent meter/dial/speedometer kind of
object, needle of which rotates dynamically with magnitude of input values
one widget i found is Gtkdial ,
Il Mon, 7 Oct 2013 20:19:36 +0800 (SGT) Mahesh Chaudhari
mahesh.chaudh...@ymail.com scrisse:
Output widget in the sense , user is informed (e.g. by changing widget's
color) about some system events not user provides input (e.g button press,
mouse clicks)
in short I wanted to represent an
Il Fri, 26 Apr 2013 02:24:01 -0700 Kip Warner k...@thevertigo.com scrisse:
On Thu, 2013-04-25 at 22:18 -0700, Simon Feltman wrote:
Similarly, use
Gdk.threads_add_idle instead of GObject.idle_add for scheduling GUI updates
from worker threads. The necessity of these is still somewhat
Il Sat, 13 Oct 2012 19:47:32 +0200 Nicola Fontana n...@entidi.it
scrisse:
Hi all,
I'm cross-compiling the GTK+ toolchain with mingw-w64 to win32
and win64 platforms. Cairo fails in the cairo-gobject component
in win64 mode and I strongly *suspect* this is due to a wrong
glibconfig.h
Hi all,
I'm cross-compiling the GTK+ toolchain with mingw-w64 to win32
and win64 platforms. Cairo fails in the cairo-gobject component
in win64 mode and I strongly *suspect* this is due to a wrong
glibconfig.h (infact it is the same as the one installed for
win32, and I think this cannot be
Il Thu, 4 Oct 2012 02:00:39 +0200 Rafał Mużyło
galtge...@gmail.com scrisse:
On Thu, Oct 04, 2012 at 12:33:24AM +0200, Nicola Fontana wrote:
Il Wed, 3 Oct 2012 23:28:23 +0200 Rafał Mużyło
galtge...@gmail.com scrisse:
but the change on cancel was
recently fixed in bug . in regard
I need to catch when the file has changed in a
GtkFileChooserButton. I thought connecting to file-set was
enough but this signal is not emitted when the user cancels
(although bug 555351 does not agree [1]). Here is the proof:
#include gtk/gtk.h
int main(int argc, char **argv)
{
GtkWidget
Il Wed, 3 Oct 2012 23:28:23 +0200 Rafał Mużyło
galtge...@gmail.com scrisse:
On Wed, Oct 03, 2012 at 10:23:12PM +0200, Nicola Fontana wrote:
I need to catch when the file has changed in a
GtkFileChooserButton. I thought connecting to file-set was
enough but this signal is not emitted when
Il Sun, 30 Sep 2012 06:37:12 -1000 (HST) Roger Davis
r...@soest.hawaii.edu scrisse:
Has anyone else ever seen this (I found only a couple not especially
helpful references on the web), and/or does anyone know what is calling
_gtk_rbtree_insert_after()? It isn't me, at least not directly, and
Il Sun, 30 Sep 2012 08:48:20 -1000 (HST) Roger Davis
r...@soest.hawaii.edu scrisse:
I was wondering about that, but unfortunately my code does not explicitly
use any GtkTree* objects! Is there any way to search the documentation
efficiently to determine which object types are inheriting from
Il giorno Sun, 13 May 2012 10:37:16 +0200
Marc Balmer m...@msys.ch ha scritto:
I have a (hopefully) basic question. g_type_from_name() does not behave
as I would it expect to behave:
When I call it with e.g. GtkButton, I get GTK_TYPE_BUTTON. But when I
call it with GtkFrame, it returns 0
Il giorno Fri, 20 Apr 2012 09:53:33 +0430
Bijan Binaee bijanb...@gmail.com ha scritto:
hi
once i compile my code i got following a warning how can I fix it?
gtksourcefoldcellrenderer.c:331:14: warning: comparison between
'GtkCellRendererState' and 'enum anonymous' [-Wenum-compare]
here
Il giorno Fri, 2 Mar 2012 11:00:46 +0800 (CST)
Xi Yang jianding...@163.com ha scritto:
Hi, everyone!
I use Glib's regular expression in a cycle, and find a rapid memory
consumption increase. Did I forget to release anything?
Thanks a lot!
A working example would be better. Anyway,
Il giorno Fri, 17 Jun 2011 11:56:12 -0500
Michael Cronenworth m...@cchtml.com ha scritto:
Michael Cronenworth on 06/17/2011 11:46 AM wrote:
My callbacks were of return type void. Changing them to gboolean and
returning TRUE makes the window appear upon the second call. It seems in
Win32 the
Il giorno Fri, 17 Jun 2011 13:09:07 -0500
Michael Cronenworth m...@cchtml.com ha scritto:
Nicola Fontana on 06/17/2011 12:29 PM wrote:
AFAICT there is no such difference between platforms: the documentation
explicitely requires a gboolean [1]. I think your program was working on
Linux only
Il giorno Wed, 9 Jun 2010 14:54:07 +0200
Tadej Borovšak tadeb...@gmail.com ha scritto:
Hello.
Thank you, I'm sorry for that I didn't explain the problem clearer. What I
meant is that there is no similar function of
'glade_get_widget_tree(widget)'. At the context where should call
Il giorno Sat, 24 Apr 2010 06:26:03 +
dfg dfg abx...@msn.com ha scritto:
Can someone tell me how to set up a default value for a spin button in Glade?
The adjustment generated by glade has the following properties:
property name=value.../property
property name=lower.../property
property
Il giorno Wed, 14 Apr 2010 14:27:21 -0700
silverburgh silverburgh.me...@gmail.com ha scritto:
Can you please help me what happens if I use 'gtk_set_transient_for to
mark it modal to only one window' under the hood.
Normally (as far as what I know), there is 1 gtk main thread listen
for all
Il giorno Mon, 8 Feb 2010 23:17:52 +0100
Nicola Fontana n...@entidi.it ha scritto:
#include glib.h
#include stdlib.h
static void dummy(void)
{
g_return_if_reached();
}
static void
test_trap_fork(void)
{
if (g_test_trap_fork(0, G_TEST_TRAP_SILENCE_STDERR)) {
dummy
Hi all,
I'd like to sanitize my library by passing invalid values to GObject
properties. I built a test case with g_test_trap_fork() to trap
eventual segmentation faults, so far without success. I tracked down
the problem to this case:
#include glib.h
#include stdlib.h
static void dummy(void)
Il giorno Fri, 04 Dec 2009 15:01:25 -0600
Harry Coin hc...@quietfountain.com ha scritto:
The only answer I can think of to retain the ability to time most
accurately, starting the moment that the image has been drawn is to
use gtk_widget_draw right after setting the pixbuf.
If
Il giorno Mon, 09 Nov 2009 03:24:04 -0500
Braden McDaniel bra...@endoframe.com ha scritto:
Clearly the Address ... out of bounds looks fishy; but I'm just
not seeing what could be a problem there; and I'm wondering if gdb
isn't just messing with me. The call site for
Il giorno Wed, 22 Jul 2009 17:20:06 +1000
Mick mickh...@bigpond.net.au ha scritto:
src/Makefile.am
--
bin_PROGRAMS = nuchimp
nuchimp_SOURCES = \
callback.c callback.h \
main.c main.h
AM_CPPFLAGS = $(GTK_CFLAGS)
On Tue, 27 Jan 2009 12:38:09 -0200
John Coppens j...@jcoppens.com wrote:
char *bff, str[4];
bff = strdup(abc|def|ghi|etc); Just to show bff has to freed later
splitline(bff, str); This puts pointers into str to each of
the substrings (at the start and
On Tue, 27 Jan 2009 19:08:30 -0200
John Coppens j...@jcoppens.com wrote:
On Tue, 27 Jan 2009 17:02:32 +0100
Nicola Fontana n...@entidi.it wrote:
gtk_clist_append appends only 1 row, so that shouldn't be the problem. The
elements in the str[] array correspond to cells, the number is defined
On Sun, 11 Jan 2009 12:42:41 +0100
Rudolfo Pinewood rudolfo.pinew...@googlemail.com wrote:
I have several togglebuttons, that are all registered to call one
specific function (ApplyFlags). In this function I actually don't know
which button was activated.
My attempt was giving each
On Tue, 14 Oct 2008 17:41:13 +0200
Damien Caliste [EMAIL PROTECTED] wrote:
Hello,
Le 14/10/2008, nico [EMAIL PROTECTED] a écrit :
And here is the source code of the program:
http://yojik.shtooka.net/gio.c
I didn't run nor check extensively the program but maybe there is a
memory leak
On Tue, 14 Oct 2008 18:03:05 +0200
nico [EMAIL PROTECTED] wrote:
Thank you Nicola,
And you're also g_freeing a GFileInfo, which is a GObject. Try
to use g_object_unref() instead.
Ciao
When I use g_object_unref() instead of g_free(file_info); I've got
this error :
On Fri, 03 Oct 2008 11:00:35 +0200
Murray Cumming [EMAIL PROTECTED] wrote:
or this might be better:
AM_CPPFLAGS = $(MYAPP_CFLAGS)
onwindow_LDADD = $(MYAPP_LIBS)
I don't know the technical difference (I always seen
preprocessing and compilation in the same step), but is not
AM_CXXFLAGS a
On Wed, 01 Oct 2008 13:51:39 +0200
Adolfo González Blázquez [EMAIL PROTECTED] wrote:
The problem is that gtk_icon_theme_load_icon takes about two seconds to
load icons from themes which are not standard [2]. I mean, if the user
use a theme with 256x256 icons, the load of 5 icons
On Sun, 03 Aug 2008 19:10:37 +
dhk [EMAIL PROTECTED] wrote:
Is gtk_container_get_children() suppose to return a list of all children
including children of children down to the last leaf or just the
immediate children? I only seem to get the immediate children. Will
On Thu, 31 Jul 2008 11:07:34 +
dhk [EMAIL PROTECTED] wrote:
Jim George wrote:
I wasn't a fan of keeping the GladeXml object around due to the
resources it used. Even though it's not as efficient as storing
pointer, I wish I could just traverse up and down the the object tree
for my
On Wed, 23 Apr 2008 12:29:27 +0200
Roberto Mantovani - AL [EMAIL PROTECTED] wrote:
I need to write a program that displays some statistical values so I
would know if there are libraries fot GTK+ to draw histograms and other
statistical rapresentations.
There is also goffice, the graph library
Hi all,
I've the following function:
void
propagate_valist (GSList *children,
guint signal_id,
GQuark detail,
va_list var_args)
{
GSList *child = children;
while (child)
{
if (G_IS_OBJECT (child-data))
62 matches
Mail list logo