[pygtk] Gtk.Grid and checkButton

Petr Hracek phracek at redhat.com
Tue Jun 25 19:09:08 WST 2013


Hi Pietro,

Gtk.Alignement is what I am looking for.
CheckButton is allign to the top, text is about 2 pixels lower.

I will test Gtk.CheckButton.new_with_label()

regards
Petr
On 06/25/2013 12:53 PM, Pietro Battiston wrote:
> Hi Petr,
>
> this can certainly be done by nesting each checkbutton in a
> Gtk.Alignment.
>
> That said, are you sure gtk.CheckButton.new_with_label() is not what
> you're looking for?
>
> Pietro
>
>
>
> Il giorno mer, 19/06/2013 alle 10.37 +0200, Petr Hracek ha scritto:
>> Hi folks,
>>
>> I have question regarding Gtk.Grid and Gtk.CheckButton.
>>
>> I have a grid which is like
>> - first column contains checkbuttons
>> - second column contains label with help text for that checkbuttons
>>
>> label are align to the top and left but checkbutton are always centered.
>>
>> Do you have any idea how to align checkbuttons to the top and left?
>>
>> Thank you in advance
>>
>


-- 
Best regards / S pozdravem
Petr Hracek



More information about the pygtk mailing list