> As I understand it string = g_strdup_printf(... produces a copy and
> points string towards that copy, the adress of the copy is then
> passed on by g_signal_connect as the data pointer, hence freeing
> string destroys the string and should not be done (and doing it
> produces random output in t
> i am incrementing count just using a for loop, and what ever the
> value variable is having will be displayed in gtk_entry. like that
> i can able to display the increment value in gtk_entry.
First of all, why on earth are you using a for loop!? Either user a timeout or
an idle, to increment
Can I use Notebook class for creating notebook with scrollbar near the
tabs? Scrollbar, that used for selected child. Or I should create new
widget and don't use code of Notebook?
Examle of such widget you can watch in OpenOffice SpreadSheet.
___
gtk
GTK+ 2.7.1 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.7/
gtk+-2.7.1.tar.gz md5sum: 26c3207e6ef72fb53eac8fbb2af6fa00
gtk+-2.7.1.tar.bz2 md5sum: d05a9a5b2db06960ebcc4031f9f16fa3
This is the second development release loading up to GTK+ 2.8.
Notes:
* This is unstable d
well, my Makefile is like this now
PREFIX=/mingw
PATH=/d/GtkWin/bin:/usr/bin:/bin:/mingw/bin
CPPFLAGS=-O2 -I/d/GtkWin/include
PKG_CONFIG_PATH=/d/GtkWin/lib/pkgconfig
LD_LIBRARY_PATH=/d/GtkWin/bin:/d/GtkWin/lib:/lib:/usr/lib:/mingw/lib
GTK_CFLAGS=`pkg-config --cflags gtk+-2.0 | sed -e 's/d:/\/d/'`
Hi all,
In my application I am using a widget, say vbox.
When that widget is destroyed, I want to delete all
the associated objects that I allocated. So, I
attached a delete_event and destroy_event callback.
But this callback is not called, when I destroy the
container of the vbox.
Initially I
On Fri, 1 Jul 2005 12:06:28 -0300
Ricardo Malafaia <[EMAIL PROTECTED]> wrote:
> Hello, all!
>
> I'm sure this has been asked before and i searched the archives, but
> couldn't find anything to help me. So, can anyone give me a hand?
>
> I'm having problems with the linking step, as noted in mes
Hello, all!
I'm sure this has been asked before and i searched the archives, but
couldn't find anything to help me. So, can anyone give me a hand?
I'm having problems with the linking step, as noted in messages which go like:
test.c: undefined reference to `g_print'
test.c: undefined reference t
顺珉 吴 wrote:
I want all icons and images my programm used be
packaged in to the final execute binary file.
How can I do this?
Use 'gdk-pixbuf-csource' program (comes with gtk source, vendors usually
put it in gtk devel package) to translate image to C source code.
gdk_pixbuf_new_from_data() fun
On Friday 01 July 2005 05:18, 顺珉 吴 wrote:
> I want all icons and images my programm used be
> packaged in to the final execute binary file.
> How can I do this?
Check out the gdk-pixbuf-csource command line tool that comes with Gtk.
Alternatively, you can convert your icons/images into .xpm form
On Fri, 1 Jul 2005 12:18:05 +0800 (CST)
__ ___ <[EMAIL PROTECTED]> wrote:
> I want all icons and images my programm used be
> packaged in to the final execute binary file.
> How can I do this?
GIMP has an option to convert images to C source file. it should be easy
then to load graphics from
Hello David,
I think you could make the mouse pointer cursor invisible and when you
detect a mouse movement (after you started somehow the "pan" process),
just put the mouse in the original position: in this way you could move
the mouse as long as you wish.
Using XLib in Linux, the code to s
12 matches
Mail list logo