Re: How to use GtkPrint

2007-08-14 Thread Alexander S.Kresin
Tuesday, August 14, 2007, 12:02:44 PM, David Neиas (Yeti) <[EMAIL PROTECTED]> wrote: DNY> is full of `Since 2.10' and `Printing support was added in DNY> GTK+ 2.10.' So where exactly you checked if it exists in DNY> your version of Gtk+? Sorry. I have mixed up it with 2.1. -- Regards, Alexa

Re: How to use GtkPrint

2007-08-14 Thread Alexander S.Kresin
Does this GtkPrint exist at all :) ? I had trying to compile that printing.c, but have found that appropriate header files ( gtkprintcontext.h, gtkprintoperation.h, ... ) doesn't present in my system, through gtk2-devel-2.8.8 is installed ... -- Regards, Alexander

Re: How to use GtkPrint

2007-08-13 Thread Alexander S.Kresin
Thursday, August 09, 2007, 3:15:05 PM, Emmanuele Bassi <[EMAIL PROTECTED]> wrote: >> Doesn't anyone here use GtkPrint ? EB> gtk-demo includes working code for printing. you should have a look at EB> it. EB> http://svn.gnome.org/viewcvs/gtk%2B/trunk/demos/gtk-demo/ Many thanks for a tip.

Re: How to use GtkPrint

2007-08-09 Thread Alexander S.Kresin
Wednesday, August 08, 2007, 11:53:14 AM, Alexander S.Kresin <[EMAIL PROTECTED]> wrote: ASK> could someone give me a link to any description of GtkPrint usage ASK> (not the api reference), any code sample ? Doesn't anyone here use GtkPrint ? What I need to go ahead i

How to use GtkPrint

2007-08-08 Thread Alexander S.Kresin
Hi All, could someone give me a link to any description of GtkPrint usage (not the api reference), any code sample ? -- Regards, Alexander ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Color selection

2006-12-21 Thread Alexander S.Kresin
Hi All, I have a problem with a color selection dialog. The RGB values in the dialog itself are shown as 0..255 for each of the red, green, blue; but the values, returned by gtk_color_selection_get_current_color (colorsel, &color) in color.red, color.green, color.blue are in the range 0..65535. H

Disable menu item

2005-11-03 Thread Alexander S.Kresin
Hello All, Is it possible to disable/enable ( gray/ungray ) menu items ? -- Thanks in advance, Alexander Kresin http://kresin.belgorod.su ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Mouse over the widget

2005-10-28 Thread Alexander S.Kresin
Hello All, I can catch the moment when a mouse pointer appears over a widget - with a "motion_notify_event". But how can I catch the moment when it moves out of the widget ? Or the only way is to use a "motion_notify_event" for other widgets and a parent window ? -- Regards, Alexander

Re[2]: Border

2005-09-19 Thread Alexander S.Kresin
Monday, September 19, 2005, 12:00:41 AM, John Cupitt <[EMAIL PROTECTED]> wrote: JC> If you want to draw a focus rectangle, you can use gtk_paint_focus() JC> in _expose(). Thanks for the tip ! And yet another question: are there any functions, which draws the standard header of a top w

Re[2]: Border

2005-09-18 Thread Alexander S.Kresin
âîñêðåñåíüå, 18 ñåíòÿáðÿ 2005 ã. Rss [EMAIL PROTECTED] wrote: RR> and what about RR> gtk_container_set_border_width(...) ??? This function doesn't draw the border, but only reserve a space for it. RR> --- "Alexander S.Kresin" <[EMAIL PROTECTED]> a RR> é

Border

2005-09-18 Thread Alexander S.Kresin
Hi All, Is it possible to tell GTK to draw a border around a container or any other widget, or I must draw it myself, with gdk_draw_rectangle() for example ? Regards, Alexander Kresin http://kresin.belgorod.su ___ gtk-app-devel-list mailing lis

Pango fonts

2005-01-24 Thread Alexander S.Kresin
Hello All, sorry to disturb you with a simple basic questions, but ... Win32 API has a function GetTextMetric(), which returns the height, maximum char width for a given font in pixels. How can I get the same values for a given PangoFontDescription, or for a pango layout where this font is se

Re[2]: Fonts

2005-01-24 Thread Alexander S.Kresin
On 21.01.2005 15:20, John Cupitt <[EMAIL PROTECTED]> wrote: JC> On Fri, 21 Jan 2005 15:09:45 +0300, Alexander S.Kresin JC> <[EMAIL PROTECTED]> wrote: >> Is the pango font system really better than the old GdkFont ? >> What are the possible problems if I'll