On Sat, Jan 14, 2012 at 12:34:10PM +, Neil Munro wrote:
I was wondering if it is possible to remove a tool item from a
toolbar instantly,
=
from gi.repository import Gtk
def modify(b, t):
if t.get_n_items() == 1:
Strange, I don't know why perhaps I had a typo I missed but it's
working now with a simple show/hide:
// Deal with terminal now, since it would just waste cpu cycles
dealing with it in a for loop
if( g_strrstr( sets-terminal, :false ) )
gtk_widget_hide( GTK_WIDGET(
On Fri, Jan 13, 2012 at 10:09:43PM +0100, David Ne??as wrote:
On Fri, Jan 13, 2012 at 11:59:45AM -0800, Gary Kline wrote:
I finally know =where= i want to exit my gtk program, but exit
just doesn't break me out of my while() loop. what's the magin?
exit() *does* terminate the program
I am working with an icon view and am trying to load stock items into
the gdk_pixbuf_new_from_file( ) but it's not working, I assume that is
perhaps because I am using the function wrong, is there a way to do
what I am trying to do?
I am following the tutorial here:
ok, one function runs in a recursive loop, endlessly. i could do this
differently, say from main. that is my question: how do i get the
value 1 or TRUE back from a dialogue that asks simply: Talk again?
i have a slice of code that is a dialog with an OK button.
gary
--
Gary Kline