Re: PATHBAR written using GTK 3

2012-10-02 Thread Moritz Renftle
Hi Mariano, I asked a similar question some time ago, but I only wanted to achieve the looks of the PathBar-Widget (as used in e.g. GtkFileChooser). If this is what you need, have a look at the docs of GtkStyleContext, you need to add GTK_STYLE_CLASS_LINKED to the context. source of GtkPathBar: h

Howto set up a CSS-Animation for the "packing-process" of a container?

2012-09-18 Thread Moritz Renftle
Hi, I read about GTK's fancy new opportunities concerning CSS-styling and thought I had a use-case for it: My app has a Gtk.Grid with other widgets packed into it. Is it possible to create a CSS-file, which defines an animation for the packing- and removing-process of the Gtk.Grid? More generall

Re: Re: Howto make a Gtk.Buttonbox look like the path bar in Gtk.FileChooserDoalog?

2012-09-03 Thread Moritz Renftle
thanks so much! moritz Am Montag, den 03.09.2012, 22:36 +0200 schrieb Paul Lange: > Hey Moritz, > > have a look at line 211 and 212. That should do the trick! > > regards, > Paul > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org ht

Re: Re: Howto make a Gtk.Buttonbox look like the path bar in Gtk.FileChooserDoalog?

2012-09-03 Thread Moritz Renftle
effort, moritz Am Montag, den 03.09.2012, 19:15 +0200 schrieb Olivier Sessink: > On 09/03/2012 11:57 AM, Moritz Renftle wrote: > > Hi, > > > > I recently noticed the nice appearance of the path bar widget in the > > GtkFileChooserDialog: > > http://imagepaste.nulln

Re: Howto make a Gtk.Buttonbox look like the path bar in Gtk.FileChooserDoalog?

2012-09-03 Thread Moritz Renftle
I made a quick mockup to show you my idea: http://imagepaste.nullnetwork.net/viewimage.php?id=4897 Am Montag, den 03.09.2012, 11:57 +0200 schrieb Moritz Renftle: > Hi, > > I recently noticed the nice appearance of the path bar widget in the > GtkFileChooserDi

Howto make a Gtk.Buttonbox look like the path bar in Gtk.FileChooserDoalog?

2012-09-03 Thread Moritz Renftle
tried to find the source code of the path bar but i failed reading the c-code. Is there a simple way to achieve this or would i have to implement my own widget? Thanks in advance for your help, Moritz Renftle ___ gtk-app-devel-list mailing list gt

Re: Implementing a custom signal with PyGObject

2012-07-07 Thread Moritz Renftle
something that immediately stuck out > in the code, and I'm not sure if it's a problem, is deriving from both > Gtk.Button and GObject.GObject. I don't think this is needed because > GObject is already a parent class of Gtk.Button. > > > -Simon > > O

Implementing a custom signal with PyGObject

2012-07-06 Thread Moritz Renftle
hi! i'm trying to create a custom signal for a file-selection-button, code is here: http://bpaste.net/show/DZwtKCPDBcpCv0g0NQCn/ the problem: when the signal is emitted in the image_selection-method, it doesn't call the connected signal handler, if this handler is not within the same class. but i

Make a Gtk.Switch-widget show an arrow?

2012-02-25 Thread Moritz Renftle
Hi there, i'm developing a software that is able to control the model railroad via gamepad. i use python with pygobject. now i need to find a widget that represents the direction of the train. currently i do this with a Gtk.Button showing a Gtk.Arrow, but this is a bit fuzzy: http://imagepaste.nul

Re: GTK app with scrolled window crashing trying to show a widget inside

2012-01-02 Thread Moritz Renftle
Thank you very much for your immediate response, this resolved my problem! Am Freitag, den 30.12.2011, 10:08 -0700 schrieb Michael Torrie: > On 12/30/2011 05:52 AM, David Nečas wrote: > > On Fri, Dec 30, 2011 at 01:28:32PM +0100, Moritz Renftle wrote: > >> i want to make on

GTK app with scrolled window crashing trying to show a widget inside

2011-12-30 Thread Moritz Renftle
e of those: "BadDrawable", "BadIDChoice", "RenderBadPicture"... I guess that there is a problem with gtk.main() not knowing it has to refresh some areas of the window But I'm pretty desperate here! Any help is very appreciated, Moritz Renftle