WoW:API AuctionFrameAuctions duration: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (catfix, Replaced: {{framexml → <br>{{framexml)
mNo edit summary
Line 1: Line 1:
<br>{{framexml}}
{{framexmlmember|AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml}}


== Usage ==
   AuctionFrameAuctions.duration = ''time in minutes''
   AuctionFrameAuctions.duration = ''time in minutes''


 
== Examples ==
   //set the short duration button to be checked and set the time
   //set the short duration button to be checked and set the time
   AuctionsShortAuctionButton:SetChecked(1);
   AuctionsShortAuctionButton:SetChecked(1);

Revision as of 17:05, 22 September 2013

WoW API < AuctionFrameAuctions.duration

"I" iconThis member is implemented by FrameXML in AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml.

Usage

 AuctionFrameAuctions.duration = time in minutes

Examples

 //set the short duration button to be checked and set the time
 AuctionsShortAuctionButton:SetChecked(1);
 AuctionFrameAuctions.duration = 120;
 
 //set the medium duration button to be checked and set the time
 AuctionsMediumAuctionButton:SetChecked(1);
 AuctionFrameAuctions.duration = 480;
 
 //set the long duration button to be checked and set the time
 AuctionsLongAuctionButton:SetChecked(1);
 AuctionFrameAuctions.duration = 1440;