Re: [pygtk] Doc/tutorial on creating custom widgets

2008-04-05 Thread Stephen Fairchild
On Friday 04 April 2008 22:31:26 Mitko Haralanov wrote: Also, I wish I could have the CheckButton be only the check box instead of the check box and the space allocated to the label You can if you make a CheckButton with no label, pack it into a HBox, then pack a gtk.Label alongside with the

Re: [pygtk] Doc/tutorial on creating custom widgets

2008-04-04 Thread Stephen Fairchild
On Thursday 03 April 2008 18:58:03 Mitko Haralanov wrote: I am trying to create a custom widget that is basically a GtkButton but along with the label it also has a checkbutton embedded into the button face. Checkbuttons or any other widget can be embedded into a button face as this small

Re: [pygtk] Doc/tutorial on creating custom widgets

2008-04-04 Thread Mitko Haralanov
On Fri, 4 Apr 2008 11:40:23 +0100 Stephen Fairchild [EMAIL PROTECTED] wrote: Checkbuttons or any other widget can be embedded into a button face as this small piece of code demonstrates. Passing on the button clicks is a bit more involved but in this simple example is not necessary. Thank

[pygtk] Doc/tutorial on creating custom widgets

2008-04-03 Thread Mitko Haralanov
I am trying to create a custom widget that is basically a GtkButton but along with the label it also has a checkbutton embedded into the button face. To that end, I am trying to find some tutorials, docs, examples on how to create custom widget. The only thing that I have been able to find is