Using json-glib in an input method

2013-05-03 Thread Peter Bataleck
Hi, I'm working on an Input Method (IM) (via GtkIMContext) that uses JsonParser/Reader from json-glib to load configuration information from JSON files. When the IM is first loaded from the context menu in a GtkTextView it loads the JSON fine. However, if the IM is unloaded via the context menu

Re: Change in FileChooser behavior

2011-11-11 Thread Peter Clifton
ete features are making the file-chooser less usable, and that this change was part of a grander plan to make things better. Best wishes, -- Peter Clifton signature.asc Description: This is a digitally signed message part ___ gtk-list mail

Re: GTK TreeView control in Windows (DND issue)

2011-09-18 Thread Peter Clifton
x27;t work correctly with GDK_NATIVE_WINDOWS=1) Glad to see there are others working to get GTK 2.24 up and running on Win32 again. Best wishes, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (

Re: GTK TreeView control in Windows (DND issue)

2011-09-18 Thread Peter Clifton
ed discussions > are better done one gtk-devel-list. You'll probably attract > more GTK+ developers/maintainers over there. There's also > a #win32 channel on irc.gnome.org in need of being repopulated > with people working on the Windows bits and pieces. Thanks. -- Peter Clifton

Re: GTK TreeView control in Windows (DND issue)

2011-09-17 Thread Peter Clifton
On Sat, 2011-09-17 at 18:49 +0100, John Emmas wrote: Have you tried the GTK patches I pointed you at here? www.clifton-electronics.com/tmp/gtk_win32_patches.tar.gz -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue

Re: GTK TreeView control in Windows (DND issue)

2011-09-15 Thread Peter Clifton
. There is still some issue with menus (implying grabs) misbehaving when GDK_NATIVE_WINDOWS=1 set, so they aren't completely cooked yet! I've stuck the patches here temporarily.. www.clifton-electronics.com/tmp/gtk_win32_patches.tar.gz If they help - please let me know! -- Pet

Re: Strange coloured blocks

2011-01-04 Thread Peter Clifton
gs > doesn't seem to make a difference. That sounds like something the Ubuntu developers would be keen to hear about if you filed a bug on Launchpad. Try here: https://bugs.launchpad.net/ubuntu-font-family -- Peter Clifton Electrical Engineering Division, Engineering Department, Un

Contribution: portuguese translation for GTK+ 2.0 Tutorial

2010-09-29 Thread Peter Jandl Jr.
Hello! My name is Peter Jandl Jr. I am a teacher in Brazil, working with C and Java programming. I have no experience with GTK, but I want to learn and help my students to use this framework. Considering this, I would like to contribute to the GTK+ project with the translation of the GTK+2.0

Re: Installing GTK Binary Packages Into MINGW on MS Windows Using Wascana and Eclipse

2010-08-19 Thread Peter Willis
Øystein Schønning-Johansen wrote: On Wed, Aug 18, 2010 at 8:07 PM, Peter Willis <mailto:pwil...@aslenv.com>> wrote: Hello, I would like to use mingw to port and compile a simple GTK application under MS Windows. The download page for windows located at:

Installing GTK Binary Packages Into MINGW on MS Windows Using Wascana and Eclipse

2010-08-18 Thread Peter Willis
the files end up in the respective directories there? *or* Do I need to make separate hierarchies for each of the zip files and point GCC at the 'lib' and 'header' directories using '-L -l' and '-I -i' flags respectively? Thanks Peter ___

Can I include glib, gtk .h files in a .cc files

2010-02-04 Thread Peter Fletcher
Hi, Can you please tell me if I can include glib.h, gtk/gtk.h files in my .cc files? I have the following compiling problems: Launcher/MyController.cc:2:18: error: glib.h: No such file or directory Launcher/MyController.cc:6:21: error: gtk/gtk.h: No such file or directory But when I rename my .c

Widgets not windows, but how to get information about active widget on X layer? (was: What, in detail, the GDK do?)

2009-12-29 Thread Peter Volkov
This is not a best solution, so is it possible to expose this information somehow? Could you share any ideas how this could be implemented? And yes, qt has a same problem. -- Peter. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Should I chain up finalize?

2009-10-22 Thread Peter Cai
I found code like this in gio static void g_filter_input_stream_finalize (GObject *object) { GFilterInputStream *stream; stream = G_FILTER_INPUT_STREAM (object); g_object_unref (stream->base_stream); G_OBJECT_CLASS (g_filter_input_stream_parent_class)->finalize (object); } It looks lik

I met a strange problem: after dispose g_object_ref could also succeed!

2009-06-19 Thread Peter Cai
I met a strange problem: after dispose ( or during dispose) g_object_ref could also succeed! http://pastebin.com/d631246a7 It crashes on line 24, which is almost impossible. 1st, I checked these variables. 2nd, I called g_object_ref(self) to avoid self being disposed while this function has not r

My application crashes on calling "g_print"

2009-06-08 Thread Peter Cai
Hi all, I am using oah build of glib, and I occasionally got this crash ( from windbg "analyze -v" result) : APPLICATION_HANG Seems that there is a problem with "malloc". Do you have any idea why this happen? --

How to write a Class(gobject) in a thread safe way?

2009-04-25 Thread Peter Cai
/* I wrote a class to encapsulate a GString as a buffer. * I want to make it both thread safe and efficient. I need several buffers * like this, so I don't want a global mutex to lock every instance of my buffer * class. So I add a mutex as private member. * * But when I need to free my obje

ThreadPool doesn't eat up CPU as much as possible.

2009-01-15 Thread Peter Cai
Hi, Recently I am playing with glib's threadpool APIs. I found that, in my program (on windows), the number unprocessed task of a pool is accumulated when time is going on. It seems that the threads in the pool don't have enough CPU time to run, but when I monitored my computer's CPU usage, it

Re: g_timeout_add(0, ...)

2008-12-13 Thread Peter Clifton
On Sat, 2008-12-13 at 08:56 -0600, s...@pobox.com wrote: > Peter> The handler added by g_idle_add() would have a different > Peter> execution priority than you might want. > > Peter> g_idle_add_full (G_PRIORITY_DEFAULT, ...); > > Peter> Might be a closer

Re: g_timeout_add(0, ...)

2008-12-13 Thread Peter Clifton
; Might be a closer equivalent to what the OP was wanting; some means to get their callback called soon after the execution gets back to the main-loop. Regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge

UnsatisfiedLinkError: memmove

2008-11-18 Thread Peter Schneider
esent twice, in swt.jar and standalone, slightly different for some reason.) The glibc, i.e. libc.so.6 (alias libc-2.7.so), is of course there as well. Apparently a similar error surfaced in Ubuntu's eclipse distro 2 years ago (cf. https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/68053)

Re: gtk/directfb: Duplicate symbols in gdkwindow[-directfb].c

2008-11-14 Thread Peter Schneider
sfully on a ppc platform? Regards, Peter -- Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk/directfb: Duplicate symbols in gdkwindow[-directfb].c

2008-11-14 Thread Peter Schneider
http://bugzilla.gnome.org/show_bug.cgi?id=554407 -- end quote -- Best regards, Peter ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk/directfb: Duplicate symbols in gdkwindow[-directfb].c

2008-11-14 Thread Peter Schneider
new impl structure properly. > Using releases previous to 2.13 appear > to work with no multiple definitions Oh, interesting info! I may try that one. Is anybody currently running gtk/directfb 2.13.x successfully on a ppc platform? Regards, Peter __

Re: How to safely release a mutex?

2008-11-13 Thread Peter Cai
(mutex); g_mutex_unlock(mutex); g_mutex_free(mutex); If thread switches just after unlock and another thread locked mutex, the code might fail. On Thu, Nov 13, 2008 at 4:41 PM, Peter Cai <[EMAIL PROTECTED]> wrote: > Hi all, > > Is it safe to call g_free_mutex on a locke

gtk/directfb: multiple symbol definitions in gdkwindow.c

2008-11-13 Thread Peter Schneider
it? (I apologize for not providing the gtk configure options etc., but I'm not at my computer today. I'm using a fairly recent gtk version, probably a 2.14.x. For what it's worth, I'm using a gcc 4.2.x on a i386 linux, target is generic ppc, but I can&

How to safely release a mutex?

2008-11-13 Thread Peter Cai
Hi all, Is it safe to call g_free_mutex on a locked mutex? If it's not, what is the correct way to do that? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

gtk/directfb: Duplicate symbols in gdkwindow[-directfb].c

2008-11-12 Thread Peter Schneider
it? (I apologize for not providing the gtk configure options etc., but I'm not at my computer today. I'm using a fairly recent gtk version, probably a 2.14.x. For what it's worth, I'm using a gcc 4.2.x on a i386 linux, target is generic ppc, but I can't see how that should have

Is GLIB thread safe?

2008-10-25 Thread Peter Cai
Hi all, I'm writing a COM program on windows but I'm not quite familiar with C++. thus I decided to use mostly C instead and I want to use GLIB in it. But I got one problem. Is GLIB thread safe? I read some code, such as GArray. There is no thread protection of a GArray APIs. So if more than

Re: Why "GtkWidget->window" is "NULL" when "gtk_window_new()"

2008-08-12 Thread Peter Clifton
is nicer and the OP should probably use it, but I sincerely hope these Gdk functions won't be going away any time soon. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 -

Re: g_source_add_poll or g_io_add_watch in Windows?

2008-08-03 Thread Peter Robinson
r reading/writing and deleting. The original idea came from someone on this mailing list some time ago. Peter Robinson channel_watch.h /* Copyright (C) 2006, 2007, 2008 Peter Robinson Email: [EMAIL PROTECTED] This lib

Re: g_source_add_poll or g_io_add_watch in Windows?

2008-07-31 Thread Peter Robinson
Tor Lillqvist wrote: For the connection I am currently using g_source_add_poll using the socket FD as returned by socket(AF_INET, SOCK_STREAM, 0). Under Windows polling does not seem to be working. If I change to using g_io_channel_win32_new_socket and g_io_add_watch then I can connect clients.

g_source_add_poll or g_io_add_watch in Windows?

2008-07-30 Thread Peter Robinson
g_source_add_poll and g_source_remove_poll. So my problem is either to make g_source_add_poll work under Windows or find an efficient way to be able to add and remove watches using channels. Any suggestions? Peter Robinson ___ gtk-list mailing list gtk-list

Re: Creating new GObject

2008-04-30 Thread Peter Clifton
needs to be initialised before you can use it, add a call to: g_type_init (); Before your point_new () call, and it should be a lot happier. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA T

Re: The "page" property of GtkNotebook

2008-04-21 Thread Peter Clifton
kNotebook *my_notebook; my_notebook = gtk_notebook_new (); g_object_set (G_OBJECT (my_notebook), "page", 2, NULL); Hope that is of some help. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thoms

line spacing in gtk2 / gtk 1.2

2008-04-13 Thread Peter Daum
t; to "true" in fonts.conf, which sounded promising but doesn't make any difference). Regards, Peter Daum <><>___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Newbie Question about Navigating API doco

2008-01-25 Thread Peter E Dennis
Thanks for the tip ritz, I am using ubuntu and have installed it but can't see any of the gtk api stuff in it. Is there a way to add it? On 25/01/2008, ritz <[EMAIL PROTECTED]> wrote: > Hello > > On Tue, 2008-01-22 at 09:08 +1100, Peter E Dennis wrote: > > Hi All, >

Re: Newbie Question about Navigating API doco

2008-01-22 Thread Peter E Dennis
Thanks for clearing that up Mathias. Really appreciate it. On 23/01/2008, Mathias Hasselmann <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, den 23.01.2008, 06:04 +1100 schrieb Peter E Dennis: > > I am sorry for being pedantic but this would make me believe when > > reading

Re: Newbie Question about Navigating API doco

2008-01-22 Thread Peter E Dennis
e that contain a hyphen to substitute this with an underscore when it is written in code? Thanks again for your help. Peter. On 23/01/2008, Pablo Yanez Trujillo <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello > > Navigating the API doc

Newbie Question about Navigating API doco

2008-01-21 Thread Peter E Dennis
build/buildd/glib2.0-2.14.1/gobject/gsignal.c:1669: signal `monkey' is invalid for instance `0x8077000' I can't find a reference to "delete_event" in the API. But possibly not looking in the right place. Can someone point me to i

Re: thread initialization

2007-12-28 Thread Peter Long
have to determine that at compile time, not runtime. Peter Long - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: gtk-list@gnome.org Sent: Friday, December 28, 2007 8:07:56 AM Subject: thread initialization I have following thread initialization

Re: IO Channel Flush - Assertion Failure

2007-12-18 Thread Peter Long
Good luck - Original Message From: Christian Bünnig <[EMAIL PROTECTED]> To: Peter Long <[EMAIL PROTECTED]> Cc: "gtk-list@gnome.org" Sent: Tuesday, December 18, 2007 6:18:39 PM Subject: Re: IO Channel Flush - Assertion Failure The following is an excerpt from htt

Re: IO Channel Flush - Assertion Failure

2007-12-18 Thread Peter Long
BTW: What OS are you using? Peter Long - Original Message From: Christian Bünnig <[EMAIL PROTECTED]> To: Peter Long <[EMAIL PROTECTED]> Cc: "gtk-list@gnome.org" Sent: Tuesday, December 18, 2007 1:38:59 PM Subject: Re: IO Channel Flush - Assertion Failure Thanks for

Re: IO Channel Flush - Assertion Failure

2007-12-18 Thread Peter Long
should return an error status if it could not write any more data. Peter Long - Original Message From: Christian Bünnig <[EMAIL PROTECTED]> To: "gtk-list@gnome.org" Sent: Tuesday, December 18, 2007 11:52:57 AM Subject: IO Channel Flush - Assertion Failure Hi, for da

Re: Is GTK+-(GDK) implemented by Multi-thread method?

2007-12-07 Thread Peter Long
Hope that helps. Again, I am no expert. If I misspoke I am sure someone will correct me. :) Peter Long - Original Message From: 刘志波 <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: gtk-list@gnome.org Sent: Friday, December 7, 2007 1:27:10 PM Subject: Re: Is GTK+-(GDK) implemented b

Re: DrawingArea and Toolbar focus issues

2007-09-08 Thread Peter Clifton
this one? Try: GTK_WIDGET_SET_FLAGS (drawing_area, GTK_CAN_FOCUS ); gtk_widget_grab_focus (drawing_area); As the GtkDrawingArea won't take focus by default. Works for me in the gschem schematic capture program. Regards, Peter Clifton ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: 'reloading' gtktreeview when model changes drastically

2007-06-24 Thread Peter Clifton
On Sun, 2007-06-24 at 15:19 +0200, Kristian Rietveld wrote: > On Tue, Jun 19, 2007 at 12:45:09PM +0100, Peter Clifton wrote: > > This seems to break the MVC abstraction - if the model changes > > drastically, I need to know which tree-views are connected so I can > >

Re: 'reloading' gtktreeview when model changes drastically

2007-06-19 Thread Peter Clifton
ought not to break existing API, as old models just won't emit that signal. (IANAGTKDeveloper, so could be wrong about that). Regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980

Re: gtk install problems

2007-05-12 Thread Peter
ll anymore. Thanks all the same. On 5/12/07, Peter <[EMAIL PROTECTED]> wrote: > What does ABI mean? > > What I would love is for someone to explain to me in the most > technical way possible why this is occurring. Not different versions > of libraries, obviously I have

Re: gtk install problems

2007-05-12 Thread Peter
how does that happen? On 5/12/07, Chris Vine <[EMAIL PROTECTED]> wrote: > On Fri, 2007-05-11 at 01:58 -0400, Peter wrote: > > Paul, > > All the installs were the defaults for the installs. I didn't do > > anything strange. > > > > I do not know what AB

Gtk+ under windows (under Wine) - Font problems

2007-05-12 Thread Peter Clifton
ont "MS Shell Dlg Bold 8", falling back to "Sans Bold 8", expect ugly output. Can anyone suggest if this a Wine bug, or a problem with how I've got things installed? Kind regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of

Re: gtk install problems

2007-05-10 Thread Peter
I think my father went to the University of Iowa. He always spoke highly of it. - Peter On 5/10/07, Paul Davis <[EMAIL PROTECTED]> wrote: > Peter, > > Judging from your email, you've recompiled your entire windowing > system. Doing this on your own without the hel

Re: gtk install problems

2007-05-10 Thread Peter
Thank you for the suggestion but honestly I just want to get my system fixed the way it is right now. In addition, there may be some kind of bug in gtk/glib and at the very least there is some poor error reporting. On 5/10/07, Sergei Steshenko <[EMAIL PROTECTED]> wrote: > > --- P

Re: gtk install problems

2007-05-10 Thread Peter
I accidentally hit tab and return I think, sorry... On 5/10/07, Peter <[EMAIL PROTECTED]> wrote: > I recently compiled and installed the latest version of gtk because > another program needed it and I ended up recompiling and reinstalling > all of X, glib, atk, pango, et

gtk install problems

2007-05-10 Thread Peter
I recently compiled and installed the latest version of gtk because another program needed it and I ended up recompiling and reinstalling all of X, glib, atk, pango, etc. Most of the applications on my machine aren't working. I've been experimenting trying to figure out the problem. The program

[no subject]

2007-05-07 Thread Peter Netisk
Hello, I am trying to have a background pixmap in GTK text-fields, e.g. in the background of Gedit. Is this possible (with editing gtkrc?)? Regards, Peter X-Mail.net Communications Center

GTK text boxes background

2007-05-05 Thread Peter Netisk
Hello, I am trying to have a background pixmap in GTK text-fields, e.g. in the background of Gedit. Is this possible (with editing gtkrc?)? Regards, Peter X-Mail.net Communications Center

drawing directly to underlying window of pyGTK drawingarea

2007-02-22 Thread Peter Krenesky
are created, it crashed immediately without this. I tried disabling double buffering and enabling APP_PAINTABLE but neither worked. so far i haven't been able to get any help from pyGTK list/irc. any ideas? -- Peter Krenesky Analyst Programmer Open Source Lab @ OSU ema

Noob: Radio button to open window with other radio buttons

2007-01-21 Thread Peter
dio group and handle the callback. I read through the tutorial, but it was not clear on this particular matter (or I am just dense :)). Thanks for any tips. -- Peter ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

rules-hint default?

2006-04-07 Thread Peter
I noticed a while ago in http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeView.html#gtk-tree-view-set-rules-hint: Some themes will draw tree rows in alternating colors even when rules are turned off, and users who prefer that appearance all the time can choose those themes. OK, where do I sign u

evaluating GTK+ for embedded system design

2006-03-27 Thread peter . greve
too long. But any information is helpful for me to find the right GUI toolkit for my project. Thank's in advance Peter ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Usability of the GTK+ 2 file open dialog

2006-03-25 Thread Peter Eckersley
things are at present. Guess I made my point :) -- Peter Eckersley Department of Computer Science & mailto:[EMAIL PROTECTED] IP Research Institute of Australia http://www.cs.mu.oz.au/~pde The Universit

Usability of the GTK+ 2 file open dialog

2006-03-23 Thread Peter Eckersley
for one would pay $50 to anyone who can implement a configuration option somewhere in gtk2 to globally switch back to the gtk1 version. Is anyone else equally frustrated? cc on replies, -- Peter Eckersley Department of Computer Science & mailto:[EMAIL PROTECT

Re: Usability of the GTK+ 2 file open dialog

2006-03-08 Thread Peter Eckersley
TK2 chooser. It works fine, but *only* if the file path you want to type starts with / . Typing relative paths, or paths that start with ~, leads to random crazyness. -- Peter Eckersley Department of Computer Science & mailto:[EMAIL PROTECTED] IP Research Institute o

More on GTK usability

2006-03-08 Thread Peter Eckersley
onsistently and without sacrificing much efficiency (though it doesn't handle dotfiles perfectly, that could easily be fixed). If the *nix desktop is moving in that direction, someone should really get around to building a new command line shell that is GUI-fied and does things the same way. But th

Usability of the GTK+ 2 file open dialog

2006-03-06 Thread Peter Eckersley
hen, I realise that I have to press enter again. I for one would pay $50 to anyone who can implement a configuration option somewhere in gtk2 to globally switch back to the gtk1 version. Is anyone else equally frustrated? -- Peter Eckersley Department of Computer Science &

How to use my glib program on other computer?

2006-02-21 Thread Peter Cai
I've written a C program based on glib on my computer.  But when I copyied it to another computer, it did not work. Do I have to install a glib on that computer? Or can I change some gcc options to compile an application which already has the library in itself?-- 那不是缺陷 只是你不在梦中 ___

Re: njamd compatible with gtk 2.2.1?

2005-09-30 Thread Peter Van Wieren
itle (GTK_WINDOW (window), "njamd"); gtk_widget_set_size_request (window, 700, 800); gtk_widget_show (window); gtk_main(); sleep(10); return(0); } fenwick 0 332% Paul Davis wrote: On Fri, 2005-09-30 at 12:55 -0400, Peter Van Wieren wrote: Ben, Thanks. My code cannot have a buffer overrun, f

Re: njamd compatible with gtk 2.2.1?

2005-09-30 Thread Peter Van Wieren
30, 2005 at 12:39:51PM -0400, Peter Van Wieren wrote: Hello, If I use the memory debugging library njamd, then I find that my gtk program will always fail with a segmentation fault. This occurs even for the simple program hello.c on the gtk-tutorials page. If I do not link to libnjamd,

njamd compatible with gtk 2.2.1?

2005-09-30 Thread Peter Van Wieren
illa> URL : http://www.gtk.org Summary : The GIMP ToolKit (GTK+), a library for creating GUIs for X. Description : GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off too

glib's G_DEFINE_TYPE. Typo in headers?

2005-09-05 Thread Peter Volkov Alexandrovich
my misunderstanding of general concepts? BTW. I'm using glib-2.6.5. In any way, thank you for your time, Peter. signature.asc Description: This is a digitally signed message part ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

event watcher

2005-06-04 Thread peter
Hi, I need to detect user actions in gedit like cliking in a menu entry. I want to be able to know for example that the user has clicked on "Copy" in the "Edit" menu. How can I do this. Many thanks Peter __ Discover Y

need help in communicating messages in a tooltip style

2005-06-01 Thread peter
e the action happened (I want my messages to appear at the bottom right of the screen). How can I do this. Thank you very much Peter __ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new

Re: How to use global and user related files?

2005-04-08 Thread Peter
Well. I'm answering to myself in hope that anybody corrects me if I'm wrong. Also may be somebody is looking for the same questions in this list.:) On Fri, 08 Apr 2005 20:23:37 +0400, Peter wrote: > How to find user related dirrectory? In pan (newsreader) sources I've fo

How to use global and user related files?

2005-04-08 Thread Peter
k questions... May be you could point me there? Thank you in advance for any help, Peter. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Model View Controller. How to implement?

2005-03-15 Thread Peter
you Paul and Stian. Of course I did not use gdk_threads_enter / gdk_threads_leave. Now all views are updated. And everything works as expected. Thank you very much again, Peter. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

GTK Script?

2005-03-13 Thread Peter van Eerten
Or has somebody already programmed a graphical GTK shell? Peter ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Model View Controller. How to implement?

2005-03-10 Thread Peter
method like update_all_views(). But how to implement this? How to account active views? May be there exist better solutions? Thank you all, for your attention, Peter. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

gtk+1.2 and xorg-6.8.2. Font problem. [Partial solution]

2005-02-16 Thread Peter
library and do not have problems with gtk-1 applications in UTF-8 locale? Sorry for my bad english and thank you for your attention, Peter. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk+1.2 and xorg-6.8.2_rc2/freetype-2.1.0. Font problem.

2005-02-02 Thread Peter
ocale. So I tried to put there iso10646-1 or just *-* without any success. What is the right encoding for utf8? Thank you for your attention, __ Peter. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gtk+1.2 and xorg-6.8.2_rc2/freetype-2.1.0. Font problem.

2005-01-19 Thread Peter
No one answer, so I try to ask another question. How can I check: is this behaviour a bug or misconfiguration? Are there some general guidelines? I think it's a bug, but how can I check? Thank you for your attention, Peter. ___ gtk-list mailing

gtk+1.2 and xorg-6.8.2_rc2/freetype-2.1.0. Font problem.

2005-01-18 Thread Peter
ny ~/.gtkrc. I'm sure that gtk+ uses this file because comic font can be recognisable in xmms's interface. I've tried different combinations. So what is the problem with gtk+1.2.10? Thank you for your attention, Peter. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

strange blue lines in gtk-apps

2004-11-07 Thread Peter Schmidt
Hi, does anybody have blue lines in programs like sylpheed-claws? I have them in xmms if I want to open an audiofile with the"eject"-button. But, GIMP itself does not show those lines. Please take a look at a screenshot here: http://marek.lehrerland.de/bilder/blaue_striche.jpg Is there a soluti

GTK font related problem

2004-09-11 Thread Peter Hinkle
menu or even non-actionable text. How might I go about fixing this problem? I am assuming that apps are no longer able to find the font they are supposed to be using. Any ideas would be greatly appreciated... /Peter -- Peter C Hinkle [EMAIL PROTECTED] http://home.earthlink.net/~porsc

Re: GTK Apis unicode support ?

2004-07-05 Thread Peter \"Firefly\" Lund
ale uses ISO 8859-1 (also known as ISO Latin-1 which is /almost/ identical to Windows CP-1252 if I remember correctly). If you need to know more about UTF8/unicode, please google for Markus Kuhn's Unicode FAQ (skip the sections where he turns into a standards lawyer). -Peter _

Re: Writing science application to visualisate physical process. Need help.

2004-06-21 Thread Peter Volkov Alexandrovich
hank you very much! This really helped. For now I can program, but Are there better ways to do such drawings? Just to understand what I am doing: The gdk_draw function used instead of gtk_* because the drawing area is the X window. And so we need some X lib functions (gdk wrapers) to draw on it

Writing science application to visualisate physical process. Need help.

2004-06-20 Thread Peter Volkov Alexandrovich
unctions. Is this write? So. What is the right way to make moving picture using gtk+ library? Thoughts and ideas, links, listings are very welcome. Thank you for your attention, ___ Peter. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Traditional C rejects ISO C

2004-06-15 Thread Peter \"Firefly\" Lund
Practice in any case -- is to not let Glade generate code for you. Use libglade to load the glade xml file instead. -Peter "Their god is a UFO driver. Our group, Revolution Against Evolution, is made up of traditional Biblical Christians who believe in a supernatural creator God, and his son J

Bug in g_param_spec_double?!

2004-06-09 Thread Peter T. Mayer
) is done, but not a check (value <= 1.0) Seems like a bug. Peter! ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

GtkTreeView how to keep selection

2004-06-06 Thread Peter T. Mayer
help would be appreciated. Thanks, Peter! ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Segfault on gtk_tree_store_move_after

2004-06-03 Thread Peter T. Mayer
Hi, does anybody know, why in the following code a segfault on "gtk_tree_store_move_after()" occurs? The Store has 3 Items on the same level. When I now select the second item and call "selection_move_up()", I get the segfault. GTK is 2.4.1 Peter! void selection_move_up (G

Block a signal seems not to work

2004-05-17 Thread Peter T. Mayer
nt to test the described case write the following go_to_position function: double go_to_position( GtkWidget *dialog, double seconds ) { printf( "Time: %.1f\n", seconds ); return seconds+0.1; } How could I stop this behavior? Thanks, Peter! _

Re: How to stop signal in the folowing case?

2004-05-07 Thread Peter T. Mayer
+ g_signal_handlers_block_matched(editable, G_SIGNAL_MATCH_FUNC, 0,0, NULL, on_spinbutton_B_changed, NULL); I used the macros, g_signal_handlers_block_by_func and g_signal_handlers_unblock_by_func but these should do the same task. gtk_spin_button_set_value( spinbutton_B, MY_VALUE );

How to stop signal in the folowing case?

2004-05-07 Thread Peter T. Mayer
way to stop a widget emitting signals as long as you manipulating it. Thanks, Peter! ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

FAQ

2004-05-07 Thread Peter T. Mayer
Why is the page http://www.gtk.org/faq/ empty? ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

fast clicking causes problem

2004-03-29 Thread Peter Cheng
from bottom part of the callback function. It should start the callback function from the very begining but not from the bottom part of it. Any idea? Any help will be greatly appreciated. Regards, Peter Cheng ___ gtk-list mailing list [EMAIL

redhat gtk+ 2.4.0 install problem

2004-03-26 Thread Peter Pan
_PATH enviroment variable or editing /etc/ld.so.conf Can you tell me how can i fix the configure error? Thanks very much. Peter Pan ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

what does --sync do?

2004-02-15 Thread Peter Jay Salzman
i've read: -sync Make X calls synchronous. This slows down the program considerably, but may be useful for debugging purposes. i don't understand this. what does it mean to make X calls synchronous? i think i remember reading that in order to save "bandwidth", X will sometimes cache e

what are gtk-critical errors?

2004-02-15 Thread Peter Jay Salzman
hola, i often see errors that look like: Gtk-CRITICAL **: file gtkpixmap.c: line 97 (gtk_pixmap_new): assertion `val != NULL' failed. at this point, i realize they're harmless. but i'm still curious about what causes them. what's the usual cause for errors like this? are they mostly cau

FAQ Number 4.8: Debugging hangs X at breakpoint

2004-02-14 Thread Peter Jay Salzman
Hi all, I want to understand the problem that this FAQ discusses better: 4.8. I try to debug my GTK+ application with gdb, but it hangs my X server when I hit some breakpoint. Any Idea? [GTK 2.x] Would some kind soul send me a simple hello-world type example that demonstrates the issue? I

Re: Problem with stereo display

2004-01-22 Thread Peter Krueger
Hello list, is anyone of you using GTK for stereo display applications at all? -- Peter Krüger applied software solutions (appss) GmbH Sandtorstr. 23 D-39106 Magdeburg Germany Phone: +49-(0)391-54486-19388 Fax:+49-(0)391

  1   2   3   >