Bugzilla – Attachment 329824 Details for
Bug 558900
YaST Gtk Wizard/dialog forgets(?) default button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
testcase
test.ycp (text/plain), 875 bytes, created by
Katarina Machalkova
on 2009-11-27 16:31:55 UTC
(
hide
)
Description:
testcase
Filename:
MIME Type:
Creator:
Katarina Machalkova
Created:
2009-11-27 16:31:55 UTC
Size:
875 bytes
patch
obsolete
>// SetDesktopTitle Example >// >// Set the window title that is shown by the window manager >// Searches for the desktop file and uses its name attribute >// Note: this works in qt and gtk only, ncurses doesn't have a window title > >{ > import "Wizard"; > import "Popup"; > import "Label"; > > Wizard::CreateDialog (); > Wizard::SetContentsButtons ("Default button demo", > `HBox( > `InputField(`id(`search), "Search expression:" ), > `PushButton(`id(`trigger), `opt(`default), "Default button") > ), > "Help", > Label::BackButton(), > Label::NextButton() > ); > > > any ret = nil; > UI::SetFocus(`id(`search)); > > while (ret != `next) { > ret = Wizard::UserInput (); > > if (ret == `trigger) { > Popup::ShowFeedback("foo", "bar"); > sleep(1000); > Popup::ClearFeedback(); > } > > y2milestone("User input: %1", ret); > } > > Wizard::CloseDialog (); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 558900
: 329824