Lines Matching defs:Widget

51 type Widget struct {  struct
52 glib.InitiallyUnowned
93 // ToWidget is a helper getter, e.g.: it returns *gtk.Label as a *gtk.Widget.
95 func (v *Widget) ToWidget() *Widget {
110 func (v *Widget) Cast() (IWidget, error) {
133 func (v *Widget) Destroy() {
139 func (v *Widget) HideOnDelete() {
155 func (v *Widget) QueueDrawArea(x, y, w, h int) {
160 func (v *Widget) QueueDrawRegion(region *cairo.Region) {
184 func (v *Widget) GetDisplay() (*gdk.Display, error) {
194 func (v *Widget) GetScreen() (*gdk.Screen, error) {
220 func (v *Widget) DragDestSet(flags DestDefaults, targets []TargetEntry, actions gdk.DragAction) {
225 …t) DragSourceSet(startButtonMask gdk.ModifierType, targets []TargetEntry, actions gdk.DragAction) {
230 func (v *Widget) ResetStyle() {
235 func (v *Widget) InDestruction() bool {
247 func (v *Widget) Unparent() {
252 func (v *Widget) Show() {
257 func (v *Widget) Hide() {
262 func (v *Widget) GetCanFocus() bool {
268 func (v *Widget) SetCanFocus(canFocus bool) {
273 func (v *Widget) GetCanDefault() bool {
279 func (v *Widget) SetCanDefault(canDefault bool) {
284 func (v *Widget) SetMapped(mapped bool) {
289 func (v *Widget) GetMapped() bool {
299 func (v *Widget) InsertActionGroup(name string, group glib.IActionGroup) {
307 func (v *Widget) GetPreferredHeight() (int, int) {
314 func (v *Widget) GetPreferredWidth() (int, int) {
321 func (v *Widget) GetPreferredHeightForWidth(width int) (int, int) {
334 func (v *Widget) GetPreferredWidthForHeight(height int) (int, int) {
347 func (v *Widget) GetRequestMode() SizeRequestMode {
352 func (v *Widget) GetPreferredSize() (*Requisition, *Requisition) {
380 func (v *Widget) GetHAlign() Align {
386 func (v *Widget) SetHAlign(align Align) {
391 func (v *Widget) GetVAlign() Align {
397 func (v *Widget) SetVAlign(align Align) {
402 func (v *Widget) GetMarginTop() int {
408 func (v *Widget) SetMarginTop(margin int) {
413 func (v *Widget) GetMarginBottom() int {
419 func (v *Widget) SetMarginBottom(margin int) {
424 func (v *Widget) GetHExpand() bool {
430 func (v *Widget) SetHExpand(expand bool) {
439 func (v *Widget) GetVExpand() bool {
445 func (v *Widget) SetVExpand(expand bool) {
456 func (v *Widget) GetRealized() bool {
462 func (v *Widget) SetRealized(realized bool) {
467 func (v *Widget) GetHasWindow() bool {
473 func (v *Widget) SetHasWindow(hasWindow bool) {
478 func (v *Widget) ShowNow() {
483 func (v *Widget) ShowAll() {
488 func (v *Widget) SetNoShowAll(noShowAll bool) {
493 func (v *Widget) GetNoShowAll() bool {
499 func (v *Widget) Map() {
504 func (v *Widget) Unmap() {
517 func (v *Widget) Event(event *gdk.Event) bool {
524 func (v *Widget) Activate() bool {
529 func (v *Widget) Intersect(area gdk.Rectangle) (*gdk.Rectangle, bool) {
537 func (v *Widget) IsFocus() bool {
542 func (v *Widget) GrabFocus() {
547 func (v *Widget) GrabDefault() {
552 func (v *Widget) SetName(name string) {
561 func (v *Widget) GetName() (string, error) {
570 func (v *Widget) GetSensitive() bool {
576 func (v *Widget) IsSensitive() bool {
582 func (v *Widget) SetSensitive(sensitive bool) {
587 func (v *Widget) GetVisible() bool {
593 func (v *Widget) SetVisible(visible bool) {
598 func (v *Widget) SetParent(parent IWidget) {
603 func (v *Widget) GetParent() (IWidget, error) {
612 func (v *Widget) SetSizeRequest(width, height int) {
617 func (v *Widget) GetSizeRequest() (width, height int) {
624 func (v *Widget) SetParentWindow(parentWindow *gdk.Window) {
630 func (v *Widget) GetParentWindow() (*gdk.Window, error) {
641 func (v *Widget) SetEvents(events int) {
646 func (v *Widget) GetEvents() int {
651 func (v *Widget) AddEvents(events int) {
675 func (v *Widget) FreezeChildNotify() {
680 func (v *Widget) ThawChildNotify() {
685 func (v *Widget) HasDefault() bool {
691 func (v *Widget) HasFocus() bool {
697 func (v *Widget) HasVisibleFocus() bool {
703 func (v *Widget) HasGrab() bool {
709 func (v *Widget) IsDrawable() bool {
715 func (v *Widget) IsToplevel() bool {
728 func (v *Widget) SetDeviceEnabled(device *gdk.Device, enabled bool) {
734 func (v *Widget) GetDeviceEnabled(device *gdk.Device) bool {
741 func (v *Widget) GetToplevel() (IWidget, error) {
757 func (v *Widget) GetTooltipMarkup() (string, error) {
766 func (v *Widget) SetTooltipMarkup(text string) {
776 func (v *Widget) GetTooltipText() (string, error) {
785 func (v *Widget) SetTooltipText(text string) {
792 func (v *Widget) TranslateCoordinates(dest IWidget, srcX, srcY int) (destX, destY int, e error) {
804 func (v *Widget) SetVisual(visual *gdk.Visual) {
810 func (v *Widget) SetAppPaintable(paintable bool) {
815 func (v *Widget) GetAppPaintable() bool {
821 func (v *Widget) QueueDraw() {
826 func (v *Widget) GetAllocation() *Allocation {
833 func (v *Widget) SetAllocation(allocation *Allocation) {
838 func (v *Widget) SizeAllocate(allocation *Allocation) {
846 func (v *Widget) SetStateFlags(stateFlags StateFlags, clear bool) {
855 func (v *Widget) GetWindow() (*gdk.Window, error) {
951 func (v *Widget) GetAllocatedWidth() int {
956 func (v *Widget) GetAllocatedHeight() int {