alignment - Unable to shift gtk label up / down after adjusting value -


i want place label directly above progress bar can't shift label up/down changing second value in gtk_misc_set_alignment(gtk_misc(des_label), 0.5, 0.25). i'm able change first value between 0 - 1 shift left / right.

// create new label des_label = gtk_label_new("file download"); gtk_misc_set_alignment(gtk_misc(des_label), 0.5, 0.25); gtk_container_add(gtk_container (vbox), des_label);  // create progress bar file_transfer.progressbar = gtk_progress_bar_new();  gtk_progress_bar_set_show_text(gtk_progress_bar(file_transfer.progressbar), true); gtk_box_pack_start(gtk_box(vbox), file_transfer.progressbar, true, false, 0); gtk_widget_show_all(file_transfer.window) 


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -