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 t

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 GtkCont

Re: Custom (Composed) Widget

2005-08-23 Thread Tristan Van Berkom
Razvan Gavril wrote: [...] The Question : What property/method of the GtkWidget should i rewrite to do this, You should derive from a GtkWidget that does almost everything you need it to do already and only override methods where you want the behaviour of the widget to be different (and rememb

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

GTK widget to display pie charts

2005-08-23 Thread Attilio Fiandrotti
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 developed recently? thanks attilio _

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 and

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 GtkTool

creating a entry "mask"

2005-08-23 Thread Arx Henrique
Hi all anyone have some example about how create a mask for a gtkentry? like __/__/ for date, when the user digit a number if the position = 3 insert a "/" and so on. i'm try to use text-inserted event to do this, but always i get a segmentation. cheers Arx Cruz -- "A fé remove montanas,

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 provi

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 c

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 libi

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 cont