Questions tagged [widget]

A widget is an element of a user interface (GUI widget) or a self-contained (usually small) software application (desktop widget). In computing , an application, or a component of an interface, that enables a user to perform a function or access a service.

Filter by
Sorted by
Tagged with
-1
votes
0answers
8 views

Bitcoin index widget

I would like to create a simple price widget with Bitcoin as base Currency and a "Product" as Target instead of Currency ( in that case the average price of Latte around the world: let’s say 3$). It ...
0
votes
1answer
20 views

FLUTTER: How to know if user has quit quit app?

I want to know when a user shutdown my app and I want to call a function before closing it. I heard about widget binding observer but I don't know if it is the right choice. Do you have documentation ...
0
votes
1answer
51 views

index a column of dataframe regarding other columns and

I have provided this data frame, as you see I have 3 index chapter, ParaIndex, (paragraph index) and Sentindex (sententcesindex), I have 70 chapters, 1699 Paragraph, and 6999 sentences so each of ...
-2
votes
0answers
8 views

Busco plugin Wordpress para galería de thumbnails [closed]

He estado intentando hacer una especie de galería de imagenes tipo slider, pero que solo muestre thumbnails y al hacer click me agrande la imagen. No he logrado encontrar nada, espero puedan ayudarme, ...
-1
votes
0answers
13 views

Calling widget onUpdate crashes my application [closed]

I want to call widget onUpdate every time my application starts. I got code from this thread /a/7738636/11755974 (i used second example). It works, i added Log to widget ...
0
votes
1answer
16 views

How to make multiple reusable widgets in flutter in one class?

I know how to make one item-widget in a class and use it throughout app, something like this: import 'package:flutter/material.dart'; class MenuButtons extends StatelessWidget { final String ...
0
votes
1answer
29 views

Tkinter widgets in frame

I have a LabelFrame that has columnspan of 3. I would like the 2 Checkbutton widgets in the frame to be on either side. How can I grid the widgets accordingly? I tried doing sticky='e' and sticky='w'...
0
votes
1answer
15 views

parssing data with flutter stateful widget and using it

I want to use data parsed with if statement before override, how to do that? I tried many way but didn't worked. please help me. import 'package:flutter/material.dart'; class MyButton extends ...
0
votes
0answers
13 views

Android Spinner , set different value onItemselected

I want to set different values to a spinner when an item is selected, I set a list of country namse concatenate by country codes, on item selected event. I want to set only the country code on view, ...
0
votes
1answer
22 views

FLUTTER: How make a blurry text?

I tried to make a blurry text using backdropfilter like this: BackdropFilter( filter: ImageFilter.blur(sigmaX: 5, sigmaY: 5), child: Text('Hello ...
0
votes
0answers
21 views

Flutter Stack with background image and form

I have a screen where the background image is set to fill the whole screen and on top of that, there are input fields. When I click on TextFormField, the keyboard is shown and the background image is ...
0
votes
0answers
19 views

Changing pic after clicking on it. Image overview in ImageUpdateService. Widget

I'm creating a widget which is to be used, among other things, to review several photos. For this purpose I have created a service that will handle the intent. I've managed to add one photo to the ...
0
votes
1answer
23 views

Flutter TextFormField validator

I have a problem, someone knows how to put an error message from validator on an AlertDialog or a pop window with an 'ok' button to dismiss the pop window. This error has return => The return ...
1
vote
1answer
17 views

Kivy module in python

When I was trying to use grid layout, it shows errors when I try to use more widgets but with one widget it shows no errors,I have reviewed the codes many times but i didn't find any solutions,and by ...
1
vote
1answer
20 views

I created widgets but they not load correct after reboot

I create widget from app. But they not load correct after reboot. Actually my problem for example i added three widgets on home screen but sometimes one or two widget is loading but other widget is ...
0
votes
2answers
21 views

Best way to “refresh” a page after a dialog box results in changed sharedpreferences values

My understanding is that in Flutter, the only time the screen will update is when a value it uses is changed with setState(). Here's my general situation: I have a main screen that dynamically ...
1
vote
1answer
23 views

Hybris widget connection through socket id

I'm trying to create a widget that can communicate with another one through sockets. I've followed the documentation from here but I couldn't understand how their example works. I've created the ...
0
votes
1answer
24 views

Python tkinter how can I copy information from a Text widget to a Canvas widget?

To put it simple, i want to write stuff in the text widget and then have it copied onto a canvas widget on the same coordinates (in the code below the Text widget size is the same as the canvas one) ...
2
votes
0answers
24 views

What record is my Odoo widget attached to?

I'm trying to wrap my head around Odoo, specifically its widgets, and it's proving to be quite frustrating because the documentation is so thin. I'm working with a custom widget that's supposed to ...
0
votes
1answer
18 views

Adding keyboard functionalities to button in flutter (custom keyboard with buttons)

I can use TextFormField() widget effectively. But, some of my users may not have the characters in their keyboard that is needed in my application. So, I want to create a button (raised, flat, ...
0
votes
0answers
8 views

Appdynamics - metric in a dashboard (Widgets)

I have a dashboard (Appdynamics) and I am getting some values (average) in the widget, I would like to get this information and calculate the maximum value from the others inside the expression box, ...
1
vote
0answers
16 views

Does not show products with the “Product Category” widget

In my theme, on the WooCommerce archive page, the code to display products: <?php if ( woocommerce_product_loop() ) { /** * Hook: woocommerce_before_shop_loop. * ...
0
votes
1answer
20 views

GTK Widget for volume control bar

I want this kind of volume control bar shown in image. Is there any GtkWidget or separate package i can download and run? I've already searched but didn't found anything. I was thinking about using it ...
0
votes
2answers
33 views

For Kivy in Python, I cannot get color on a canvas layout when I form multiple widgets

So I used a 'for loop' to create multiple rectangular widgets (e.g. box) in a row where I plan to put addition stuff inside. I thought it would be nice for those widget to be spaced and have color in ...
0
votes
1answer
31 views

How to include the ipywidgets interact code in my own function

For example, I define my own function "f": def f(x): return x and I want to make it interactable, so I wrote another function "F": from ipywidgets import interact def F(): interact(f,x=10)...
0
votes
1answer
37 views

Intent.putExtra() dont update its value

I have 3 buttons in my home screen widget. After click i want to launch my activity with some parameter (it depends which button was clicked). The problem is that value is always 0 (it should be 0, 1 ...
0
votes
1answer
65 views

Moving a widget inside a layout C++ QT

I am having trouble moving a widget inside another widget: It may be simple but I just can't get it: My main widget is in a QHBoxlayout My child widget is within the main widget’s layout (the ...
1
vote
0answers
33 views

Flutter how to programmatically call method in custom widget?

I'm new to Flutter and I've hit my first roadblock while trying to make a custom switch. My switch should functionally work the same like the actual Switch from the material library, the only ...
-1
votes
1answer
18 views

Python tkinter Is there a method to close the Text widget after initial declaration?

I have tried text.close() but it gives me an error: from tkinter import * root = Tk() root.config(bg='black') def destroy_text(): text.close() button = Button(root, label='destroy', command=...
0
votes
1answer
31 views

PyQt5 dynamic creation/destruction of widgets

I have an application where upon start up the user is presented with a dialog to chose number of 'objects' required. This then generates necessary objects in the main window using a for loop (i.e. ...
1
vote
0answers
8 views

How to offer a website visitor the control over 1st+3rd party cookies and web analytics

I'm about to finish developing a website that contain lots of widgets, banners and iframes from 3rd party (affiliate marketing) plus at least one 1st-party contact form. Given the craziness of the EU ...
0
votes
0answers
19 views

How to save my python script with widget to html page?

With my first python script, I was able to export my script in html : import pandas as pd import plotly.express as px df = pd.read_csv('xxxx/Test.txt') df.head() fig = px.line(df, x = 'Date', y ='...
0
votes
0answers
7 views

Adobe Sign creating widget from transient document. Attempting to retrieve view for signing returning VIEW_NOT_AVAILABLE

I am implementing functionality to present a document to the end user to sign inside my web application. The documented steps to accomplish this are: Create transientDocument POST - {url}/...
0
votes
0answers
31 views

only static member be accessed in initializers in flutter

I want to try to define below code but when I write it, show me the Error only static member be accessed in initializers, the problem is I can't define it anywhere, the code that I want to define is ...
0
votes
0answers
15 views

How to plot graph from dataset to a Graph Widget in PyQT?

Suppose I have a database and I want to plot a line graph based on one of the variables in that table in a PyQT graph widget. The code I have written for displaying the table in the PyQT GUI is as ...
0
votes
1answer
16 views

Access the widget class from the List of Widgets

I made a list of widgets and i want to access setter in the class DayButton, but when i try days[index]. it doesn't show the setter methods, it treats the output as a general widget but not the ...
0
votes
2answers
25 views

info: This function has a return type of 'Widget', but doesn't end with a return statement

I am trying to work out why I am getting this error when my Streambuilder has returns import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; import 'dart:...
1
vote
2answers
47 views

Custom displayed product prices with thousand separator and decimal separator in WooCommerce

I am using a template which has a widget to show WooCommerce products on my home page… Currently product price is just a number E.g. ₹18500/- without any decimal or comma, I want to show price with ...
3
votes
0answers
48 views

how to draw Japanese candle stick chart in flutter with socket data like Olymp trade app? [closed]

this is what i want to design/develop in flutter this is what i designed/developed in flutter i try, this github repo and customised this repository but not get results like Olymp ...
0
votes
1answer
30 views

Making Widgets Disappear in a Frame

import tkinter as tk from tkinter import * root= Tk() root.title('Select State') framey=Frame(root) d_type = tk.StringVar() d_type.set('1') d1 = Radiobutton(root, variable=d_type, text="Texas", ...
0
votes
0answers
35 views

Gnuplot qt terminal embedded in Pyqt application [closed]

I've made this sort of Scientific Visualization tool with Pyqt (Python with qt widgets as the GUI) and I have this main widget which acts as the terminal of Gnuplot. Currently, it is via the Gnuplot ...
1
vote
1answer
39 views

Flutter convert different types of Image Class

I am new to Flutter. Apparently there are different classes for Image. The one I am working on are: import 'package:image/image.dart'; // Image Class 1 import 'package:flutter/src/widgets/image.dart'...
0
votes
1answer
20 views

How to check if AnimatedContainer is completely animating?

Hy everybody, I try now to get status from Animatedcontainer widget, to set the State after it is finishing, but I cann't find so much info's about this feature in google, only one, this widget has ...
0
votes
1answer
19 views

How to run function when after endDrawer is closed in flutter

I have product list page from which i opened endDrawer which contains cart item. if i remove cart items it does not update the product list page automatically. how to use .then function in endDrawer ...
0
votes
0answers
7 views

Get appWidgetId in RemoveViewsFactory?

Is there a way to get the appWidgetId for the current widget instance being updated within the RemoteViewsFactory? If per-se you invalidated the views for that appWidgetId from the Provider class? I'...
0
votes
1answer
28 views

how to make a calendarView not clickable

I want to make a Calendar View not clickable , I tried to set clickable attribute to false, but it didn't work . and i added a container view then set the clickable attribute to false , but didn't ...
0
votes
0answers
29 views

Cannot find symbol findViewById(int) [duplicate]

In my android Widget i want to dynamically add button. I get code from this question. I got one error using this code: cannot find symbol LinearLayout ll = (LinearLayout)findViewById(R.id....
-1
votes
1answer
34 views

Disable dark mode on widget?

I disabled the dark mode on the whole app through the info.plist but I'm not able to disable it on the Widget target ? Do you know any other solution? Thank you
0
votes
0answers
21 views

Detect home screen rotation with App Widget

I'm trying to work on an app widget and I need to invalidate the RemoteViews when the homescreen is rotated and the layout needs to be reconfigured. I've tried overriding onConfigurationChanged() in ...
0
votes
1answer
30 views

How can I detect if widgets overlap in Stack?

I’m planing to make a simple game in Flutter and in order to do so, I need to detect if some Widgets in Stack overlap(their parts are above each other). Widgets will be moving all the time, so I need ...