Re: Newbie Q: Colours

2001-07-01 Thread Havoc Pennington
"George Ogata" <[EMAIL PROTECTED]> writes: > // make gc and set fgcolor > gc = gdk_gc_new(darea1->window); > gdk_gc_set_foreground(gc, blue); > > // make it happen > gdk_draw_rectangle (darea1->window, > gc, > TRUE, > 0, 0, > darea1->allocation.width, >

Problems with window position, virtual desktops and fonts

2001-07-01 Thread Jan-Marek Glogowski
Hi I have a few problems: 1. Positioning of windows 2. Show / Hide a window on the same virtual desktop 3. Quick way to find the best font to fill an area I have a problem with the window positioning Here is the code from the first problem: [schnipp] void displayer_karaoke_window_finish(voi

Re: ICONS!!!

2001-07-01 Thread Stephen Witkop
On 01 Jul 2001 11:13:30 -0400, Havoc Pennington wrote: > > Stephen Witkop <[EMAIL PROTECTED]> writes: > > I've been calling it after gtk_widget_show (window); and before > > gtk_main(); > > > > The only problem I've seen with using this function has been with icewm. > > It doesn's use the icon

Newbie Q: Colours

2001-07-01 Thread George Ogata
Hi, I'm trying to work out how to do coloured drawing stuff. I've read the FAQ, the tute, the reference, archives, other sources, and this colour kerfuffle's giving me the shiz. As a "trivial" exercise, I'm simply trying to open up a GtkWindow and smack a dirty big blue rectangle in it. It won

Re: XPM collection?

2001-07-01 Thread Mark Leisher
Aaron> This probably gets asked a lot but it's not in the FAQ so... Can Aaron> anyone recommend a good site to get collections of XPM icons? There used to be a collection called "AIcons (Anthony's Icons)". It's been around for a long time. I'm not sure where to find it at the moment.

Re: ICONS!!!

2001-07-01 Thread Havoc Pennington
Stephen Witkop <[EMAIL PROTECTED]> writes: > I've been calling it after gtk_widget_show (window); and before > gtk_main(); > > The only problem I've seen with using this function has been with icewm. > It doesn's use the icon set here however gnome, kde and netscape 4.x > icons do work. I assum

Re: ICONS!!!

2001-07-01 Thread Stephen Witkop
On 30 Jun 2001 21:13:43 -0400, Havoc Pennington wrote: > > Chris Hansen <[EMAIL PROTECTED]> writes: > > > > > >Subject: Re: ICONS!!! > > > From: Stephen Witkop <[EMAIL PROTECTED]> > > > Date: 30 Jun 2001 19:15:17 -0400 > > > To: [EMAIL PROTECTED] > > > > > >Luckily we have: > > > > > >voi

Re: win32 port

2001-07-01 Thread ZB
http://mail.gnome.org/archives/gtk-devel-list/2000-July/msg00421.html >From the gtk-devel-list forum. Zev. --- watchthinker <[EMAIL PROTECTED]> wrote: > Dear All: > > I am new to gtk. > > I want to use gtk to write win32 programs. But when > the complied > program run, there is a