Tim Müller wrote:
When the child exits, the callback function you passed to g_child_watch_add()
is called with the exit status of the child, which will tell you if the child
exited with an error or not. On unix, you'll need the macros described in the
waitpid manpage to interpret the exit code
Maciej Katafiasz wrote:
> > >Unless by "build of glade" you mean autogenerated C code, which
> > >is bad, bad, bad thing to use. Use libglade, really.
> > why it is bad? I use it and it works just fine and I don't have
> > glade dependiencies.
> Because it makes it impossible to later rework UI
hi;
i have a pbm, using fileslection widget i am selecting the file and i
would like to append the same to the clist_widget.
create_window_new2 is the window name, clist_sst_file_sel is the name
of the clist.
sst_file_sel = create_window_new2 ();
clist_file_sel = lookup_widget (sst_file_s
Hi Michal,
This might be the solution, if I understand you right.
General information.
If you write C code, and want to access lots of
variables from a Callback, then there are a few simple
ways.
1: Make all the variables global, so you can access
them anywhere[function] in C.
2: Make a single g
> I sucessfully loaded a image using pixbufs, but now i face the
> difiiculty of loading multiple images in a window and those images
> are transparent one. so each must be visible.
You mean all overlapping each other? You can only display a single "flat"
image (animations not counted). So if
-- Forwarded message --
From: Raghavendra <[EMAIL PROTECTED]>
Date: May 25, 2005 9:59 AM
Subject: Re: simple example of using gdk_pixbuf_new_from_file
To: Muthiah Annamalai <[EMAIL PROTECTED]>
Cc: gtk-app-devel-list@gnome.org
i sucessfully loaded a image using pixbufs.
thanks to M
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jacob Kroon <[EMAIL PROTECTED]> writes:
> Lets say I've written an abstract class Foo (a class that is not
> supposed to be instantiated), and a class that inherits from Foo
> called Bar, which is instantiable. Foo takes 2 constructor
> arguments/prop
Jacob Kroon wrote:
[...]
What does it mean by "delay initialization completion until the property
is set" ?
You can override the "constructor" in your class_init function
see: le-hacker.org/papers/gobject/
and read about the constructor, it is important that you chain up
to the real gobject c
On 05/30/2005 04:44:00 PM, Michal Porzuczek wrote:
Hi,
I was wondering if it is possible to set a Toggle Button's
state to something else when you are inside another Toogle
Button's callback. I know there is the
gtk_toggle_button_set_active method but that requires you to
have the GtkTog
Lets say I've written an abstract class Foo (a class that is not
supposed to be instantiated), and a
class that inherits from Foo called Bar, which is instantiable. Foo
takes 2 constructor arguments/properties
"x" and "y". Bar:s constructor takes the samt arguments. In order to
initialize some o
Hi,
I was wondering if it is possible to set a Toggle Button's state to
something else when you are inside another Toogle Button's callback. I
know there is the gtk_toggle_button_set_active method but that
requires you to have the GtkToggleButton. Is there another method that
only uses the Widget
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Giovanni Manenti <[EMAIL PROTECTED]> writes:
> Hi, how can I get the parent of a widget?
>
> I'm using gtk 1.2.
Check gtk/gtkwidget.h (widget->parent). GTK+ 1.2 is well past it's
use by date, though. Use gtk_widget_get_parent() in GTK+ 2.x.
Regar
Hi, how can I get the parent of a widget?
I'm using gtk 1.2.
thanks
Giovanni
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 05/30/2005 05:42:49 AM, abhi rocks wrote:
hi
Could someone please tell me how to access the
GtkEntry field in the GnomeDateEdit widget.
I believe you can't.
Or it would be cooler if someone could tell me how to
extract the date and time from time_t data type.
g_date_set_time will initia
On Monday 30 May 2005 13:31, Colossus wrote:
> I'm trying to catch the returned error message of the unzip
> executable with GIOChannel. I use g_spawn_async_with_pipes and
> then I create a GIOChannel and then i call g_io_add_watch. I run
> unzip with an incomplete zip file so the unzip executable
Hi,
I'm trying to catch the returned error message of the unzip
executable with GIOChannel. I use g_spawn_async_with_pipes and
then I create a GIOChannel and then i call g_io_add_watch. I run
unzip with an incomplete zip file so the have the unzip executable
fails with an error message but the G_
Hi,
I use g_spawn_async_with_pipes with these parameters:
if ( ! g_spawn_async_with_pipes (
NULL,
argv,
NULL,
(GSpawnFlags) G_SPAWN_SEARCH_PATH |
G_SPAWN_DO_NOT_REAP_CHILD|G_SPAWN_LEAVE_DESCRIPTORS_OPEN,
NULL,
NUL
hi
Could someone please tell me how to access the
GtkEntry field in the GnomeDateEdit widget.
Or it would be cooler if someone could tell me how to
extract the date and time from time_t data type.
Thanks
Abhishek Samuel
___
Hi everybody!
Now I'm porting some project from Gtk+-1.2 to Gtk+-2.6 and have some
questions on GtkTreeView (with GtkListStore as a model):
1) Rows in GtkTreeView are higher than in GtkCList because of the much
free space between them. How can I make GtkTreeView more compact?
2) When pressing t
19 matches
Mail list logo