[pygtk] gobject.GObject - disconnect v. handler_disconnect?

2015-02-18 Thread Skip Montanaro
Is there any difference between GObject.disconnect and GObject.handler_disconnect? The minimal documentation indicates they are identical: http://www.pygtk.org/docs/pygobject/class-gobject.html#method-gobject--handler-disconnect Thx, Skip ___ pygtk

Re: [pygtk] gobject.timeout_add() won't work after calling gtk.threads_init() on windows xp

2013-06-26 Thread Skip Montanaro
Have you tried calling gtk.threads_init() before gobject.timeout_add(...)? On Wed, Jun 26, 2013 at 5:56 AM, Todong Ma gbstac...@gmail.com wrote: Hi, everyone Following simple code will hang forever on windows XP, and the check dialog text is never outputted to console. The window created in

[pygtk] Non-modal dialog?

2013-05-20 Thread Skip Montanaro
If I want a dialog to be non-modal, I can't use its run() method, is that true? I have a dialog which is defined in Glade to be non-modal, but calling its run() method sure makes it seem modal to me. Thx, Skip ___ pygtk mailing list pygtk@daa.com.au

[pygtk] Confused about a widget's name

2013-04-25 Thread Skip Montanaro
the name property in your UI definition. I can't tell what object gtk.Buildable is supposed to refer to. I have a reference to a widget (in this case, a radio button, but I think the problem is more general than that). How do I retrieve the name I gave it in Glade? Thx, Skip Montanaro

Re: [pygtk] Confused about a widget's name

2013-04-25 Thread Skip Montanaro
from libglade to the builder stuff. Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] Takes two Ctl-C to kill?

2009-07-15 Thread skip
the first exception somehow or unwinding some inner frame. The next Ctl-C kills the app. We're not really concerned with trapping Ctl-C but with other more important exceptions being silently ignored. Thx, -- Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/ when i wake up

[pygtk] dsextras?

2008-10-28 Thread skip
What is dsextras? It's referenced in the PyGTK 2.12.1 setup.py file but isn't part of the distribution. Thanks, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au

[pygtk] Any PyUseCase users out there?

2008-10-08 Thread skip
the authors' simple video store example. Most of it I understand, but I'm not sure how to tie their scripting engine signals into Glade-generated signals, especially for menus. Has anyone here used this tool? Got any suggestions (tutorials, blog postings, etc)? Thanks, -- Skip Montanaro - [EMAIL

[pygtk] Can you get signal_autoconnect to warn about missing handlers?

2008-10-06 Thread skip
handlers defined in the widget tree but which are missing from the dict or instance argument? Thanks, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo

Re: [pygtk] Can you get signal_autoconnect to warn about missing handlers?

2008-10-06 Thread skip
skip Is it possible to coax signal_autoconnect to warn about signal skip handlers defined in the widget tree but which are missing from the skip dict or instance argument? Or is it possible to get a list of all the handlers defined for the object in the Glade file

Re: [pygtk] Can you get signal_autoconnect to warn about missing handlers?

2008-10-06 Thread skip
That won't help me because I actually store multiple objects in one glade file and call wtree.get_widget() multiple times. Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] Confusing warning from Glade

2008-09-30 Thread skip
' This is Python 2.4.5 and Gtk 2.10: gtk.gtk_version (2, 10, 11) gtk.pygtk_version (2, 10, 4) sys.version '2.4.5 (#4, Apr 12 2008, 09:09:16) \n[GCC 3.4.1]' Thx, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip

[pygtk] CellRendererToggle question

2008-09-23 Thread skip
on CellRendererToggles which allow me to do that. Thanks, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq

Re: [pygtk] gobject.timeout_add timeout recalculation

2008-05-15 Thread skip
at the same time each day by taking into account the runtime of the callback. You could do something similar with a shorter period. Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http

Re: [pygtk] gobject.timeout_add timeout recalculation

2008-05-15 Thread skip
it installed...) Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] gobject.idle_add and generators

2008-05-02 Thread skip
and faster to boot, so I'm a happy camper. Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] gobject.idle_add and generators

2008-04-30 Thread skip
, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ There's a fine line between a hobby and a mental illness. Ande Rasmussen ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ

Re: [pygtk] gtk.Calendar: IN A DIALOG?

2008-04-06 Thread skip
representations all the time. In addition, the useful range of datetime objects is much greater than the current 32-bit float representation. -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ ___ pygtk mailing list pygtk@daa.com.au http

Re: [pygtk] gtk.Calendar: IN A DIALOG?

2008-04-06 Thread skip
Darren I am actually surprised that Google doesn't show me more 'real Darren life' examples of 'gtk.Calendar' in use. Not sure where you were looking, but if you go to http://code.google.com/ and search for gtk.calendar you'll see several examples. -- Skip Montanaro - [EMAIL PROTECTED

Re: [pygtk] Embedding external xwindow apps in top level window

2008-03-29 Thread skip
Newell Yeah I am aware of those but what if the app is not a GTK app? I don't know. Maybe you're SOL. Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq

Re: [pygtk] Does gobject.idle_add guarantee execution order?

2007-12-08 Thread skip
can assume it. Yuri showed one way to get the behavior you wanted. -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http

Re: [pygtk] gtk main loop alternatives

2007-10-28 Thread skip
) and gobject.io_add_watch() (ask gobject to listen to another input source) as well. They may be appropriate in certain circumstances. Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br

Re: [pygtk] Re: howto create border around widget?

2007-10-15 Thread skip
) w.show_all() gtk.main() if __name__ == __main__: main() Certainly not the most elegant thing, but it seems to work for the most part. I'm sure you can improve it. Skip ___ pygtk mailing list pygtk@daa.com.au http

Re: [pygtk] Calendar Widget

2007-10-13 Thread skip
Samuel http://debain.org/blog/calendar2.ogg How am I supposed to view this file (Mac OS X)? Thx, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.webfast.com/~skip/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman

Re: [pygtk] Re: Python 3.0 plans

2007-08-29 Thread skip
into a string in Python is to call str(). Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] gobject.type_register for class hierarchy?

2007-04-11 Thread Skip Montanaro
Suppose I have this sort of class relationship: class A(gobject.GObject): def __init__(self): gobject.GObject.__init__(self) ... class B(A): ... A is abstract. Do I need to call gobject.type_register for just A, just B or both? Thanks, -- Skip

Re: [pygtk] Bold menu item

2007-01-14 Thread skip
, so I don't have immediate access to verify that.) Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] check button state continuously

2006-09-29 Thread skip
tonight! pass # out Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] check button state continuously

2006-09-29 Thread skip
was missing from the first version. Without it, the timer will be cancelled after the first call. I was too intent on the do a little dance comments I guess.) Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read

Re: [pygtk] trap gtk warnings

2006-09-15 Thread skip
Michael is there a way to trap gtk assertions in pygtk? None that I'm aware of. I believe I've asked about this before as well. It would be *really* nice if these got translated into Python exceptions by PyGTK. Skip ___ pygtk mailing list

[pygtk] Problem dragging treeview column headings

2006-08-28 Thread skip
, since I should (in theory) be able to find the answer in Bugzilla. I tried briefly, but just like every other time I've challenged the beast to combat, my attempts to slay it failed, and I slinked home without reaching my quest, humiliated by a mere HTML form once again... Thx, -- Skip

[pygtk] kiwi download/install problems

2006-08-24 Thread skip
the same error. I'm not in a position to dictate that our local installation move beyond PyGTK 2.6. What version of kiwi supports that? (This is so I can try out Gazpacho, BTW.) Thx, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.mojam.com/ On the academic side, effort is too often expended

[pygtk] Greek letter delta using Pango markup?

2006-08-15 Thread skip
with such stuff. Thanks, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.mojam.com/ On the academic side, effort is too often expended on finding precise answers to the wrong questions. Baxter Rennie, in Financial Calculus ___ pygtk mailing list

Re: [pygtk] Greek letter delta using Pango markup?

2006-08-15 Thread skip
and the application) is a box with the Unicode code point for the character: 0 3 9 4 arranged as shown. This is true even if I run Glade with LC_CTYPE set to utf8. I also tried entering the decimal entity reference #916;. It still displayed the boxed Unicode value. Thx, Skip

Re: [pygtk] Greek letter delta using Pango markup?

2006-08-15 Thread skip
to document the same attributes. Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] TextView/ScrolledWindow questions

2006-08-10 Thread skip
am using, computing the longest line length in points (and assuming 1 pixel is approximately 1 point wide) set the size request of the TextView. Nada. I saw nothing in the FAQ about either question. Any suggestions? Thanks, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.mojam.com

[pygtk] TextView/ScrolledWindow questions

2006-08-10 Thread skip
its kids. Unchecking the width allowed it to expand or shrink in that direction. [head slap] Sorry for the noise. -- Skip Montanaro - [EMAIL PROTECTED] - http://www.mojam.com/ On the academic side, effort is too often expended on finding precise answers to the wrong questions. Baxter Rennie

Re: [pygtk] Can I change a radio button's group?

2006-06-09 Thread skip
John use a radiobutton in a different group as the group arg to John set_group(): John rb0.set_group(rb2) Thanks. I think my first attempts tried setting the group of first radio button created to the group it was already it. It's working now. Skip

[pygtk] Can I change a radio button's group?

2006-06-08 Thread skip
it's been created? Thanks, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.mojam.com/ ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Font setting as user inputs text in TextView/TextBuffer?

2006-03-20 Thread skip
be able to set it and forget it. This seems like it would be a common scenario. Do I have to resort to catching every changed signal and reapplying the desired tag? Thx, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.mojam.com/ The values to which people cling most stubbornly under

[pygtk] Occasional gobject assertion errors

2006-03-15 Thread skip
fixed in a later release? Thx, -- Skip Montanaro - [EMAIL PROTECTED] - http://www.mojam.com/ The values to which people cling most stubbornly under inappropriate conditions are those values that were previously the source of their greatest triumphs over adversity

Re: [pygtk] Occasional gobject assertion errors

2006-03-15 Thread skip
complaining about? Thanks, Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Re: [Tutor] pattern matching is too slow

2005-08-12 Thread skip
Vinay I guess python can do the simple optimization of moving the regex Vinay compilation outside the while loop. No, it's the re module itself. It caches regular expressions that it compiles from strings. Skip ___ pygtk mailing list pygtk

Re: [pygtk] How to use a Tkinter widget inside a PyGtk HMI?

2005-05-20 Thread Skip Montanaro
-gtkplug.html http://www.pygtk.org/pygtk2reference/class-gtksocket.html Here's an example from the PyGtk docs: http://www.pygtk.org/pygtk2tutorial/sec-PlugsAndSockets.html Skip ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman

Re: [pygtk] Application responsiveness problem

2005-03-26 Thread Skip Montanaro
used threads with gtk), but don't you have some sort of gtk thread initialization function(s) to call? See if something in section 20 of the PyGTK FAQ leads to a solution: http://www.async.com.br/faq/pygtk/index.py?req=index -- Skip Montanaro [EMAIL PROTECTED

Re: [pygtk] I must be missing something - can't get label of a menu item

2004-11-21 Thread Skip Montanaro
a Glade-generated interface? I am not at work so don't have Glade available to try at the moment. Thx, Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] pango markup not working

2004-11-17 Thread Skip Montanaro
with the markup text? Thx, -- Skip Montanaro [EMAIL PROTECTED] http://www.mojam.com/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] pango markup not working

2004-11-17 Thread Skip Montanaro
Chris you need to add the the text with set_markup not set_text. The Chris use markup option, in glade only effects the value you give the Chris label in glade. Muchas gracias, seƱor. That did the trick. Skip ___ pygtk mailing list

[pygtk] making selected row visible in FileChooser?

2004-11-16 Thread Skip Montanaro
. Thx, -- Skip Montanaro [EMAIL PROTECTED] http://www.mojam.com/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] making selected row visible in FileChooser?

2004-11-16 Thread Skip Montanaro
Johan Have you tried select_filename() ? Yeah. Didn't help as far as I could tell. Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] making selected row visible in FileChooser?

2004-11-16 Thread Skip Montanaro
Tom With open dialogs, the correct file is selected (I believe -- I'm Tom not sure I've actually had reason to implement this). Sure, it's selected, but as far as I can tell the chooser isn't scrolled if necessary to make the selected file visible. Skip

Re: [pygtk] making selected row visible in FileChooser?

2004-11-16 Thread Skip Montanaro
Skip Sure, it's selected, but as far as I can tell the chooser isn't Skip scrolled if necessary to make the selected file visible. John Seems to work OK with GTK+ 2.5.4 and GTK+ 2.4.13 and a quick check John shows this bug: John http://bugzilla.gnome.org/show_bug.cgi?id

[pygtk] how to map modifier keys to bits in modifier masks?

2004-10-18 Thread Skip Montanaro
server v. 11) NumLock is actually MOD2 while Left Alt is MOD4 and Right Alt appears to be unassigned. Other people here at work run various other combinations of OS and X server software, so there is likely to be some variation. Thanks, -- Skip Montanaro [EMAIL PROTECTED] http://www.mojam.com

Re: [pygtk] output gtk.TextView

2004-10-17 Thread Skip Montanaro
it into the TextBuffer associated with your TextView widget. -- Skip Montanaro [EMAIL PROTECTED] http://www.mojam.com/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] I must be missing something - can't get label of a menu item

2004-10-15 Thread Skip Montanaro
Johan switching to GtkComboBox. Thanks, not quite an option at this point. Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] I must be missing something - can't get label of a menu item

2004-10-14 Thread Skip Montanaro
item, but can't find a label property or something similar from which I can extract the text. I've tried item.get_children(), item.get_child(), item.get_property(child) and item.forall(). Nothing yields a label widget. Any clues would be gratefully appreciated. Thx, -- Skip Montanaro [EMAIL

[pygtk] Paned widget w/ 2 panes or Box widget w/ resizers?

2004-09-24 Thread Skip Montanaro
that allows independent resizing of its children? As a workaround I could nest one HPaned widget inside another, but that doesn't provide for complete independence of the box sizes. Thx, -- Skip Montanaro Got spam? http://www.spambayes.org/ [EMAIL PROTECTED

Re: [pygtk] CList

2004-09-15 Thread Skip Montanaro
it/poke at it. -- Skip Montanaro Got spam? http://www.spambayes.org/ [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] Problem incorporating Python-subclassed widget into Glade

2004-09-01 Thread Skip Montanaro
? Thx, -- Skip Montanaro Got spam? http://www.spambayes.org/ [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] cleaner module reload?

2004-08-12 Thread Skip Montanaro
Gustavo as many times as you like, so module reloading should Just Gustavo Work. Thanks, but we're far away from that (2.2.0 according to gtk.pygtk_version). Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo

[pygtk] repetitive get_widget() using Glade?

2004-08-11 Thread Skip Montanaro
. How do I convince Glade to create new Window and TextView widgets on subsequent calls to get_widget()? Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://www.spambayes.org/ [EMAIL PROTECTED] ___ pygtk mailing list

Re: [pygtk] repetitive get_widget() using Glade?

2004-08-11 Thread Skip Montanaro
to catch the destroy signal and avoid the window destruction? I'd happily just hide the window, but that doesn't seem to work either. Johan 2) Call glade.XML again to reparse (and recreate all widgets) Sounds expensive. :-( Thanks for the ideas... Skip

Re: [pygtk] repetitive get_widget() using Glade?

2004-08-11 Thread Skip Montanaro
... Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

[pygtk] creating signals outside __init__()?

2004-08-02 Thread Skip Montanaro
to create signals? Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://www.spambayes.org/ [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http

Re: [pygtk] creating signals outside __init__()?

2004-08-02 Thread Skip Montanaro
Gustavo The code above should work (at least used to work for me), Gustavo except that you need to call gobject.type_register(SomeClass) Gustavo right after the class definition. Thanks, I'll give that a whirl. Skip ___ pygtk mailing list

Re: [pygtk] GtkDial widget (where is pygtk wrapper or port)?

2004-07-29 Thread Skip Montanaro
/.override files. If so, you should be able to modify them slightly. If not, they aren't that tough to write. I'd look at the .def file for a functionally similar widget, such as GtkProgressBar or GtkScale. -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http

Re: [pygtk] no signals when paned handles dragged...

2004-07-27 Thread Skip Montanaro
by keyboard action using the Up Arrow, Down Arrow, Page Up, Page Down, Control+Page Up or Control+Page Down keys. The SpinButton isn't such a problem because (I think) the value-changed signal is emitted even if the change-value signal is emitted. Skip

[pygtk] no signals when paned handles dragged...

2004-07-26 Thread Skip Montanaro
trait. Is there some logical reason why this stuff is done the way it is or is it just a case of nobody ever needed it? Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://www.spambayes.org/ [EMAIL PROTECTED

[pygtk] Modification to WidgetSaver.py

2004-07-23 Thread Skip Montanaro
= wtree.get_widget(quit) quit.connect('clicked', saver.exit) gtk.main() sys.exit(0) Full details here: http://www.musi-cal.com/~skip/python/WidgetSaver.py http://www.musi-cal.com/~skip/python/widgetsaver-2.4.glade Feedback is certainly welcome. This is the only application I've tried

[pygtk] user-controllable treeview column suppression

2004-07-20 Thread Skip Montanaro
Is it possible to give users the ability to suppress display of certain columns of a treeview? Perhaps I should be using a table widget instead. (Treeview widgets seem way too complex for fairly simple use, which I suspect is what they are used for 90% of the time.) Thx, -- Skip Montanaro Got

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Skip Montanaro
. I guess I was really wondering if any sort of point-n-click functionality is exposed to the user by default. I guess I'll have to create some sort of preferences dialog so the user can select which columns to view. Skip ___ pygtk mailing list [EMAIL

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Skip Montanaro
glade here as gtk.glade. I don't know if that means we're weird or that PyGTK has changed since Kiwi was last released. Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br

Re: [pygtk] PyGTK in the standard Library

2004-06-18 Thread Skip Montanaro
- Is GTK available on Mac OSX without X11? Tkinter does have the advantage that TkAqua is available for non-X environments. -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://www.spambayes.org/ [EMAIL PROTECTED] ___ pygtk

Re: [pygtk] PyGTK in the standard Library

2004-06-18 Thread Skip Montanaro
to know, but is the GTK community's stance on breakage similar to that in the Python community? If not, simply shipping with the stable version of PyGTK when Python is released may cause more perceived Python breakage than that community normally expects. Skip

[pygtk] How to disable SPACE and RETURN activation on buttons?

2004-06-01 Thread skip
(generally those with potentially disastrous actions) is by clicking with the mouse. (Actually, I have users who seem to lean on their keyboards at inopportune times. They want keyboard shortcuts disabled.) Thanks, Skip Montanaro [EMAIL PROTECTED

Re: [pygtk] Refreshing windows

2004-05-17 Thread Skip Montanaro
://www.moeraki.com/pygtkreference/pygtk2reference/gobject-functions.html -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://www.spambayes.org/ [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au

Re: [pygtk] How do I exit?

2004-04-23 Thread Skip Montanaro
seems sufficient. Thanks for the suggestions. -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://www.spambayes.org/ [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] How do I exit?

2004-04-23 Thread Skip Montanaro
Jan Or simply take a look at the FAQ: Jan http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq20.003.htp Signals... ack! pfft! Thanks for the reminder to check the FAQ, but I like the solution I posted better. Skip ___ pygtk mailing

Re: [pygtk] How do I exit?

2004-04-23 Thread Skip Montanaro
Skip Signals... ack! pfft! Thanks for the reminder to check the FAQ, Skip but I like the solution I posted better. Except it's not working in the context of the larger application... :-( Skip ___ pygtk mailing list [EMAIL PROTECTED] http

[pygtk] Gtk/PyGTK on Solaris/Intel

2004-04-05 Thread Skip Montanaro
to eval an object's __gdoc__ attribute seems to avoid the problem. Has anyone else encountered (and hopefully fixed) this problem? Thanks, Skip Montanaro [EMAIL PROTECTED] ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] Re: gtk radio button

2002-10-30 Thread Skip Montanaro
. -- Skip Montanaro - [EMAIL PROTECTED] http://www.mojam.com/ http://www.musi-cal.com/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] PyGTK Faq

2002-01-28 Thread Skip Montanaro
wizard is that it's relatively difficult to reorganize things if a section grows too large, so it helps to have a reasonable structure set up before questions start flowing in. Otherwise everything will wind up in one section. (Witness the Python FAQ.) Skip

Re: [pygtk] newbie - basic question

2002-01-27 Thread Skip Montanaro
about the GtkPatternSpec* type, so it doesn't currently wrap that function. The second is available once the widget has a window. If w is a realized widget, w.window.get_root_origin() should work. -- Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com

Re: [pygtk] newbie - basic question

2002-01-27 Thread Skip Montanaro
(Also looks like gtk.override needs updating.) Make that gtk.defs... -- Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com/) ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] Dialogs demo

2002-01-18 Thread Skip Montanaro
', 'PROGRESS_LEFT_TO_RIGHT', 'PROGRESS_RIGHT_TO_LEFT', 'SCROLL_PAGE_RIGHT', 'SCROLL_STEP_RIGHT', 'SIDE_RIGHT', 'STOCK_JUSTIFY_RIGHT', 'TEXT_WINDOW_RIGHT'] -- Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com/) ___ pygtk mailing list [EMAIL

Re: [pygtk] GtkSpinButton question

2002-01-18 Thread Skip Montanaro
, val) w = gtk.Window() w.set_title(port slider) w.connect(destroy, gtk.mainquit) s = PortScale(21, 80) s.set_size_request(150, -1) w.add(s) w.show_all() gtk.mainloop() HTH... -- Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com

Re: [pygtk] Dialogs demo

2002-01-17 Thread Skip Montanaro
'] YMMV... -- Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com/) ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] inserting radio buttons into toolbars?

2002-01-16 Thread Skip Montanaro
a literal GtkWidget, since it's abstract and can't be instantiated. Passing None doesn't work either. What am I supposed to use? I can't find any examples in either PyGtk or Gtk proper that insert radio buttons into toolbars. Thx, Skip ___ pygtk

[pygtk] wrapper for gtk_stock_add

2002-01-10 Thread Skip Montanaro
If case anyone wants to add new stock images to their applications, I submitted a patch last night to add a wrapper for gtk_stock_add to PyGtk. It's at http://bugzilla.gnome.org/show_bug.cgi?id=68363 The appended script demonstrates its use. -- Skip Montanaro ([EMAIL PROTECTED] - http

Re: [pygtk] threading support in development pygtk

2002-01-08 Thread Skip Montanaro
that single lock. I think I'm synchronized now. Thx, Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] threading support in development pygtk

2002-01-08 Thread Skip Montanaro
James would be nice if the python interpreter lock was recursive :) Somebody recently rewrote most of threading.py in C for Windows. It was suggested that he tackle a number of interpreter lock issues, including recursion. Perhaps it won't be that far off. Skip

[pygtk] `GtkDialogFlags' is not an enum type

2002-01-03 Thread Skip Montanaro
new Gtk 1.3 API change? Thx, Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] GtkHtml2 wrapped into PyGtk

2001-11-30 Thread Skip Montanaro
the GtkHtml2 folks or the PyGtk folks. It doesn't matter to me. I placed a copy of my current pygtkhtml2 wrappers at http://www.musi-cal.com/~skip/python/pygtkhtml.tar.gz A simple example that displays the python.org home page is included. A copy of my CVS diffs against the gtkhtml2 repository

Re: [pygtk] Pygtk 1.99 and threading.

2001-11-29 Thread Skip Montanaro
multiple threads (which is no big win as far as I can tell), what does it buy you? -- Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com/) ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] adding wrappers for gtkhtml2

2001-11-28 Thread Skip Montanaro
of Python object. Any suggestions? Thx, Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] adding wrappers for gtkhtml2

2001-11-27 Thread Skip Montanaro
for adding new wrappers to PyGtk2? I believe I have suitable .defs and .override files. I need the rest of the glue. wrapping-other-libraries-was-never-this-hard-ly, y'rs, Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman

Re: [pygtk] Better support for GError**

2001-11-18 Thread Skip Montanaro
Matt I've implemented this a bit differently (sans memory leak, etc) Matt and checked it in. Much appreciated. Skip ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] HTML widgets that work with latest PyGtk?

2001-11-14 Thread Skip Montanaro
Are there any HTML rendering widgets that work with the Gtk 1.3/2.0 API? Any that have been wrapped into PyGtk yet? Actually, as long as I'm thinking about this, are there any third-party widgets that have been wrapped for the latest PyGtk? Thanks, Skip

[pygtk] kwlist mismatches in gtk/gtk.override

2001-11-14 Thread Skip Montanaro
to Py_ArgParse... Only the mismatch between kwlist and the format that Python catches avoids memory corruption. If ..._forward_search is any indication, one of the i format characters should be deleted. Skip ___ pygtk mailing list [EMAIL PROTECTED

Re: [pygtk] pygtk and pygnome documentation

2001-11-13 Thread Skip Montanaro
for x in names if pat.search(x) is not None] You may find this helpful. -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/ http://www.musi-cal.com/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

  1   2   >