label justification in button



Hi,

how can one justify the label of a button ? I tried :

button = gtk_button_new_with("Test");
gtk_label_set_justify(GTK_LABEL(GTK_BIN(button)->child),
GTK_JUSTIFY_LEFT);

but it remains centered. What am I doing wrong ?

-- 
Melvin Hadasht




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]