Hi !!
I'm trying to compile GTK+ with frame buffer enabled. I don't want to use
the X support at all. I got the latest version of GTK+. i.e version 1.3.6. I
have all the packages required for that in my machine(Glib,pango,
pkgconfig,atk etc.). But this version is looking for some X functions
Hi all,
How can I determine which menu item the mouse is pointing
to?
When I move mouse on menu items, I want to print a message to
the statusbar to tell the user something about the pointed menu. But I can not
determine which menu item is being pointed. Can you help me?
Thanks
Hello,
How can I transmit an array of widget (GtkWidget *widget[20]) to a
function using gtk_signal_connect_object
gtk_signal_connect_object(GTK_OBJECT(button),clicked,GTK_SIGNAL_FUNC(function),what
must I write here?);
Thanks in advance,
Anthony
--
http://www.freeciv.fr.st
Jean-Christophe Berthon wrote:
I'm not sure about it but try this :
gtk_signal_connect (GTK_OBJECT(button),clicked,GTK_SIGNAL_FUNC(function),
widget);
according that widget is the name of your array (GtkWidget *widget[20])
This should work, I think (thought I never tried it...)
No it
ldx wrote:
How can I determine which menu item the mouse is pointing to?
When I move mouse on menu items, I want to print a message to the
statusbar to tell the user something about the pointed menu.
Hi, connect to the select signal.
gtk_signal_connect( GTK_OBJECT( menu_item ),
Hi,
On Thu, 5 Jul 2001, Anthony Ferrand wrote:
I'm not sure about it but try this :
gtk_signal_connect (GTK_OBJECT(button),clicked,GTK_SIGNAL_FUNC(function),
widget);
according that widget is the name of your array (GtkWidget *widget[20])
This should work, I think (thought I never
Raymond Wan wrote:
Hi,
On Thu, 5 Jul 2001, Anthony Ferrand wrote:
I'm not sure about it but try this :
gtk_signal_connect (GTK_OBJECT(button),clicked,GTK_SIGNAL_FUNC(function),
widget);
according that widget is the name of your array (GtkWidget *widget[20])
This should work,
In fact, it's not the point. The pb is that I can transmit widget[1]
without any pb but I can't transmit the whole array in the same call.
Idem if I want to transmit an array of char:
char *caract[20];
gtk_signal_connect
(GTK_OBJECT(button),clicked,GTK_SIGNAL_FUNC(function),(gpointer)carac);
--
I'm not sure about it but try this :
gtk_signal_connect (GTK_OBJECT(button),clicked,GTK_SIGNAL_FUNC(function),
widget);
according that widget is the name of your array (GtkWidget *widget[20])
This should work, I think (thought I never tried it...)
Best regards,
---
Jean-Christophe Berthon
Cap
maybe if you just pass the address of the table like this:
gtk_signal_connect (GTK_OBJECT(button),clicked,GTK_SIGNAL_FUNC(function),
widget);
then in the callback function you should be able to access your table like
this :
(taking into account that the data pass to the function is of this form
Dear GTKers,
I've been having trouble compiling GTK+ apps for some time now.
./configure always goes through its regular motions until:
checking for GLIB - version = 1.2.6... yes
checking for gtk-config... no
checking for GTK - version = 1.2.6... no
*** The gtk-config script installed by GTK
Hello,
I would like to test a file, before running my program. So, if the file is
corrupt, i display a window where the user can modif the file or quit the
program. But i don't know how to do that.
The first idea it to create a new toplevel window but i can't destroy it
whitout destriy the
Hi,
The stable version frames API can't be used to play GIFs properly -
it's pretty broken.
In GTK 1.3.6 there is a new API for this.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Pranjal Saikia [EMAIL PROTECTED] writes:
I'm trying to compile GTK+ with frame buffer enabled. I don't want to use
the X support at all. I got the latest version of GTK+. i.e version 1.3.6. I
have all the packages required for that in my machine(Glib,pango,
pkgconfig,atk etc.). But this
Sebastian Melmoth [EMAIL PROTECTED] writes:
Dear GTKers,
I've been having trouble compiling GTK+ apps for some time now.
./configure always goes through its regular motions until:
checking for GLIB - version = 1.2.6... yes
checking for gtk-config... no
checking for GTK - version =
From: Sebastian Melmoth [EMAIL PROTECTED]
My version is gtk+-1.2.10-ximian.8. My glib is glib-1.2.10-ximian.2. I
have no file called gtk-config, nor does it seem to exist in any
distributions of GTK+ whose list of files I've read on RPMfind. I'd be
very obliged if you could sort me out on
Hi folks,
I'm trying to get size data on widgets to pass along to canvas
routines. But when I print out GtkWidget-allocation.width, etc ...
I get numbers like 0 and 1 only.
What units are these? Or is this broken in GTK 1.2.8?
DT
--
Technical Director - Virginia Center for Computer Music
David J. Topper [EMAIL PROTECTED] writes:
I'm trying to get size data on widgets to pass along to canvas
routines. But when I print out GtkWidget-allocation.width, etc ...
I get numbers like 0 and 1 only.
What units are these? Or is this broken in GTK 1.2.8?
They're in pixels.
Marek Paliwoda [EMAIL PROTECTED] writes:
Under X trying to dettach handle boxes from a window that is
modal, I get my X instalation freezed completly and I can not
do anything more with X until I kill my program from a text
session.
Is it intentional that there is impossible to dettach
Can anyone give me pointers to some code that uses the function:
gdk_input_motion_events() ?
I've searched the mail.gnome.org archive, grep`d the source of gsumi, and
searched with google, but I can't find any reference to the function
except in the API documentation.
I've checked the API
Havoc Pennington wrote:
They're in pixels. However widget-allocation is only filled in when
the widget actually goes through the request/allocate process, it
isn't magically kept up-to-date at all times.
It would seem to make sense to have this happen when gtk_widget_show() is
called, no? I
David J. Topper [EMAIL PROTECTED] writes:
It would seem to make sense to have this happen when gtk_widget_show() is
called, no? I am doing that, but still getting incorrect values.
No. ;-) It happens in an idle handler.
Ok, but I am also trying to grab size from containers (eg., frames)
Tim Butler [EMAIL PROTECTED] writes:
Can anyone give me pointers to some code that uses the function:
gdk_input_motion_events() ?
I've searched the mail.gnome.org archive, grep`d the source of gsumi, and
searched with google, but I can't find any reference to the function
except in the
Can't remember if I asked here already or not - is anyone aware of any issues with
GtkRuler's measurements?
(win32)
- Steph
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Last appeal to the GTK+ list on this issue I promise ...
In PHP-GTK compound widgets appear to be sending signals twice over for no good
reason. Is this feature familiar to GTK+ users in any other form?
- Original Message -
From: Steph [EMAIL PROTECTED]
To: Andrei Zmievski [EMAIL
Hello,
I made an oscilloscope like widget for displaying traces. I posted it to
sourceforge, but had some problems posting the example I made with
glade. I also can't del file or packages. Sourcefore has changed a lot
since I last used it. But never mind that.
Here's where it is located.
Hi folks,
I seem to be getting strange crashes in my app, back tracing shows a
long list of gtk function calls ... which do not help me debug. Here's
a brief snippet:
#0 0x40318c00 in free () from /lib/libc.so.6
#1 0x40318a9b in free () from /lib/libc.so.6
#2 0x40174855 in g_free
David J. Topper [EMAIL PROTECTED] writes:
Hi folks,
I seem to be getting strange crashes in my app, back tracing shows a
long list of gtk function calls ... which do not help me debug. Here's
a brief snippet:
#0 0x40318c00 in free () from /lib/libc.so.6
#1 0x40318a9b in free ()
Owen Taylor wrote:
When set, GNU libc writes some extra information around memory blocks and
checks it on free() so that it can detect double frees and some other forms of
memory corruption.
Now, this might be coincidental memory corruption elsewhere in
your app (in which case you might
So I just took out my gtk_widget_destroy() of the dialog window when
ok is pressed.
Things seem to work fine until I actually hit cancel which deletes the
window. Then the malloc hooks kick in. I get an additional message of
an invalid pointer to free() when setting MALLOC_CHECK_=3. But this
Hey folks,
Since I've been getting so much from this list I thought I'd try and
give back. My observations on signal_connect have been:
1. It doesn't like large pointers. I've had trouble passing in (double
*) from time to time.
2. It is very sensitive to typecasting. Make sure you've got
sumith chitanand wrote:
1.i have the mouse pointer position. how do I draw a widget at this position or how
can I insert text at that point?
You need to look into the Gnome or Gtk Canvas. The latter is a hack of the former
which I actually have had better
luck with.
It gets a bit
David J. Topper [EMAIL PROTECTED] writes:
1. It doesn't like large pointers. I've had trouble passing in (double
*) from time to time.
It likes any pointer at all. ;-) void* is guaranteed to hold any
pointer. Something is wrong other than gtk_signal_connect().
Havoc
33 matches
Mail list logo