Re: Strange display problem with gtk-win32 and VC++

2010-11-08 Thread John Emmas
On 7 Nov 2010, at 18:14, Jaroslav Šmíd wrote: > So try to set your desired font - edit or create > (GTKDIR)\etc\gtk-2.0\gtkrc and add line like > gtk-font-name = "Segoe UI" > Thanks for the tip. In fact it turned out to be due to the fact that an entry in my pango.modules file had spaces in its

Re: Strange display problem with gtk-win32 and VC++

2010-11-07 Thread Jaroslav Šmíd
So try to set your desired font - edit or create (GTKDIR)\etc\gtk-2.0\gtkrc and add line like gtk-font-name = "Segoe UI" On Sun, Nov 7, 2010 at 2:19 PM, John Emmas wrote: > > On 7 Nov 2010, at 11:39, John Emmas wrote: > >> >>  My guess at the moment is that there's no font being loaded >>  for th

Re: Strange display problem with gtk-win32 and VC++

2010-11-07 Thread John Emmas
On 7 Nov 2010, at 11:39, John Emmas wrote: > > My guess at the moment is that there's no font being loaded > for the label widget. Does that seem like a possible explanation? > Oops, how silly of me! Just noticed some text in the console window saying "Pango-WARNING **: failed to choose a

Re: Strange display problem with gtk-win32 and VC++

2010-11-07 Thread John Emmas
On 7 Nov 2010, at 07:31, Tor Lillqvist wrote: > > if you are trying to use those with a current GLib or GTK+, > please check bugzilla for ones that actually work > I found this info on bugzilla:- https://bugzilla.gnome.org/browse.cgi?product=gtk%2B but it wasn't very obvious which releases a

Re: Strange display problem with gtk-win32 and VC++

2010-11-07 Thread Vincent Torri
On Sun, 7 Nov 2010, Tor Lillqvist wrote: What about joining forces and make one unique official repository for packages on Windows ? You mean, like there is one unique official Linux distribution? nice comment Vincent Torri ___ gtk-app-devel

Re: Strange display problem with gtk-win32 and VC++

2010-11-07 Thread Tor Lillqvist
> What about joining forces and make one unique official repository for > packages on Windows ? You mean, like there is one unique official Linux distribution? --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/

Re: Strange display problem with gtk-win32 and VC++

2010-11-07 Thread Vincent Torri
On Sun, 7 Nov 2010, Tor Lillqvist wrote: no one ever wants to volunteer to help. Actually, that is not true. For instance, the ms-windows theme engine is now effectively maintained once again and compiles and maybe even works in gtk+ master. And for bulding the GTK+ stack for Windows (32- an

Re: Strange display problem with gtk-win32 and VC++

2010-11-07 Thread John Emmas
On 7 Nov 2010, at 00:15, Guy Rouillier wrote: > > Since the number of squares equals the number of characters in the label you > are trying to display, the problem appears to be one of font rendering. > Thanks Guy. I think I've been easing towards that conclusion myself but it's good that so

Re: Strange display problem with gtk-win32 and VC++

2010-11-07 Thread Tor Lillqvist
>no one ever wants to volunteer to help. Actually, that is not true. For instance, the ms-windows theme engine is now effectively maintained once again and compiles and maybe even works in gtk+ master. And for bulding the GTK+ stack for Windows (32- and 64-bit), I very much plan to stop doing it m

Re: Strange display problem with gtk-win32 and VC++

2010-11-06 Thread Guy Rouillier
On 11/6/2010 1:03 PM, John Emmas wrote: If I build the app and link it to the official gnome binaries, it works perfectly well. However, if I rebuild those binaries (using the various Visual Studio projects supplied with gtk / glib etc) the app doesn't work. The window and title display correc

Strange display problem with gtk-win32 and VC++

2010-11-06 Thread John Emmas
For the past few years I've been migrating my Windows apps to GTK+ which I now tend to use in preference to Microsoft's MFC. However, I've always been conscious of the fact that the official gnome binaries are (apparently) built using the 'C' runtime that equates to VC6. VC6 has been obsolete

Run time problem with gtk+-2.16.6

2009-10-20 Thread Abhijit Dutta
Hi, I am new to GTK. I have downloaded the GTK ver 2.16.6 and compiled it in FC9. While running helloworld (sample from gtk.org) I am getting the following error: [...@localhost ~]$ ./helloworld (helloworld:23339): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)'

Re: problem with gtk-doc

2008-04-13 Thread Stefan Kost
hi, Tomasz Jankowski schrieb: > Hi! > > Like in topic. Everything works great, gtk-doc builds types tree, generates > descriptions for functions, structures, enumerations and properties. The > only thing, which doesn't is generating descriptions for signals. There is > no information about signal

problem with gtk-doc

2008-04-06 Thread Tomasz Jankowski
Hi! Like in topic. Everything works great, gtk-doc builds types tree, generates descriptions for functions, structures, enumerations and properties. The only thing, which doesn't is generating descriptions for signals. There is no information about signals in output html files. I used comment styl

Re: Problem with gtk-doc

2007-11-07 Thread Stefan Kost
hi, Quoting Tomasz Jankowski <[EMAIL PROTECTED]>: > Hello! > > I have problem with gtk-doc. There is [EMAIL PROTECTED] > I configured it in my project an everything was > fine (i had object hierarchy etc.). Now I added two new source files which > decalre two new objects

Problem with gtk-doc

2007-11-07 Thread Tomasz Jankowski
Hello! I have problem with gtk-doc. I configured it in my project an everything was fine (i had object hierarchy etc.). Now I added two new source files which decalre two new objects. Gtk-doc sees these new source files, it added symbols to *unused.tx file, but it did not build new documentation

Re: Problem with gtk threads...

2007-10-04 Thread Tor Lillqvist
> >From the threads, I need to update the UI. The overwhelming consensus, I think, is that even if possible (on X11, with proper use of the gdk locking functions etc), this is a bad idea. Instead, call g_timeout_add() in your threads to schedule functions to be run in the main GUI thread, and have

Problem with gtk threads...

2007-10-04 Thread Suma H S
hi, I am creating a threaded Gtk Application where threads are used for doing some time consuming computations. >From the threads, I need to update the UI. I have surrounded the Gtk code with gdk_threads_enter() and gdk_threads_leave(). The code works fine, however I have encountered two instanc

Re: Problem with gtk drawing primitive

2007-05-28 Thread Jerome Blondel
David Nec(as (Yeti) : > On Mon, May 28, 2007 at 08:21:01PM +0200, Jerome Blondel wrote: > >> I'm making a widget from scratch using the tutorial's GtkDial as a base. >> For now I just want to draw something in my widget. The following error >> occurs >> >> (test_sw:4242): Gtk-CRITICAL **: gtk

Re: Problem with gtk drawing primitive

2007-05-28 Thread Yeti
On Mon, May 28, 2007 at 08:21:01PM +0200, Jerome Blondel wrote: > I'm making a widget from scratch using the tutorial's GtkDial as a base. > For now I just want to draw something in my widget. The following error > occurs > > (test_sw:4242): Gtk-CRITICAL **: gtk_paint_polygon: assertion > `sty

Problem with gtk drawing primitive

2007-05-28 Thread Jerome Blondel
Hi I'm making a widget from scratch using the tutorial's GtkDial as a base. For now I just want to draw something in my widget. The following error occurs (test_sw:4242): Gtk-CRITICAL **: gtk_paint_polygon: assertion `style->depth == gdk_drawable_get_depth (window)' failed This is the code i

Re: Problem with gtk-doc tool

2007-01-30 Thread Tristan Van Berkom
On Tue, 2007-01-30 at 16:09 +0100, Tomasz Jankowski wrote: [...] > Like I can see gtk-doc doesn't recognize C preprocessor directives :( > > Can someone help me solving this problem? This library is (I mean it will > be) available on Linux and win32, so it's very important for me to have my > own,

Problem with gtk-doc tool

2007-01-30 Thread Tomasz Jankowski
Hi! I'm writing library based on GObject and I have problem with generating API reference for it. Here piece if header file, which occur problems : /*** *goofy-socket.h * * ...about GPL license... ***

RE :Problem with gtk (done )

2006-12-20 Thread Naveen Kumar
Thank u all, now i found the solution. i am not sure is it that right way to do that but thing is working fine.. what i have done is i have placed these two statements in the while loop. if(gtk_events_pending()) gtk_main_iteration(); Naveen _

Re: Weird problem with GTK+ 2.10.6

2006-12-20 Thread Chris Vine
On Tuesday 19 December 2006 21:21, Tomasz Jankowski wrote: > Update: > I was wrong - the same situation occurs on all platforms You cannot use gdk_threads_enter() and gdk_threads_leave() on windows. It should work on Unix-like systems with the X11 backend, and if it doesn't it is likely to

Re: Weird problem with GTK+ 2.10.6

2006-12-19 Thread Tomasz Jankowski
Update: I was wrong - the same situation occurs on all platforms ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Weird problem with GTK+ 2.10.6

2006-12-19 Thread Tomasz Jankowski
Hi there! Maybe problem, which affect isn't a bug in GTK+, maybe it's occurred by something else, I don't know. Here's short description. I write small multi thread application in C language. Whole code is based on GTK+/GLib and GObject. I have problem with dealing with GtkProgressBar. Window, whi

RE :Problem with gtk (done mistake)

2006-12-17 Thread Naveen Kumar
Hi all, Please excuse for my mistake... I am very sorry for sending a wrong part of the code it is actually.. #include int main () { int i=0; while(i < 264000) printf("%d\n",i++); } it works very fine in my machine without any problem. (it takes around 1.2 minutes) 2)If try to run the same par

RE: Problem with gtk

2006-12-17 Thread Tony Freeman
Hello, > int main () >{ > int i; > while (i < 25000) > printf ("%d\n", i); >} Create a file called "test.c" and add these lines: #include int main (int argc, char *argv[]) { int i = 0; while (i < 25000) {

Re: Problem with gtk

2006-12-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Dec 16, 2006 at 04:55:48PM +0530, Naveen Kumar wrote: > Hi all, > > I am using an hand held device running on montavista linux, > 1) i wrote a c program > > int main () >{ > int i; i is uninitialized here. It contains

RE: Problem with gtk

2006-12-16 Thread Viraj Chatterjee
ember 16, 2006 4:56 PM To: gtk-app-devel-list@gnome.org Subject: Problem with gtk Hi all, I am using an hand held device running on montavista linux, 1) i wrote a c program int main () { int i; while (i < 25000) printf ("%d\n", i); } it

Problem with gtk

2006-12-16 Thread Naveen Kumar
Hi all, I am using an hand held device running on montavista linux, 1) i wrote a c program int main () { int i; while (i < 25000) printf ("%d\n", i); } it works very fine in my machine without any problem. (it takes around 1.2 minutes) 2)If try to r

problem with gtk view

2006-08-29 Thread Rajesh kumar
hi I have created textview widget through GLADE application and showing char strings on text view which is created by glade interface designer 2.0 available with Fedorra-1 The problem is that sometimes it is working correctly but other times segfault is coming. There are two threads are running O

Re: Problem with gtk printing

2006-08-12 Thread Chris Vine
On Saturday 12 August 2006 16:45, Sebastian Filippini wrote: > Hi. > > My name is Sebastian, I'm new in gtk programming. I'm having a problem when > I try to use the new print support: > > When I invoke gtk_print_operation_run() print dialog is opened. Then, when > the CUPS printer is being loaded,

Problem with gtk printing

2006-08-12 Thread Sebastian Filippini
Hi. My name is Sebastian, I'm new in gtk programming. I'm having a problem when I try to use the new print support: When I invoke gtk_print_operation_run() print dialog is opened. Then, when the CUPS printer is being loaded, application ends with: symbol lookup error: /usr/lib/gtk-2.0/2.10.0/pri

Problem with GTK for Windows

2006-08-01 Thread Guenther Sohler
Dear Group, I am very happy beeing able to use GTK for Windows to successfully port My Linux Application to Windows! ITs almost Perfect. There is just a small Problem remaing, but I dont get it solved. In My Application I use following construct: var=gdk_pixmap_create_from_data(drawable->window

Re: Problem with GTK/GNOME programming

2005-09-27 Thread Przemysław Sitek
Dnia 2005-09-26 16:05, Lalit Kumar napisał: Hi All, I am using Fedora core 3. I am facing problem with Gnome and Gtk programming. Anyone working on GNOMe/GTK programming , please help me out how to write GNOME/GTK program. There's a tutorial: http://www.gtk.org/tutorial/ API reference

Re: Problem with GTK/GNOME programming

2005-09-26 Thread Falls Huang
Plz take a look at the "examples" and "tests" directorys in the gtk+'s source code . Lalit Kumar wrote: Hi All, I am using Fedora core 3. I am facing problem with Gnome and Gtk programming. Anyone working on GNOMe/GTK programming , please help me out how to write GNOME/GTK program. You can ma

Re: Problem with GTK/GNOME programming

2005-09-26 Thread Julien Olivier
Le lundi 26 septembre 2005 à 19:35 +0530, Lalit Kumar a écrit : > Hi All, > I am using Fedora core 3. I am facing problem with Gnome and Gtk > programming. > Anyone working on GNOMe/GTK programming , please help me out how to write > GNOME/GTK program. > You can mail me on [EMAIL PROTECTED] > Th

Problem with GTK/GNOME programming

2005-09-26 Thread Lalit Kumar
Hi All, I am using Fedora core 3. I am facing problem with Gnome and Gtk programming. Anyone working on GNOMe/GTK programming , please help me out how to write GNOME/GTK program. You can mail me on [EMAIL PROTECTED] Thankx in advance. Bye, Lalit ___

RE: Problem with GTK

2005-06-17 Thread Simith Nambiar
D]; gtk-list@gnome.org; [EMAIL PROTECTED]; gtk-app-devel-list@gnome.org; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Problem with GTK Hi, Any suggestion will be very much helpful to me. With Regards, Jagadish.K -Original Message- From: Jagadish K , Bangalore Sent: Thursday, June

RE: Problem with GTK

2005-06-17 Thread Jagadish K , Bangalore
Hi, Any suggestion will be very much helpful to me. With Regards, Jagadish.K -Original Message- From: Jagadish K , Bangalore Sent: Thursday, June 16, 2005 10:00 PM To: '[EMAIL PROTECTED]' Subject: FW: Problem with GTK Hi, All files are in the lib directory, no file w

Problem with GTK

2005-06-06 Thread Jagadish K , Bangalore
Hi, I am using gtk for GUI application development, where I required drag and drop option, I downloaded testdnd.c a sample dnd program. It is simple program, didn't work's as actual drag and drop, I just modified the program, which creates new widget, when a widget is dropped on a widget lik

RE: problem with gtk and frames

2005-03-28 Thread Freddie Unpenstein
> I've got a small problem with frames. I made a screenshot to > illustrate my problem at http://[snip]. Indeed you can see that the > frame borders are too close to the application border (about 1 pixel). Have you considered using tooltips to hide the long descriptions? Or perhaps even those

Re: problem with gtk and frames

2005-03-28 Thread chaica
Ok thx I solved my problems. On Mon, 2005-03-28 at 03:01 +0200, Gian Mario Tagliaretti wrote: > On Mon, 28 Mar 2005 02:38:50 +, chaica <[EMAIL PROTECTED]> wrote: > > > I use c++ and gtkmm. gtk_container_set_border_width() doesn't exist in > > the gtkmm documentation. I tried to use it but I

Re: problem with gtk and frames

2005-03-27 Thread Claudio Polegato Jr.
Hi. Then try frame.set_border_width(pixels) to each frame. But I think your problem is on the vbox where you put the frames. Thus, set the vbox border with vbox.set_border_width(pixels) and spacing with vbox.set_spacing(pixels). []'s Claudio chaica escreveu: On Sun, 2005-03-27 at 21:09 +0400, Mis

Re: problem with gtk and frames

2005-03-27 Thread Gian Mario Tagliaretti
On Mon, 28 Mar 2005 02:38:50 +, chaica <[EMAIL PROTECTED]> wrote: > I use c++ and gtkmm. gtk_container_set_border_width() doesn't exist in > the gtkmm documentation. I tried to use it but I don't succeed. http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Container.html#a20

Re: problem with gtk and frames

2005-03-27 Thread chaica
On Sun, 2005-03-27 at 21:09 +0400, Mishael A Sibiryakov wrote: > В Вск, 27/03/2005 в 18:09 +, chaica пишет: > > Hi, > > > > I've got a small problem with frames. I made a screenshot to illustrate > > my problem at http://www.ohmytux.com/screenshot.png > > > > Indeed you can see that the frame

Re: problem with gtk and frames

2005-03-27 Thread Mishael A Sibiryakov
Ð ÐÑÐ, 27/03/2005 Ð 18:09 +, chaica ÐÐÑÐÑ: > Hi, > > I've got a small problem with frames. I made a screenshot to illustrate > my problem at http://www.ohmytux.com/screenshot.png > > Indeed you can see that the frame borders are too close to the > application border (about 1 pixel). I tried d

problem with gtk and frames

2005-03-27 Thread chaica
Hi, I've got a small problem with frames. I made a screenshot to illustrate my problem at http://www.ohmytux.com/screenshot.png Indeed you can see that the frame borders are too close to the application border (about 1 pixel). I tried different solutions but I just managed to create a global spac