Bwidget Source Code
View Ticket
Not logged in
Ticket UUID: 378209fe023935a5308af7e6a345ab945bc36202
Title: Unknown options error for ProgressDlg and PasswdDlg
Type: Bug Version: main
Submitter: oehhar Created on: 2025-02-21 17:29:16
Subsystem: bwidget 1.x Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2025-02-21 17:59:37
Resolution: None Closed By: nobody
    Closed on:
Description:

Reported by private E-Mail:

% ProgressDlg .p
% .p configure
unknown option "-geometry"
% PasswdDlg .d
% .d configure
unknown option "-anchor"

Thanks, Harald

User Comments: oehhar added on 2025-02-21 17:59:37:

To make this work, I have to remove all dialog options from those widgets:

From (passwddlg.tcl, Line 16)

namespace eval PasswdDlg {
    Widget::define PasswdDlg passwddlg Dialog LabelEntry

    Widget::bwinclude PasswdDlg Dialog :cmd \
	    remove     {-image -bitmap -side -default -cancel -separator} \

to

namespace eval PasswdDlg {
    Widget::define PasswdDlg passwddlg Dialog LabelEntry

    Widget::bwinclude PasswdDlg Dialog :cmd \
	    remove     {-image -bitmap -side -default -cancel -separator\
	    -anchor -geometry ....
	    } \

This is IMHO not a solution. There is something else not working.

Any proposal appreciated, Harald