Re: Still some question about row column number. (Re: How to get the row column number of cursor in GtkTextView?)

2002-08-26 Thread Padraig O'Briain
To: [EMAIL PROTECTED] Subject: Still some question about row column number. (Re: How to get the row column number of cursor in GtkTextView?) User-Agent: KMail/1.4.1 Cc: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to

default font.

2002-08-26 Thread peter garrone
I am having trouble setting the font for my application, just having a different font for a GtkLabel. I can change the color using a resource file style, but not the font. I am able to use the use the gtk font select widget to see a range of fonts, and to print their names using

Re: screen resolution

2002-08-26 Thread Sven Neumann
Hi, mr_zali [EMAIL PROTECTED] writes: How can I get information about screen resolution using gtk+. I'm trying to load pixmap into screen, but before that, I need to know which resolution that are currently runnning (800x600, 1024x768, etc). gdk_screen_width(), gdk_screen_height() Salut,

create gtk dll

2002-08-26 Thread Mullin Yu
Hi all, I'm new to gtk, and want to know whetherit allows me to do the following or not? I use standard C to write a dll which is compiled on Windows platform by using VC++ 6.0's nmake. There aresome functions insidethe dll, and those will be calledby the 3GL programming language. It's

help on better image

2002-08-26 Thread simith nambiar
hi there, i have a Logitech Quickcam express up and running, the only problem i have is the color ! the color is a bit bluish when i plot it using gdk_draw_raw_rgb_image using gtk . how do i improve the quality so that the frames appear to be more natural! please help! thanx in

Word, Pdf, etc

2002-08-26 Thread Simon Shearer
Hello all, I need to fing out how php-gtk will work with msword or pdf. The software need to have templates in both of these pragrams then php will replace details from the database. I need to show people the document, print in and save it. If any one could help, please. We will be looking

Re: default font.

2002-08-26 Thread Amit
you should follow this procedure. GdkFont * english_font ; english_font= gdk_font_load (-adobe-helvetica-bold-r-normal--12-120-*-*-*-*-*-*) ; KeyPadDrawArea(any widget)-style-font=english_font; - Original Message - From: peter garrone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: default font.

2002-08-26 Thread Sven Neumann
Hi, Amit [EMAIL PROTECTED] writes: you should follow this procedure. GdkFont * english_font ; english_font= gdk_font_load (-adobe-helvetica-bold-r-normal--12-120-*-*-*-*-*-*) ; KeyPadDrawArea(any widget)-style-font=english_font; no, you shouldn't, unless you are still using gtk+-1.2.

About GtkTreeView GtkTreeSelection

2002-08-26 Thread mili
Hello, Everyone 1. I want to force my tree view select a row at any time as long as the view is not empty. When I delete a selected row with: gtk_tree_store_remove(tree_store,@iter); There is no row selected. I did add such code after the above:

Can Anybody give me a code example of Changing font for TextView?

2002-08-26 Thread mili
Hi, anybody I test the font changing to a TextView, but NO USE! Not only font family is not changed, also the font size is the same as before. I hope you can give me a successful example, it'd better to select font with a GtkFontSelection. Thank you. mili

problem with check_button in notebook tab

2002-08-26 Thread Egon Andersen, Talura
Hi, [gtk2+] I've inserted a check_button in some notebook tabs, which works fine in my linux environment, but when I ported the code to windows, the check_button could not be set/unset and the connected tooltips didn't appear either. I don't have problems with check_buttons or tooltips in other

Gdk-Pixbuf Problem

2002-08-26 Thread anita setty
Hello, I was able to compile gtk-2.0 on solaris and install it along with glib, atk and pango. I have installed the library in /usr/local/lib. Header's are installed in /usr/local/include. I am trying to use the function gdk_pixbuf_xlib_get_from_drawable() which returns a GdkPixbuf. I have

Re: Still some question about row column number. (Re: How to getthe row column number of cursor in GtkTextView?)

2002-08-26 Thread Gustavo Giráldez
Hi, On Mon, 2002-08-26 at 04:47, Padraig O'Briain wrote: I tested your code piece. There's still two questions: 1. The resulted rect is a GdkRectangle, it's members x,y is pixel, so how can I convert it to line number and column number? I am not sure what you mean by column number

Re: Gdk-Pixbuf Problem

2002-08-26 Thread Gustavo Giráldez
Hi, On Mon, 2002-08-26 at 20:05, anita setty wrote: Hello, I was able to compile gtk-2.0 on solaris and install it along with glib, atk and pango. I have installed the library in /usr/local/lib. Header's are installed in /usr/local/include. I am trying to use the function