Re: Fullscreen application running?

2006-08-18 Thread Edward Catmur
On Fri, 2006-08-18 at 15:13 +0530, Unique User wrote: > Hi All, > I am writing an application which pops up a message at random > interval. Before showing the message, I want to check whether a full > screen application(movie,game etc.) is running. How can I do this? I am > writing

Re: Signal Handling problems with own data

2006-08-18 Thread NicolasA
Thank you both for the useful advice, you have just saved my life :))) -- View this message in context: http://www.nabble.com/Signal-Handling-problems-with-own-data-tf2127300.html#a5871939 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-ap

Re: Signal Handling problems with own data

2006-08-18 Thread Iago Rubio
On Fri, 2006-08-18 at 07:03 -0700, NicolasA wrote: > I have read all the examples in the gtk tutorial, I have 3 books on gnome > and gtk but I haven't found a single example which shows how to pass more > that 1 widget to the function. Here you've got a full example: // save as "test.c" compile

Re: Signal Handling problems with own data

2006-08-18 Thread John Coppens
On Fri, 18 Aug 2006 07:03:41 -0700 (PDT) NicolasA <[EMAIL PROTECTED]> wrote: > In my case I want to pass two widgets(the two text entries)so that > when my function is called, to access the two text entries, grab their > contents and validate the username and password with the server. How > can I

Signal Handling problems with own data

2006-08-18 Thread NicolasA
Hi, I am a newbie in gnome/gtk+ programming, and I have created a GUI that will perform some sign-in functions with a server. The user interface consists of a button called Sign-In and two text entries for username and password. I have inserted a g_signal_connect function in my program giving it a

Re: how to clear out a ComboBoxEntry

2006-08-18 Thread shawn bright
It does help, thanks. No need for me to persue this on a more difficult plane than necessary. thanks shawn On 8/18/06, Iago Rubio <[EMAIL PROTECTED]> wrote: > > On Thu, 2006-08-17 at 12:22 -0400, shawn bright wrote: > > Hey there, > > i am using pygtk to build an app. > > i am using a gtk ComboBox

Re: Fullscreen application running?

2006-08-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Aug 18, 2006 at 03:13:34PM +0530, Unique User wrote: > Hi All, > I am writing an application which pops up a message at random > interval. Before showing the message, I want to check whether a full > screen application(movie,game e

Fullscreen application running?

2006-08-18 Thread Unique User
Hi All, I am writing an application which pops up a message at random interval. Before showing the message, I want to check whether a full screen application(movie,game etc.) is running. How can I do this? I am writing this application in pygtk. -- UnikUser

Re: Fwd: GtkTreeView, GtkListStore and more...

2006-08-18 Thread Iago Rubio
On Thu, 2006-08-17 at 18:34 +0200, Fernando ApesteguĂ­a wrote: > Thanks, [snip fixed stuff] > Can you point me to an example on how to traverse a GtkListStore? /* # example 1 - "the quick and cheap, only for list" */ void traverse_store (GtkListStore *store) { gboolean valid; valid =

Re: how to clear out a ComboBoxEntry

2006-08-18 Thread Iago Rubio
On Thu, 2006-08-17 at 12:22 -0400, shawn bright wrote: > Hey there, > i am using pygtk to build an app. > i am using a gtk ComboBoxEntry with the convienence methods > like insert_text() , remove_text() > Does anyone know how to completely empty one out ? > ie, remove all entries at once ? If you'