Are windows necessary?

2005-08-23 Thread LaundroMat
Hi, Quick question: is it possible to draw buttons on an empty screen (ie without a window parent)? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Are windows necessary?

2005-08-23 Thread Liam R E Quin
On Tue, 2005-08-23 at 11:07 +0200, LaundroMat wrote: Hi, Quick question: is it possible to draw buttons on an empty screen (ie without a window parent)? Under X, not really, you'd be drawing on the root window, which is itself a window. If you want the *appearance* i.e., user can't move the

Custom (Composed) Widget

2005-08-23 Thread Razvan Gavril
I want to create a custom widget composed of several existing widgets but let me explain a little: I already have a class (GcFullPanel) that is derived form GObject. This class populates an GtkTreeView with a directory listing and some other gtk widgets. All this widgets are stored in a

Re: GTK widget to display pie charts

2005-08-23 Thread Jody Goldberg
On Tue, Aug 23, 2005 at 07:26:40PM +0200, Attilio Fiandrotti wrote: hi i was looking for a gtk widget to display simple 2d pie chart, but i couldn't find nothing but this http://mail.gnome.org/archives/gtk-list/1998-August/msg00369.html does such a widget do exists and has been

Re: GTK widget to display pie charts

2005-08-23 Thread Attilio Fiandrotti
Jody Goldberg wrote: On Tue, Aug 23, 2005 at 07:26:40PM +0200, Attilio Fiandrotti wrote: hi i was looking for a gtk widget to display simple 2d pie chart, but i couldn't find nothing but this http://mail.gnome.org/archives/gtk-list/1998-August/msg00369.html does such a widget do exists

Re: uimanager toolbar, change style(icon only, text only, or both)

2005-08-23 Thread Yogesh M
toolbar has lot of depreciated commands, will toolbar be completely depreciated and removed in future. Yogesh M [EMAIL PROTECTED] wrote:I have a toolbar made from uimanager, I want to change the style(icon only, text only, or both) in the run time. doest it allows or should i fix to

stdin redirection help...

2005-08-23 Thread John Coppens
Hello all. I'm trying to run SPICE from inside a GTK program. I've redirected stdin, stdout and stderr via pipes. The problem I have is with stdin: How can I tell spice to stop asking for input till I want to send some more? I read up some about directing the input to /dev/null, which would

Re: stdin redirection help...

2005-08-23 Thread Wallace Owen
It's because /dev/null will only feed you EOF when you try to read from it. On Tue, 2005-08-23 at 17:07 -0300, John Coppens wrote: Hello all. I'm trying to run SPICE from inside a GTK program. I've redirected stdin, stdout and stderr via pipes. The problem I have is with stdin: How can I

Re: TreeView with CellRendererText extended as (new class) CellRendererWidget: can't see widget...

2005-08-23 Thread bus . dch
[EMAIL PROTECTED] wrote: Hello! I'm pasting a test file in below. I am trying to embed widgets in the TreeView. However, when I run the following file, I cannot see the widget. I am using: atk-1.10.1 glib-2.8.0gtkmm-2.6.4 pango-1.10.0 cairo-0.9.2 glibmm-2.6.1

How to draw graph usibg pixmap

2005-08-23 Thread sadhees kumar
Hello everybody, In my application i draw graphs using expose_event but the screen becomes very slow if i do so. I would like to have a small example program (to draw a line or box) using pixmap.It will be very helpfull for me.

Partially disable checkbox

2005-08-23 Thread Greg Breland
I need to partially disable a checkbox control. I don't want the checkbox to toggle when a user clicks on it but I want the click event or something similar to fire. Something similar to the editable property on a text control. I've thought about using the click event to just toggle the control

Re: canvas notes

2005-08-23 Thread Alexander Larsson
On Mon, 2005-08-15 at 20:06 +0200, Soeren Sandmann wrote: Havoc Pennington [EMAIL PROTECTED] writes: So random thoughts. A few more random thoughts: - Zooming is more than just setting a transformation matrix because the reason you want to zoom is to see more details. So somehow a

Re: Announcing: Project Ridley

2005-08-23 Thread Olexiy Avramchenko
What about XML support ? Now we have: - basic XML subset in GLib - libxml2 - expat Moving all XML features to GLib doesn't look good, neither looks good having three separate libraries with the same functionality. Olexiy ___ gtk-devel-list

GTK+ irc team meeting

2005-08-23 Thread Matthias Clasen
I may be a bit late today, since I'll have to bike home before the meeting. The meeting is intended for the GTK+ team, but everybody is welcome to come and listen. The meeting logs will be posted on the GTK+ website (http://www.gtk.org/plan/meetings). Place: irc.gnome.org:#gtk-devel Time:

Re: Announcing: Project Ridley

2005-08-23 Thread Florian Boor
Hello all, Jonathan Blandford wrote: The primary goal of Project Ridley is to cut down on the number of problem libraries that are part of the GNOME platform. We propose to do this by moving functionality into GTK+, wherever it makes sense. These libraries are generally small,

installation problems x lib error

2005-08-23 Thread Andrew Jones
hey folks, so far managed to solve the jpeglib problem (recompile jpeglib with shared enabled) anyway, now getting this error when I try to configure gtk: checking for X... no configure: error: X development libraries not found I have installed the X libs from www.freedesktop.org any idea?

Memory Leaks

2005-08-23 Thread Andrew Krause
I think this is more of a general C/C++ question, but I'll try here. My problem is that as my application runs longer, the memory usage slowly creeps up higher and higher. For example, if I call my Environment Settings dialog five times in a row, each time it uses more memory. Now this makes

when compiling gtk2.6.[9 or 10] : Cant recognize the image file format error and build failed

2005-08-23 Thread lspp_at_fremont
Hi All -- i tried google search on this and found that there are people encounter the same problem back to 2.2.2 or earlier, this error comes up when the make enter /gtk/stock-icons saying failed to load ./stock_about_16.png: couldnt recognize the image file format for file

Re: Memory Leaks

2005-08-23 Thread Todd Fisher
Andrew Krause wrote: I think this is more of a general C/C++ question, but I'll try here. My problem is that as my application runs longer, the memory usage slowly creeps up higher and higher. For example, if I call my Environment Settings dialog five times in a row, each time it uses more

Re: Memory Leaks

2005-08-23 Thread Chris Vine
On Tuesday 23 August 2005 19:57, Andrew Krause wrote: I think this is more of a general C/C++ question, but I'll try here. My problem is that as my application runs longer, the memory usage slowly creeps up higher and higher. For example, if I call my Environment Settings dialog five times in

Re: Memory Leaks

2005-08-23 Thread Sven Neumann
Hi, Andrew Krause [EMAIL PROTECTED] writes: I think this is more of a general C/C++ question, but I'll try here. My problem is that as my application runs longer, the memory usage slowly creeps up higher and higher. For example, if I call my Environment Settings dialog five times in a row,

Re: installation problems x lib error

2005-08-23 Thread Valdis . Kletnieks
On Wed, 24 Aug 2005 01:54:37 +0900, Andrew Jones said: checking for X... no configure: error: X development libraries not found I have installed the X libs from www.freedesktop.org any idea? 1) Where in the filesystem tree did the libraries get installed? 2) Did you remember to install the

Re: GtkTreeModelSort + GtkTreeModelFilter

2005-08-23 Thread muppet
On Aug 23, 2005, at 7:27 AM, Jens Luedicke wrote: muppet wrote: Sure you can. See attached example, modelmodelmodel.pl... a sorted and filtered list. That's probably a rather heavyweight way to do it, but it is at least possible. it doesn't work if you try to use a custom sort

Re: GtkTreeModelSort + GtkTreeModelFilter

2005-08-23 Thread Jens Luedicke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 muppet wrote: Well, technically, TreeSortable is an interface that you can implement, but TreeModelSort and TreeModelFilter are actual objects that act as proxy models. The TreeModelSort or TreeModelFilter is a real object, but doesn't hold

Re: Making Glade created ComboBox behave like Gtk2::ComboBox-new_text?

2005-08-23 Thread Martin Junius
muppet wrote: This works mostly by accident, because you set up your model the same way that new_text() does. append_text() merely does this (in C rather than perl, but): sub append_text { my ($combobox, $text) = @_; my $model = $combobox-get_model; $model-set

Re: Using Gtk2::Helper-add_watch() or Glib::IO-add_watch

2005-08-23 Thread ofey aikon
That's quite possible. Win32 is infamous for its rather broken pipes. One aspect of that is that pipes and network sockets behave differently wrt select(), mostly in that pipes tend to be broken while sockets work. Well, after spending a bit more time on this, I concluded that using pipes