module Menubutton: sig
.. end
The menubutton widget
val create : ?name:string ->
?activebackground:Tk.color ->
?activeforeground:Tk.color ->
?anchor:Tk.anchor ->
?background:Tk.color ->
?bitmap:Tk.bitmap ->
?borderwidth:int ->
?cursor:Tk.cursor ->
?direction:Tk.menubuttonDirection ->
?disabledforeground:Tk.color ->
?font:string ->
?foreground:Tk.color ->
?height:int ->
?highlightbackground:Tk.color ->
?highlightcolor:Tk.color ->
?highlightthickness:int ->
?image:[< Tk.image ] ->
?indicatoron:bool ->
?justify:Tk.justification ->
?menu:Widget.menu Widget.widget ->
?padx:int ->
?pady:int ->
?relief:Tk.relief ->
?state:Tk.state ->
?takefocus:bool ->
?text:string ->
?textvariable:Textvariable.textVariable ->
?textwidth:int ->
?underline:int ->
?width:int ->
?wraplength:int -> 'a Widget.widget -> Widget.menubutton Widget.widget
create ?name parent options...
creates a new widget with
parent parent
and new patch component name
, if specified.
val configure : ?activebackground:Tk.color ->
?activeforeground:Tk.color ->
?anchor:Tk.anchor ->
?background:Tk.color ->
?bitmap:Tk.bitmap ->
?borderwidth:int ->
?cursor:Tk.cursor ->
?direction:Tk.menubuttonDirection ->
?disabledforeground:Tk.color ->
?font:string ->
?foreground:Tk.color ->
?height:int ->
?highlightbackground:Tk.color ->
?highlightcolor:Tk.color ->
?highlightthickness:int ->
?image:[< Tk.image ] ->
?indicatoron:bool ->
?justify:Tk.justification ->
?menu:Widget.menu Widget.widget ->
?padx:int ->
?pady:int ->
?relief:Tk.relief ->
?state:Tk.state ->
?takefocus:bool ->
?text:string ->
?textvariable:Textvariable.textVariable ->
?textwidth:int ->
?underline:int ->
?width:int -> ?wraplength:int -> Widget.menubutton Widget.widget -> unit
val configure_get : Widget.menubutton Widget.widget -> string