GtkTreeView issues (porting from GtkCList)

2005-05-30 Thread Yury Aliaev
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

GnomeDateEdit

2005-05-30 Thread abhi rocks
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

Distinguish between G_IO_ERR and G_IO_HUP

2005-05-30 Thread Colossus
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

Re: Distinguish between G_IO_ERR and G_IO_HUP

2005-05-30 Thread Tim Müller
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

Re: GnomeDateEdit

2005-05-30 Thread Peter Bloomfield
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

get parent

2005-05-30 Thread Giovanni Manenti
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

Re: get parent

2005-05-30 Thread Roger Leigh
-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. Regards,

State changing of Toggle Buttons

2005-05-30 Thread Michal Porzuczek
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

Arguments in GObject-based object constructor

2005-05-30 Thread Jacob Kroon
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 of

Re: State changing of Toggle Buttons

2005-05-30 Thread Peter Bloomfield
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

Re: Arguments in GObject-based object constructor

2005-05-30 Thread Tristan Van Berkom
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

Re: Arguments in GObject-based object constructor

2005-05-30 Thread Roger Leigh
-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

simple example of using gdk_pixbuf_new_from_file

2005-05-30 Thread Raghavendra
-- 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

RE: simple example of using gdk_pixbuf_new_from_file

2005-05-30 Thread Freddie Unpenstein
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

gtk clist append

2005-05-30 Thread srinivas
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

Re: Glade C code a bad thing? (was: root windows)

2005-05-30 Thread Gus Koppel
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 without

GnomeDateEdit

2005-05-30 Thread abhi rocks
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

attaching callback to a GtkClist entry...

2005-05-30 Thread Norman Peelman
Is this possible? I have a multi-paned view where I would like to update some text labels based on which GtkClist entry has focus. I am currently accomplishing this through a gtk::timeout_add that runs every 50 milliseconds (I can increase this time but then the view is not as responsive). This

Creating themable custom stock icons

2005-05-30 Thread Andrew Conkling
I've talked with Owen on IRC a few times about how to theme custom stock icons from various GTK+ programs. Basically, what he said came down to using some specific code from iconfactory.c. As this didn't seem to be documented (and I don't know C), I got some help from muntyan on IRC, who was

Re: GnomeDateEdit

2005-05-30 Thread Ben Johnson
On Mon, May 30, 2005 at 10:42:49AM +0100, abhi rocks wrote: 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. look at the

gtk-config and SuSE

2005-05-30 Thread Donn Washburn
Hey Group; Being new to this list - I sure hope this is the correct place to check on gtk-config. I have used SuSE for about ten years and it seems that around 9.0 I started to notice gtk problems. Specifically, dealing with any form of pkg config with or without a -. What has happened to

Re: gtk-config and SuSE

2005-05-30 Thread Daniel Nilsson
On Mon, May 30, 2005 at 08:17:43PM -0500, Donn Washburn wrote: Hey Group; Being new to this list - I sure hope this is the correct place to check on gtk-config. gtk-config is old (from gtk-1.2 which is obsolete), it has been replaced by pkg-config. I have used SuSE for about ten years and

GStreamer 0.01 and accented chars in filenames

2005-05-30 Thread Quentin
I've began adding gstreamer support to my program, But gstreamer can't find files with accented characters, I get : ERROR (0x80be4a8 - 310393:34:49.386823000) filesrc(20818) gstfilesrc.c(778):gst_filesrc_open_file:src No such file /home/squentin/mp3/Artist/Björk/Selmasongs/Björk -

Re: GStreamer 0.01

2005-05-30 Thread Torsten Schoenfeld
On Sun, 2005-05-29 at 16:39 +0200, A. Pagaltzis wrote: If theres only a string value in a scalar, Perl converts it to an integer before doing any math, as we all know. So values 2**32 automatically work, but theres no actual difference to providing integers. Did you actually test with

Re: GStreamer 0.01

2005-05-30 Thread Torsten Schoenfeld
On Mon, 2005-05-30 at 20:16 +0200, Matthias Bläsing wrote: When called for the return value of a query I get the right log value when printing $ns (yes even with value 2^32) and even calculating with it works all right! So I think the problem begins when the tags get converted to the hash.

Re: GStreamer 0.01

2005-05-30 Thread Matthias Bläsing
Am Montag, den 30.05.2005, 20:36 +0200 schrieb Torsten Schoenfeld: On Mon, 2005-05-30 at 20:16 +0200, Matthias Bläsing wrote: When called for the return value of a query I get the right log value when printing $ns (yes even with value 2^32) and even calculating with it works all right!

Announce: Sprog-0.09

2005-05-30 Thread Grant McLean
Hi All Well it's been a while since the last release of Sprog, but once you try it, I hope you'll agree it was worth the wait: * A help viewer is now bundled, help text has been added for all gears and developer notes have been added too. * A bunch of new gears are included in the

Re: GStreamer 0.01 and accented chars in filenames

2005-05-30 Thread muppet
On May 30, 2005, at 10:45 AM, Quentin wrote: I've began adding gstreamer support to my program, But gstreamer can't find files with accented characters, I get : ERROR (0x80be4a8 - 310393:34:49.386823000) filesrc(20818) gstfilesrc.c(778):gst_filesrc_open_file:src No such file