> Your example is useless.
The example is very simple. Take in data from STDIN and use it for hash
keys and values. I have to create a new pointer every time to do this
with the hash functions in glib. The only way I can think of doing this is
with mallac. The STDIN has to go into a defined
Is there a way to declare a GString object on the stack and then pass a
reference to that object to an initialization method? For example:
GString str, *ptr;
ptr = g_string_assign(&str, "foo");
Of course, I realize that the above is not valid because g_string_assign
expects cooked values in &s
Hello, I have a problem when I try to compile! I type
this
gcc -o3 -o gtk01 gtk01.c `pkg-config --libs --cflags
gtk+-2.0`
then it says
Undifined reference to g_signal_connect
Help please!!!
I also typed this
pkg-config --modversion gtk+-2.0
and it said
1.3.2
I don't think thats right is it? I woul
Good evening,
I remain hopeful I could get some help with the posting at history. First
time I didn't get any takers :-). Does anyone have any [germane] thoughts
to throw my way?
I appreciate any help folks can offer.
Thank you,
Regards,
James
-Original Message-
From: [EMAIL PROT
Your example is useless. GLIB is doing exactly what you asked it to.
GLIB cannot possibly know, and would not want to know, the nature of
your data. You give it a pointer. How does it know the length of the
pointer? How does it know you are not passing it a structure, and
intend to have it copy th
I'm wondering how useful the hashing system can be ibn GLIB
I tried this code, and it seems that instead of copying strings, it just copies the
pointer value
resulting in making it impossible to look through input and assigning it to key
values, unless I'm
doing something worng. This is just
I'm writing an application under Linux that generates realtime audio and uses
GTK as the GUI. I've been using "gdk_draw_rgb_image" to update the interface
components onto a backing pixmap, then copy the whole lot to a drawing area
at regular intervals. The graphics stored in memory are all 24bp
>I want to draw a selected radio button image with a colored center (it
>is currently black when selected). I thought I could do it by changing
>the gtkrc file but haven't had any luck. Following is a portion of my
>gtkrc file and what I changed (that didn't work).
I suggest you get rid of the
Hi,
Sorry to send this message again but I received a notice warning me that
the original message was in html format so I am trying again (this time
in Plain Text).
I want to draw a selected radio button image with a colored center (it
is currently black when selected). I thought I could do it
> To get the callback arguments in the same order as the prototype,
> use gtk_signal_connect() (note, no _object).
That was the problem.
Thanks!
Brad
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
From: "Bradley F. Hartman" <[EMAIL PROTECTED]>
>
> Hello,
>
> I have found that the parameters that GTK passes to the callback for
> adjustments are swapped (reversed from what the prototype indicates they
> should be). The documentation for the prototype for the callback
> for the "value-changed
Hello,
I have found that the parameters that GTK passes to the callback for
adjustments are swapped (reversed from what the prototype indicates they
should be). The documentation for the prototype for the callback
for the "value-changed" signal for the GtkAdjustment class follows:
"value-change
Hi,
[EMAIL PROTECTED] writes:
> Now if I only can find out why my plugin starts with the size of a stamp
> and
> GTK is complaining about a negative size of -9 for some widget I use..
perhaps removing this (braindead) code in dialog creation could help:
gtk_widget_set_size_request(dlg, 0
Hi
Back in gtk-1.2 there was a gtk_ctree_export_to_gnode function if one wants
to copy/remove a branch from one ctree and insert it in another/the same
ctree.
Does gtk-2.0's GtkTreeModel have something similar?
I've found the gtk_tree_model_foreach function which allows me to call a
functi
Karim Sobh:
> I am trying to install php-gtk-0.5.0.tar.gz on linux
> redhat 7.1,
> Here is what I did:
>
> 1.tar -xvzf php-gtk-0.5.0.tar.gz
> 2. cd php-gtk-0.5.0
> 3. ./buildconfig
> 4. ./configure
> on this step I had an error saying the following:
> ./configure: line 3360: syntax error near une
Hi,
[EMAIL PROTECTED] writes:
> >are you sure? I had a quick look at the state of the plug-in in CVS
> >and it seems as if preview_move() gets called since the coordinates
> >in the statusbar are correctly updated.
>
> Yep, that's one of the things I don't understand: the preview_move() get's
Hi,
"Mathew Kohel" <[EMAIL PROTECTED]> writes:
> I been trying to install The GIMP for a couple of days now, but I cant seem
> to get past installing the pango library for GTK. It can not find the glib,
> but I just compiled glib version 2.0.1. Here is there error message I get
> when I run co
Hi,
Maurits Rijk <[EMAIL PROTECTED]> writes:
> I noticed a difference in behaviour between the GTK 1.2 and GTK 2.0
> GtkPreview widget. Somehow the following code used to work in GTK 1.2
> (with gtk_signal_connect iso g_signal_connect, etc.) but in 2.0 the
> "motion_notify_event" doesn't seem to
Dear all,
I am trying to install php-gtk-0.5.0.tar.gz on linux
redhat 7.1,
Here is what I did:
1.tar -xvzf php-gtk-0.5.0.tar.gz
2. cd php-gtk-0.5.0
3. ./buildconfig
4. ./configure
on this step I had an error saying the following:
./configure: line 3360: syntax error near unexpected
token `PHP_AD
HI:
I use ldd the shared library dependencies:
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4002c000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x4004b000)
libz.so.1 => /usr/lib/libz.so.1 (0x4006c000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4007a000)
20 matches
Mail list logo