about button and tooltip in GTK_WINDOW_POPUP

2005-08-20 Thread Cai Qiang
Hi, I encounter below problem when using a GTK_WINDOW_POPUP type gtk_window(see the attached code): When I use GTK_WINDOW_TOPLEVEL,all work fine:when mouse on button, buuton will float; tooltip also will display; But in GTK_WINDOW_POPUP case, they don't work. Do I miss any setting proced

using GtkHTML and GtkSourceView in a Glade app

2005-08-20 Thread William Page
I'm trying to build a Gnome app that has a GtkNotebook with 2 tabs, one containing a GtkHTML, and one containing a GtkSourceView, but they just don't show up, and I get an error from glade trying to add the GtkHTML widget. glade-2 doesn't have built-in support for those widgets, but it does have a

Cross-platform svg support

2005-08-20 Thread Eugene Morozov
Hello! I'm writing crossplatform pygtk application. It should run at least on linux and win32 platforms. My application heavily uses SVG graphics. Unfortunately, there's no support for SVG in win32 version of GTK. Does anyone know if there's svg pixbuf loader for win32? Thanks in advance, Eugene

drawing text in gtkdrawable...

2005-08-20 Thread Marek Florianczyk
Hi, I'm using Pango to draw text, for example: double x=3,14; PangoLayout *mytext; char num[5]; sprintf(num,"%.2f",x); mytext=gtk_widget_create_pango_layout(my_drawable,num); gdk_draw_layout(pixmap,gc,450,450,mytext); works fine, but how do I draw text that I can rotate 360 degrees (eg. draw ho

Re: How to remove close button "x" from title bar of the window

2005-08-20 Thread Gian Mario Tagliaretti
2005/8/20, David Necas (Yeti) <[EMAIL PROTECTED]>: > On Sat, Aug 20, 2005 at 03:43:19PM +0530, sadhees kumar wrote: > To conclude, this is not under app developer control nor > anything you should really care of. furthermore doing it you will create HIG (accessibility) problems. cheers -- Gia

Re: Waking XScreensaver on LIRC event

2005-08-20 Thread Daniel Pekelharing
Hi, On Sun, 2005-08-21 at 00:49 +0930, n0dalus wrote: > Hi Daniel > > Sounds like a cool idea. My solution to the same problem is as follows: > > You can start/stop xscreensaver with the commands: > xset s activate > xset s reset > > (On an interesting side-note, it's quite easy to use xset to

Re: How to remove close button "x" from title bar of the window

2005-08-20 Thread David Necas (Yeti)
On Sat, Aug 20, 2005 at 03:43:19PM +0530, sadhees kumar wrote: > > There is one more big problem that im facing in my > gtk+ .I have created a mainwindow & many popup windows.The problem is > that i dont want the " X " (close) button & " \/ " (options)button in > the right and

How to call a saved file using Gtk programming

2005-08-20 Thread harshavardhanreddy mandeepala
Hi I am using FC3. I have developed an application using Glade and Gtk programming. In my application i want to call a saved file (Ex abc.doc) using a function. So is there any function in Gtk or in Gdk which will call abc.doc using file pointer. OR Is there any other way of doing it. Thanks

How to remove close button "x" from title bar of the window

2005-08-20 Thread sadhees kumar
Hi Andreas, The stuff that you send me was really usefull, it was very pleasant to see it work. I indeed thank you very much for it.It seems that you are a genious in gtk+. There is one more big problem that im facing in my gtk+ .I have created a mainwindow

Re: window stacking problem

2005-08-20 Thread Olexiy Avramchenko
Boncek, John wrote: Using GTK 2.2.4 in an embedded app with fixed resolution, I have a GtkFixedContainer with two children: 1. a GtkDrawingArea containing some drawing. 2. a GtkButton intended to overlay (1). They are created in that order, so I would think the button would be on top of the d

Re: window stacking problem

2005-08-20 Thread David Necas (Yeti)
On Fri, Aug 19, 2005 at 04:54:35PM -0500, Boncek, John wrote: > Using GTK 2.2.4 in an embedded app with fixed resolution, I have a > GtkFixedContainer with two children: > > 1. a GtkDrawingArea containing some drawing. > 2. a GtkButton intended to overlay (1). > > They are created in that order